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

Unified Diff: ash/common/system/date/tray_system_info.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/tray_date.cc ('k') | ash/common/system/ime/tray_ime_chromeos.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/system/date/tray_system_info.cc
diff --git a/ash/common/system/date/tray_system_info.cc b/ash/common/system/date/tray_system_info.cc
index aad34ffb1f3af725c0a4641141b80efa665c9a77..43459977ebc0bf025e0236a0df2f042db1fa6863 100644
--- a/ash/common/system/date/tray_system_info.cc
+++ b/ash/common/system/date/tray_system_info.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 @@ TraySystemInfo::TraySystemInfo(SystemTray* system_tray)
default_view_(nullptr),
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);
}
TraySystemInfo::~TraySystemInfo() {
- WmShell::Get()->system_tray_notifier()->RemoveClockObserver(this);
+ Shell::Get()->system_tray_notifier()->RemoveClockObserver(this);
}
const tray::TimeView* TraySystemInfo::GetTimeTrayForTesting() const {
« no previous file with comments | « ash/common/system/date/tray_date.cc ('k') | ash/common/system/ime/tray_ime_chromeos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698