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

Side by Side Diff: ash/common/system/tray/tray_bubble_wrapper.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_TRAY_TRAY_BUBBLE_WRAPPER_H_ 5 #ifndef ASH_COMMON_SYSTEM_TRAY_TRAY_BUBBLE_WRAPPER_H_
6 #define ASH_COMMON_SYSTEM_TRAY_TRAY_BUBBLE_WRAPPER_H_ 6 #define ASH_COMMON_SYSTEM_TRAY_TRAY_BUBBLE_WRAPPER_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "ui/views/widget/widget_observer.h" 9 #include "ui/views/widget/widget_observer.h"
10 10
11 namespace views { 11 namespace views {
12 class TrayBubbleView; 12 class TrayBubbleView;
13 } 13 }
14 14
15 namespace ash { 15 namespace ash {
16 class TrayBackgroundView; 16 class TrayBackgroundView;
17 class TrayEventFilter;
18 17
19 // Creates and manages the Widget and EventFilter components of a bubble. 18 // Creates and manages the Widget and EventFilter components of a bubble.
20 19
21 class TrayBubbleWrapper : public views::WidgetObserver { 20 class TrayBubbleWrapper : public views::WidgetObserver {
22 public: 21 public:
23 TrayBubbleWrapper(TrayBackgroundView* tray, 22 TrayBubbleWrapper(TrayBackgroundView* tray,
24 views::TrayBubbleView* bubble_view); 23 views::TrayBubbleView* bubble_view);
25 ~TrayBubbleWrapper() override; 24 ~TrayBubbleWrapper() override;
26 25
27 // views::WidgetObserver overrides: 26 // views::WidgetObserver overrides:
(...skipping 12 matching lines...) Expand all
40 TrayBackgroundView* tray_; 39 TrayBackgroundView* tray_;
41 views::TrayBubbleView* bubble_view_; // unowned 40 views::TrayBubbleView* bubble_view_; // unowned
42 views::Widget* bubble_widget_; 41 views::Widget* bubble_widget_;
43 42
44 DISALLOW_COPY_AND_ASSIGN(TrayBubbleWrapper); 43 DISALLOW_COPY_AND_ASSIGN(TrayBubbleWrapper);
45 }; 44 };
46 45
47 } // namespace ash 46 } // namespace ash
48 47
49 #endif // ASH_COMMON_SYSTEM_TRAY_TRAY_BUBBLE_WRAPPER_H_ 48 #endif // ASH_COMMON_SYSTEM_TRAY_TRAY_BUBBLE_WRAPPER_H_
OLDNEW
« no previous file with comments | « ash/common/system/tray/tray_background_view.h ('k') | ash/common/system/tray/tray_details_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698