OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 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_BUTTON_BAR_H_ | 5 #ifndef UI_MESSAGE_CENTER_VIEWS_MESSAGE_CENTER_BUTTON_BAR_H_ |
6 #define UI_MESSAGE_CENTER_VIEWS_MESSAGE_CENTER_BUTTON_BAR_H_ | 6 #define UI_MESSAGE_CENTER_VIEWS_MESSAGE_CENTER_BUTTON_BAR_H_ |
7 | 7 |
8 #include "base/macros.h" | 8 #include "base/macros.h" |
9 #include "build/build_config.h" | 9 #include "build/build_config.h" |
10 #include "ui/message_center/message_center_export.h" | 10 #include "ui/message_center/message_center_export.h" |
11 #include "ui/views/controls/button/button.h" | 11 #include "ui/views/controls/button/button.h" |
12 #include "ui/views/controls/button/image_button.h" | 12 #include "ui/views/controls/button/image_button.h" |
13 #include "ui/views/view.h" | 13 #include "ui/views/view.h" |
14 | 14 |
15 namespace views { | 15 namespace views { |
16 class Label; | 16 class Label; |
17 } | 17 } |
18 | 18 |
19 namespace message_center { | 19 namespace message_center { |
20 | 20 |
21 class ButtonBarSettingsLabel; | |
22 class MessageCenter; | 21 class MessageCenter; |
23 class MessageCenterTray; | |
24 class MessageCenterView; | 22 class MessageCenterView; |
25 class NotificationCenterButton; | 23 class NotificationCenterButton; |
26 class NotifierSettingsProvider; | 24 class NotifierSettingsProvider; |
27 | 25 |
28 // MessageCenterButtonBar is the class that shows the content outside the main | 26 // MessageCenterButtonBar is the class that shows the content outside the main |
29 // notification area - the label (or NotifierGroup switcher) and the buttons. | 27 // notification area - the label (or NotifierGroup switcher) and the buttons. |
30 class MessageCenterButtonBar : public views::View, | 28 class MessageCenterButtonBar : public views::View, |
31 public views::ButtonListener { | 29 public views::ButtonListener { |
32 public: | 30 public: |
33 MessageCenterButtonBar(MessageCenterView* message_center_view, | 31 MessageCenterButtonBar(MessageCenterView* message_center_view, |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
87 NotificationCenterButton* close_all_button_; | 85 NotificationCenterButton* close_all_button_; |
88 NotificationCenterButton* settings_button_; | 86 NotificationCenterButton* settings_button_; |
89 NotificationCenterButton* quiet_mode_button_; | 87 NotificationCenterButton* quiet_mode_button_; |
90 | 88 |
91 DISALLOW_COPY_AND_ASSIGN(MessageCenterButtonBar); | 89 DISALLOW_COPY_AND_ASSIGN(MessageCenterButtonBar); |
92 }; | 90 }; |
93 | 91 |
94 } // namespace message_center | 92 } // namespace message_center |
95 | 93 |
96 #endif // UI_MESSAGE_CENTER_VIEWS_MESSAGE_CENTER_BUTTON_BAR_H_ | 94 #endif // UI_MESSAGE_CENTER_VIEWS_MESSAGE_CENTER_BUTTON_BAR_H_ |
OLD | NEW |