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

Unified Diff: ash/system/chromeos/power/power_event_observer.cc

Issue 2064953002: mash: Migrate tray date view to //ash/common types (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@trayviews
Patch Set: review feedback 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/metrics/user_metrics_recorder.cc ('k') | ash/system/chromeos/system_clock_observer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/chromeos/power/power_event_observer.cc
diff --git a/ash/system/chromeos/power/power_event_observer.cc b/ash/system/chromeos/power/power_event_observer.cc
index 96431a72110750cd77a6d2c2a39183f7640dc050..fdcf71254f28163489d5a591c9756e8efc5c5a51 100644
--- a/ash/system/chromeos/power/power_event_observer.cc
+++ b/ash/system/chromeos/power/power_event_observer.cc
@@ -5,8 +5,9 @@
#include "ash/system/chromeos/power/power_event_observer.h"
#include "ash/common/session/session_state_delegate.h"
+#include "ash/common/system/tray/wm_system_tray_notifier.h"
+#include "ash/common/wm_shell.h"
#include "ash/shell.h"
-#include "ash/system/tray/system_tray_notifier.h"
#include "ash/wm/power_button_controller.h"
#include "chromeos/dbus/dbus_thread_manager.h"
#include "ui/aura/window.h"
@@ -125,7 +126,7 @@ void PowerEventObserver::SuspendImminent() {
void PowerEventObserver::SuspendDone(const base::TimeDelta& sleep_duration) {
Shell::GetInstance()->display_configurator()->ResumeDisplays();
- Shell::GetInstance()->system_tray_notifier()->NotifyRefreshClock();
+ WmShell::Get()->system_tray_notifier()->NotifyRefreshClock();
// If the suspend request was being blocked while waiting for the lock
// animation to complete, clear the blocker since the suspend has already
« no previous file with comments | « ash/metrics/user_metrics_recorder.cc ('k') | ash/system/chromeos/system_clock_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698