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

Unified Diff: ash/common/system/date/tray_date.cc

Issue 2775973002: Promotes more accessors from WmShell to Shell (Closed)
Patch Set: feedback Created 3 years, 9 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/common/system/date/date_default_view.cc ('k') | ash/common/system/date/tray_system_info.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/system/date/tray_date.cc
diff --git a/ash/common/system/date/tray_date.cc b/ash/common/system/date/tray_date.cc
index 2ba6d6d2a4f79ef8e9674a8d542e05f63949ea00..75bcceecf82f13c2ddff847991baa53fa58e6a46 100644
--- a/ash/common/system/date/tray_date.cc
+++ b/ash/common/system/date/tray_date.cc
@@ -11,7 +11,7 @@
#include "ash/common/system/tray/system_tray.h"
#include "ash/common/system/tray/system_tray_notifier.h"
#include "ash/common/system/tray/tray_item_view.h"
-#include "ash/common/wm_shell.h"
+#include "ash/shell.h"
namespace ash {
@@ -21,11 +21,11 @@ TrayDate::TrayDate(SystemTray* system_tray)
default_view_(NULL),
login_status_(LoginStatus::NOT_LOGGED_IN),
system_clock_observer_(new SystemClockObserver()) {
- WmShell::Get()->system_tray_notifier()->AddClockObserver(this);
+ Shell::Get()->system_tray_notifier()->AddClockObserver(this);
}
TrayDate::~TrayDate() {
- WmShell::Get()->system_tray_notifier()->RemoveClockObserver(this);
+ Shell::Get()->system_tray_notifier()->RemoveClockObserver(this);
}
views::View* TrayDate::GetHelpButtonView() const {
« no previous file with comments | « ash/common/system/date/date_default_view.cc ('k') | ash/common/system/date/tray_system_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698