summaryrefslogtreecommitdiffstats
path: root/ui/message_center/message_simple_view.h
blob: 9a553f6124723b9a7f92d35e7a44c5a7f4770935 (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
// 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_MESSAGE_SIMPLE_VIEW_H_
#define UI_MESSAGE_CENTER_MESSAGE_SIMPLE_VIEW_H_

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

namespace message_center {

// A simple view for a notification entry (icon + message + buttons).
class MessageSimpleView : public MessageView {
 public:
  MessageSimpleView(NotificationList::Delegate* list_delegate,
                    const NotificationList::Notification& notification);
  virtual ~MessageSimpleView();

  // MessageView
  virtual void SetUpView() OVERRIDE;

 protected:
  MessageSimpleView();

  DISALLOW_COPY_AND_ASSIGN(MessageSimpleView);
};

}  // namespace message_center

#endif // UI_MESSAGE_CENTER_MESSAGE_SIMPLE_VIEW_H_