summaryrefslogtreecommitdiffstats
path: root/ui/message_center/base_format_view.h
blob: 131521a13fc63d927168ae2796e329d0c16ac746 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
// 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_