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

Side by Side Diff: ash/system/status_area_widget.h

Issue 1949823002: WIP: Eliminate event.target() usage from TrayEventFilter (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: container delegate Created 4 years, 7 months 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 | « ash/shell_delegate.h ('k') | ash/system/status_area_widget.cc » ('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) 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_SYSTEM_STATUS_AREA_WIDGET_H_ 5 #ifndef ASH_SYSTEM_STATUS_AREA_WIDGET_H_
6 #define ASH_SYSTEM_STATUS_AREA_WIDGET_H_ 6 #define ASH_SYSTEM_STATUS_AREA_WIDGET_H_
7 7
8 #include "ash/ash_export.h" 8 #include "ash/ash_export.h"
9 #include "ash/shelf/shelf_types.h" 9 #include "ash/shelf/shelf_types.h"
10 #include "ash/system/user/login_status.h" 10 #include "ash/system/user/login_status.h"
11 #include "base/macros.h" 11 #include "base/macros.h"
12 #include "ui/views/widget/widget.h" 12 #include "ui/views/widget/widget.h"
13 13
14 namespace ash { 14 namespace ash {
15 class OverviewButtonTray; 15 class OverviewButtonTray;
16 class ShelfWidget; 16 class ShelfWidget;
17 class ShellDelegate; 17 class ShellDelegate;
18 class StatusAreaWidgetDelegate; 18 class StatusAreaWidgetDelegate;
19 class SystemTray; 19 class SystemTray;
20 class WebNotificationTray; 20 class WebNotificationTray;
21 #if defined(OS_CHROMEOS) 21 #if defined(OS_CHROMEOS)
22 class LogoutButtonTray; 22 class LogoutButtonTray;
23 class VirtualKeyboardTray; 23 class VirtualKeyboardTray;
24 #endif 24 #endif
25 25
26 class ASH_EXPORT StatusAreaWidget : public views::Widget { 26 class ASH_EXPORT StatusAreaWidget : public views::Widget {
27 public: 27 public:
28 static const char kNativeViewName[];
29
30 StatusAreaWidget(aura::Window* status_container, ShelfWidget* shelf_widget); 28 StatusAreaWidget(aura::Window* status_container, ShelfWidget* shelf_widget);
31 ~StatusAreaWidget() override; 29 ~StatusAreaWidget() override;
32 30
33 // Creates the SystemTray, WebNotificationTray and LogoutButtonTray. 31 // Creates the SystemTray, WebNotificationTray and LogoutButtonTray.
34 void CreateTrayViews(); 32 void CreateTrayViews();
35 33
36 // Destroys the system tray and web notification tray. Called before 34 // Destroys the system tray and web notification tray. Called before
37 // tearing down the windows to avoid shutdown ordering issues. 35 // tearing down the windows to avoid shutdown ordering issues.
38 void Shutdown(); 36 void Shutdown();
39 37
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 user::LoginStatus login_status_; 96 user::LoginStatus login_status_;
99 97
100 ShelfWidget* shelf_widget_; 98 ShelfWidget* shelf_widget_;
101 99
102 DISALLOW_COPY_AND_ASSIGN(StatusAreaWidget); 100 DISALLOW_COPY_AND_ASSIGN(StatusAreaWidget);
103 }; 101 };
104 102
105 } // namespace ash 103 } // namespace ash
106 104
107 #endif // ASH_SYSTEM_STATUS_AREA_WIDGET_H_ 105 #endif // ASH_SYSTEM_STATUS_AREA_WIDGET_H_
OLDNEW
« no previous file with comments | « ash/shell_delegate.h ('k') | ash/system/status_area_widget.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698