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

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

Issue 2036353002: mash: Move ash/common/wm/shelf to ash/common/shelf (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: gyp Created 4 years, 6 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
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/common/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;
(...skipping 12 matching lines...) Expand all
32 ~StatusAreaWidget() override; 32 ~StatusAreaWidget() override;
33 33
34 // Creates the SystemTray, WebNotificationTray and LogoutButtonTray. 34 // Creates the SystemTray, WebNotificationTray and LogoutButtonTray.
35 void CreateTrayViews(); 35 void CreateTrayViews();
36 36
37 // Destroys the system tray and web notification tray. Called before 37 // Destroys the system tray and web notification tray. Called before
38 // tearing down the windows to avoid shutdown ordering issues. 38 // tearing down the windows to avoid shutdown ordering issues.
39 void Shutdown(); 39 void Shutdown();
40 40
41 // Update the alignment of the widget and tray views. 41 // Update the alignment of the widget and tray views.
42 void SetShelfAlignment(wm::ShelfAlignment alignment); 42 void SetShelfAlignment(ShelfAlignment alignment);
43 43
44 // Set the visibility of system notifications. 44 // Set the visibility of system notifications.
45 void SetHideSystemNotifications(bool hide); 45 void SetHideSystemNotifications(bool hide);
46 46
47 // Called by the client when the login status changes. Caches login_status 47 // Called by the client when the login status changes. Caches login_status
48 // and calls UpdateAfterLoginStatusChange for the system tray and the web 48 // and calls UpdateAfterLoginStatusChange for the system tray and the web
49 // notification tray. 49 // notification tray.
50 void UpdateAfterLoginStatusChange(user::LoginStatus login_status); 50 void UpdateAfterLoginStatusChange(user::LoginStatus login_status);
51 51
52 StatusAreaWidgetDelegate* status_area_widget_delegate() { 52 StatusAreaWidgetDelegate* status_area_widget_delegate() {
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 user::LoginStatus login_status_; 101 user::LoginStatus login_status_;
102 102
103 ShelfWidget* shelf_widget_; 103 ShelfWidget* shelf_widget_;
104 104
105 DISALLOW_COPY_AND_ASSIGN(StatusAreaWidget); 105 DISALLOW_COPY_AND_ASSIGN(StatusAreaWidget);
106 }; 106 };
107 107
108 } // namespace ash 108 } // namespace ash
109 109
110 #endif // ASH_SYSTEM_STATUS_AREA_WIDGET_H_ 110 #endif // ASH_SYSTEM_STATUS_AREA_WIDGET_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698