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

Side by Side Diff: ui/message_center/message_center_impl.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.h ('k') | ui/message_center/message_center_tray.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_IMPL_H_ 5 #ifndef UI_MESSAGE_CENTER_MESSAGE_CENTER_IMPL_H_
6 #define UI_MESSAGE_CENTER_MESSAGE_CENTER_IMPL_H_ 6 #define UI_MESSAGE_CENTER_MESSAGE_CENTER_IMPL_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include <memory> 10 #include <memory>
11 #include <string> 11 #include <string>
12 #include <vector> 12 #include <vector>
13 13
14 #include "base/macros.h" 14 #include "base/macros.h"
15 #include "base/memory/weak_ptr.h" 15 #include "base/memory/weak_ptr.h"
16 #include "base/time/time.h" 16 #include "base/time/time.h"
17 #include "base/timer/timer.h" 17 #include "base/timer/timer.h"
18 #include "ui/message_center/message_center.h" 18 #include "ui/message_center/message_center.h"
19 #include "ui/message_center/message_center_observer.h" 19 #include "ui/message_center/message_center_observer.h"
20 #include "ui/message_center/message_center_types.h" 20 #include "ui/message_center/message_center_types.h"
21 #include "ui/message_center/notification_blocker.h" 21 #include "ui/message_center/notification_blocker.h"
22 #include "ui/message_center/notifier_settings.h" 22 #include "ui/message_center/notifier_settings.h"
23 #include "ui/message_center/popup_timers_controller.h" 23 #include "ui/message_center/popup_timers_controller.h"
24 24
25 namespace message_center { 25 namespace message_center {
26 class NotificationDelegate;
27 class MessageCenterImpl; 26 class MessageCenterImpl;
28 27
29 namespace internal { 28 namespace internal {
30 class ChangeQueue; 29 class ChangeQueue;
31 } 30 }
32 31
33 // The default implementation of MessageCenter. 32 // The default implementation of MessageCenter.
34 class MessageCenterImpl : public MessageCenter, 33 class MessageCenterImpl : public MessageCenter,
35 public NotificationBlocker::Observer, 34 public NotificationBlocker::Observer,
36 public message_center::NotifierSettingsObserver { 35 public message_center::NotifierSettingsObserver {
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 // Queue for the notifications to delay the addition/updates when the message 133 // Queue for the notifications to delay the addition/updates when the message
135 // center is visible. 134 // center is visible.
136 std::unique_ptr<internal::ChangeQueue> notification_queue_; 135 std::unique_ptr<internal::ChangeQueue> notification_queue_;
137 136
138 DISALLOW_COPY_AND_ASSIGN(MessageCenterImpl); 137 DISALLOW_COPY_AND_ASSIGN(MessageCenterImpl);
139 }; 138 };
140 139
141 } // namespace message_center 140 } // namespace message_center
142 141
143 #endif // UI_MESSAGE_CENTER_MESSAGE_CENTER_H_ 142 #endif // UI_MESSAGE_CENTER_MESSAGE_CENTER_H_
OLDNEW
« no previous file with comments | « ui/message_center/message_center.h ('k') | ui/message_center/message_center_tray.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698