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

Side by Side Diff: ash/common/system/web_notification/web_notification_tray.h

Issue 2526333002: ash: Cleanup class/struct forward declarations (Closed)
Patch Set: Rebase Created 4 years 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 ASH_COMMON_SYSTEM_WEB_NOTIFICATION_WEB_NOTIFICATION_TRAY_H_ 5 #ifndef ASH_COMMON_SYSTEM_WEB_NOTIFICATION_WEB_NOTIFICATION_TRAY_H_
6 #define ASH_COMMON_SYSTEM_WEB_NOTIFICATION_WEB_NOTIFICATION_TRAY_H_ 6 #define ASH_COMMON_SYSTEM_WEB_NOTIFICATION_WEB_NOTIFICATION_TRAY_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "ash/ash_export.h" 10 #include "ash/ash_export.h"
11 #include "ash/common/login_status.h" 11 #include "ash/common/login_status.h"
12 #include "ash/common/system/tray/tray_background_view.h" 12 #include "ash/common/system/tray/tray_background_view.h"
13 #include "base/gtest_prod_util.h" 13 #include "base/gtest_prod_util.h"
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 "ui/base/models/simple_menu_model.h" 16 #include "ui/base/models/simple_menu_model.h"
17 #include "ui/gfx/animation/animation_container.h" 17 #include "ui/gfx/animation/animation_container.h"
18 #include "ui/message_center/message_center_tray.h" 18 #include "ui/message_center/message_center_tray.h"
19 #include "ui/message_center/message_center_tray_delegate.h" 19 #include "ui/message_center/message_center_tray_delegate.h"
20 #include "ui/views/bubble/tray_bubble_view.h" 20 #include "ui/views/bubble/tray_bubble_view.h"
21 21
22 // Status area tray for showing browser and app notifications. This hosts 22 // Status area tray for showing browser and app notifications. This hosts
23 // a MessageCenter class which manages the notification list. This class 23 // a MessageCenter class which manages the notification list. This class
24 // contains the Ash specific tray implementation. 24 // contains the Ash specific tray implementation.
25 // 25 //
26 // Note: These are not related to system notifications (i.e NotificationView 26 // Note: These are not related to system notifications (i.e NotificationView
27 // generated by SystemTrayItem). Visibility of one notification type or other 27 // generated by SystemTrayItem). Visibility of one notification type or other
28 // is controlled by StatusAreaWidget. 28 // is controlled by StatusAreaWidget.
29 29
30 namespace views {
31 class MenuRunner;
32 }
33
34 namespace message_center { 30 namespace message_center {
35 class MessageBubbleBase;
36 class MessageCenter; 31 class MessageCenter;
37 class MessageCenterBubble; 32 class MessageCenterBubble;
38 class MessagePopupCollection; 33 class MessagePopupCollection;
39 } 34 }
40 35
41 namespace ash { 36 namespace ash {
42 class AshPopupAlignmentDelegate; 37 class AshPopupAlignmentDelegate;
43 class SystemTray; 38 class SystemTray;
44 class WebNotificationBubbleWrapper; 39 class WebNotificationBubbleWrapper;
45 class WebNotificationButton;
46 class WebNotificationImage; 40 class WebNotificationImage;
47 class WebNotificationLabel; 41 class WebNotificationLabel;
48 class WmWindow; 42 class WmWindow;
49 43
50 class ASH_EXPORT WebNotificationTray 44 class ASH_EXPORT WebNotificationTray
51 : public TrayBackgroundView, 45 : public TrayBackgroundView,
52 public views::TrayBubbleView::Delegate, 46 public views::TrayBubbleView::Delegate,
53 public message_center::MessageCenterTrayDelegate, 47 public message_center::MessageCenterTrayDelegate,
54 public base::SupportsWeakPtr<WebNotificationTray>, 48 public base::SupportsWeakPtr<WebNotificationTray>,
55 public ui::SimpleMenuModel::Delegate { 49 public ui::SimpleMenuModel::Delegate {
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
190 bool should_block_shelf_auto_hide_; 184 bool should_block_shelf_auto_hide_;
191 185
192 std::unique_ptr<AshPopupAlignmentDelegate> popup_alignment_delegate_; 186 std::unique_ptr<AshPopupAlignmentDelegate> popup_alignment_delegate_;
193 187
194 DISALLOW_COPY_AND_ASSIGN(WebNotificationTray); 188 DISALLOW_COPY_AND_ASSIGN(WebNotificationTray);
195 }; 189 };
196 190
197 } // namespace ash 191 } // namespace ash
198 192
199 #endif // ASH_COMMON_SYSTEM_WEB_NOTIFICATION_WEB_NOTIFICATION_TRAY_H_ 193 #endif // ASH_COMMON_SYSTEM_WEB_NOTIFICATION_WEB_NOTIFICATION_TRAY_H_
OLDNEW
« no previous file with comments | « ash/common/system/web_notification/ash_popup_alignment_delegate.h ('k') | ash/common/wm/drag_details.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698