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

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

Issue 2381753002: Use mojo SystemTray interfaces for both mash and classic ash (Closed)
Patch Set: cleanup Created 4 years, 3 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/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 93ef9ebefb73df477dec09acccca461366013589..0a712b4e426d78fd36e04e377b557f6e8a8e6569 100644
--- a/ash/common/system/date/tray_date.cc
+++ b/ash/common/system/date/tray_date.cc
@@ -8,7 +8,7 @@
#include "ash/common/system/date/date_default_view.h"
#include "ash/common/system/date/date_view.h"
#include "ash/common/system/tray/system_tray.h"
-#include "ash/common/system/tray/system_tray_notifier.h"
+#include "ash/common/system/tray/system_tray_controller.h"
#include "ash/common/system/tray/tray_item_view.h"
#include "ash/common/wm_shell.h"
@@ -26,11 +26,11 @@ TrayDate::TrayDate(SystemTray* system_tray)
#if defined(OS_CHROMEOS)
system_clock_observer_.reset(new SystemClockObserver());
#endif
- WmShell::Get()->system_tray_notifier()->AddClockObserver(this);
+ WmShell::Get()->system_tray_controller()->AddClockObserver(this);
}
TrayDate::~TrayDate() {
- WmShell::Get()->system_tray_notifier()->RemoveClockObserver(this);
+ WmShell::Get()->system_tray_controller()->RemoveClockObserver(this);
}
views::View* TrayDate::GetHelpButtonView() const {

Powered by Google App Engine
This is Rietveld 408576698