Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(394)

Side by Side Diff: ui/message_center/message_center_tray.h

Issue 2484863005: ui: Cleanup class/struct forward declarations (Closed)
Patch Set: Fix another conflict Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ui/message_center/message_center_impl.h ('k') | ui/message_center/notification_list.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_MESSAGE_CENTER_TRAY_H_ 5 #ifndef UI_MESSAGE_CENTER_MESSAGE_CENTER_TRAY_H_
6 #define UI_MESSAGE_CENTER_MESSAGE_CENTER_TRAY_H_ 6 #define UI_MESSAGE_CENTER_MESSAGE_CENTER_TRAY_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "base/observer_list.h" 9 #include "base/observer_list.h"
10 #include "base/strings/string16.h" 10 #include "base/strings/string16.h"
11 #include "ui/message_center/message_center_export.h" 11 #include "ui/message_center/message_center_export.h"
12 #include "ui/message_center/message_center_observer.h" 12 #include "ui/message_center/message_center_observer.h"
13 #include "ui/message_center/message_center_tray_delegate.h" 13 #include "ui/message_center/message_center_tray_delegate.h"
14 #include "ui/message_center/notifier_settings.h" 14 #include "ui/message_center/notifier_settings.h"
15 15
16 namespace ui { 16 namespace ui {
17 class MenuModel; 17 class MenuModel;
18 } 18 }
19 19
20 namespace message_center { 20 namespace message_center {
21 21
22 class MessageCenter; 22 class MessageCenter;
23 class MessageBubbleBase;
24 class MessagePopupBubble;
25 class QuietModeBubble;
26 23
27 // Implementation found with each supported platform's implementation of 24 // Implementation found with each supported platform's implementation of
28 // MessageCenterTrayDelegate. 25 // MessageCenterTrayDelegate.
29 MessageCenterTrayDelegate* CreateMessageCenterTray(); 26 MessageCenterTrayDelegate* CreateMessageCenterTray();
30 27
31 // Class that observes a MessageCenter. Manages the popup and message center 28 // Class that observes a MessageCenter. Manages the popup and message center
32 // bubbles. Tells the MessageCenterTrayHost when the tray is changed, as well 29 // bubbles. Tells the MessageCenterTrayHost when the tray is changed, as well
33 // as when bubbles are shown and hidden. 30 // as when bubbles are shown and hidden.
34 class MESSAGE_CENTER_EXPORT MessageCenterTray : public MessageCenterObserver { 31 class MESSAGE_CENTER_EXPORT MessageCenterTray : public MessageCenterObserver {
35 public: 32 public:
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 bool popups_visible_; 94 bool popups_visible_;
98 // |delegate_| is a weak pointer that must live longer than MessageCenterTray. 95 // |delegate_| is a weak pointer that must live longer than MessageCenterTray.
99 MessageCenterTrayDelegate* delegate_; 96 MessageCenterTrayDelegate* delegate_;
100 97
101 DISALLOW_COPY_AND_ASSIGN(MessageCenterTray); 98 DISALLOW_COPY_AND_ASSIGN(MessageCenterTray);
102 }; 99 };
103 100
104 } // namespace message_center 101 } // namespace message_center
105 102
106 #endif // UI_MESSAGE_CENTER_MESSAGE_CENTER_TRAY_H_ 103 #endif // UI_MESSAGE_CENTER_MESSAGE_CENTER_TRAY_H_
OLDNEW
« no previous file with comments | « ui/message_center/message_center_impl.h ('k') | ui/message_center/notification_list.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698