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

Unified Diff: ash/system/chromeos/session/logout_button_tray.h

Issue 2103603002: mash: Remove StatusAreaWidget references from system tray classes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: tweak 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
Index: ash/system/chromeos/session/logout_button_tray.h
diff --git a/ash/system/chromeos/session/logout_button_tray.h b/ash/system/chromeos/session/logout_button_tray.h
index 29fcb74343fe7f57815a258c60bc4994627a420e..fb2bc8959a172ca07708b9863c0970f32e0350c7 100644
--- a/ash/system/chromeos/session/logout_button_tray.h
+++ b/ash/system/chromeos/session/logout_button_tray.h
@@ -9,7 +9,6 @@
#include "ash/common/login_status.h"
#include "ash/common/system/chromeos/session/logout_button_observer.h"
#include "ash/common/system/tray/tray_background_view.h"
-#include "base/compiler_specific.h"
#include "base/macros.h"
#include "base/time/time.h"
#include "ui/views/controls/button/button.h"
@@ -20,7 +19,7 @@ class LabelButton;
namespace ash {
-class StatusAreaWidget;
+class WmShelf;
msw 2016/06/27 23:57:36 optional nit: rely on tray_background_view.h forwa
James Cook 2016/06/28 00:47:25 Done.
// Adds a logout button to the launcher's status area if enabled by the
// kShowLogoutButtonInTray pref.
@@ -28,7 +27,7 @@ class ASH_EXPORT LogoutButtonTray : public TrayBackgroundView,
public LogoutButtonObserver,
public views::ButtonListener {
public:
- explicit LogoutButtonTray(StatusAreaWidget* status_area_widget);
+ explicit LogoutButtonTray(WmShelf* wm_shelf);
~LogoutButtonTray() override;
// TrayBackgroundView:

Powered by Google App Engine
This is Rietveld 408576698