OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef UI_MESSAGE_CENTER_VIEWS_MESSAGE_CENTER_VIEW_H_ | 5 #ifndef UI_MESSAGE_CENTER_VIEWS_MESSAGE_CENTER_VIEW_H_ |
6 #define UI_MESSAGE_CENTER_VIEWS_MESSAGE_CENTER_VIEW_H_ | 6 #define UI_MESSAGE_CENTER_VIEWS_MESSAGE_CENTER_VIEW_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 | 9 |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
(...skipping 10 matching lines...) Expand all Loading... |
21 } // namespace gfx | 21 } // namespace gfx |
22 | 22 |
23 namespace message_center { | 23 namespace message_center { |
24 | 24 |
25 class MessageCenter; | 25 class MessageCenter; |
26 class MessageCenterButtonBar; | 26 class MessageCenterButtonBar; |
27 class MessageCenterTray; | 27 class MessageCenterTray; |
28 class MessageView; | 28 class MessageView; |
29 class MessageViewContextMenuController; | 29 class MessageViewContextMenuController; |
30 class MessageListView; | 30 class MessageListView; |
31 class NotificationView; | |
32 class NotifierSettingsView; | 31 class NotifierSettingsView; |
33 | 32 |
34 // Container for all the top-level views in the notification center, such as the | 33 // Container for all the top-level views in the notification center, such as the |
35 // button bar, settings view, scrol view, and message list view. Acts as a | 34 // button bar, settings view, scrol view, and message list view. Acts as a |
36 // controller for the message list view, passing data back and forth to message | 35 // controller for the message list view, passing data back and forth to message |
37 // center. | 36 // center. |
38 class MESSAGE_CENTER_EXPORT MessageCenterView : public views::View, | 37 class MESSAGE_CENTER_EXPORT MessageCenterView : public views::View, |
39 public MessageCenterObserver, | 38 public MessageCenterObserver, |
40 public MessageCenterController, | 39 public MessageCenterController, |
41 public gfx::AnimationDelegate { | 40 public gfx::AnimationDelegate { |
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
146 Mode mode_ = Mode::BUTTONS_ONLY; | 145 Mode mode_ = Mode::BUTTONS_ONLY; |
147 | 146 |
148 std::unique_ptr<MessageViewContextMenuController> context_menu_controller_; | 147 std::unique_ptr<MessageViewContextMenuController> context_menu_controller_; |
149 | 148 |
150 DISALLOW_COPY_AND_ASSIGN(MessageCenterView); | 149 DISALLOW_COPY_AND_ASSIGN(MessageCenterView); |
151 }; | 150 }; |
152 | 151 |
153 } // namespace message_center | 152 } // namespace message_center |
154 | 153 |
155 #endif // UI_MESSAGE_CENTER_VIEWS_MESSAGE_CENTER_VIEW_H_ | 154 #endif // UI_MESSAGE_CENTER_VIEWS_MESSAGE_CENTER_VIEW_H_ |
OLD | NEW |