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

Unified Diff: ash/system/status_area_widget.h

Issue 2072023003: mash: Break ash system tray dependencies on ash::ShelfWidget (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/system/overview/overview_button_tray_unittest.cc ('k') | ash/system/status_area_widget.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/status_area_widget.h
diff --git a/ash/system/status_area_widget.h b/ash/system/status_area_widget.h
index cb492418b03d000744461df5325ee52befdf62b7..2885354b0d1372ec5dcee308205d323f5869eea5 100644
--- a/ash/system/status_area_widget.h
+++ b/ash/system/status_area_widget.h
@@ -6,18 +6,18 @@
#define ASH_SYSTEM_STATUS_AREA_WIDGET_H_
#include "ash/ash_export.h"
+#include "ash/common/login_status.h"
#include "ash/common/shelf/shelf_types.h"
-#include "ash/system/user/login_status.h"
#include "base/macros.h"
#include "ui/views/widget/widget.h"
namespace ash {
class OverviewButtonTray;
-class ShelfWidget;
class ShellDelegate;
class StatusAreaWidgetDelegate;
class SystemTray;
class WebNotificationTray;
+class WmShelf;
class WmWindow;
#if defined(OS_CHROMEOS)
class LogoutButtonTray;
@@ -26,7 +26,7 @@ class VirtualKeyboardTray;
class ASH_EXPORT StatusAreaWidget : public views::Widget {
public:
- StatusAreaWidget(WmWindow* status_container, ShelfWidget* shelf_widget);
+ StatusAreaWidget(WmWindow* status_container, WmShelf* wm_shelf);
~StatusAreaWidget() override;
// Creates the SystemTray, WebNotificationTray and LogoutButtonTray.
@@ -57,7 +57,7 @@ class ASH_EXPORT StatusAreaWidget : public views::Widget {
OverviewButtonTray* overview_button_tray() {
return overview_button_tray_;
}
- ShelfWidget* shelf_widget() { return shelf_widget_; }
+ WmShelf* wm_shelf() { return wm_shelf_; }
LoginStatus login_status() const { return login_status_; }
@@ -98,7 +98,7 @@ class ASH_EXPORT StatusAreaWidget : public views::Widget {
#endif
LoginStatus login_status_;
- ShelfWidget* shelf_widget_;
+ WmShelf* wm_shelf_;
DISALLOW_COPY_AND_ASSIGN(StatusAreaWidget);
};
« no previous file with comments | « ash/system/overview/overview_button_tray_unittest.cc ('k') | ash/system/status_area_widget.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698