// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef UI_MESSAGE_CENTER_BASE_FORMAT_VIEW_H_
#define UI_MESSAGE_CENTER_BASE_FORMAT_VIEW_H_

#include "ui/message_center/message_view.h"
#include "ui/message_center/notification_list.h"

namespace views {
class ImageView;
}

namespace message_center {

// A comprehensive message view.
class BaseFormatView : public MessageView {
 public:
  BaseFormatView(NotificationList::Delegate* list_delegate,
                 const NotificationList::Notification& notification);
  virtual ~BaseFormatView();

  // MessageView
  virtual void SetUpView() OVERRIDE;

  // views::ButtonListener
  virtual void ButtonPressed(views::Button* sender, const ui::Event& event);

 protected:
  BaseFormatView();

  DISALLOW_COPY_AND_ASSIGN(BaseFormatView);
};

}  // namespace message_center

#endif // UI_MESSAGE_CENTER_BASE_FORMAT_VIEW_H_

// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef UI_MESSAGE_CENTER_BASE_FORMAT_VIEW_H_
#define UI_MESSAGE_CENTER_BASE_FORMAT_VIEW_H_

#include "ui/message_center/message_view.h"
#include "ui/message_center/notification_list.h"

namespace views {
class ImageView;
}

namespace message_center {

// A comprehensive message view.
class BaseFormatView : public MessageView {
 public:
  BaseFormatView(NotificationList::Delegate* list_delegate,
                 const NotificationList::Notification& notification);
  virtual ~BaseFormatView();

  // MessageView
  virtual void SetUpView() OVERRIDE;

  // views::ButtonListener
  virtual void ButtonPressed(views::Button* sender,
                             const ui::Event& event) OVERRIDE;

 protected:
  BaseFormatView();

  DISALLOW_COPY_AND_ASSIGN(BaseFormatView);
};

}  // namespace message_center

#endif  // UI_MESSAGE_CENTER_BASE_FORMAT_VIEW_H_

Add a missing override from r167851. Hopefully this unbreaks the CrOS Clang build.
Add a missing override from r167851. Hopefully this unbreaks the CrOS Clang build.

TBR=miket

git-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@167854 0039d316-1c4b-4281-b951-d872f2087c98
