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

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

Issue 2438023004: mash: Migrate ShowSetTimeDialog from SystemTrayDelegate to mojo (Closed)
Patch Set: rebase Created 4 years, 2 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 | « no previous file | ash/common/system/tray/system_tray_controller.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/system/date/date_view.cc
diff --git a/ash/common/system/date/date_view.cc b/ash/common/system/date/date_view.cc
index 4aa83d37d0fa7b1f9214e2f9b4549d667d4c0f73..ad21c9146a45d487293692233650239102e62449 100644
--- a/ash/common/system/date/date_view.cc
+++ b/ash/common/system/date/date_view.cc
@@ -6,7 +6,6 @@
#include "ash/common/material_design/material_design_controller.h"
#include "ash/common/system/tray/system_tray_controller.h"
-#include "ash/common/system/tray/system_tray_delegate.h"
#include "ash/common/system/tray/tray_constants.h"
#include "ash/common/system/tray/tray_utils.h"
#include "ash/common/wm_shell.h"
@@ -198,7 +197,7 @@ bool DateView::PerformAction(const ui::Event& event) {
if (action_ == TrayDate::SHOW_DATE_SETTINGS)
WmShell::Get()->system_tray_controller()->ShowDateSettings();
else if (action_ == TrayDate::SET_SYSTEM_TIME)
- WmShell::Get()->system_tray_delegate()->ShowSetTimeDialog();
+ WmShell::Get()->system_tray_controller()->ShowSetTimeDialog();
else
return false;
CloseSystemBubble();
« no previous file with comments | « no previous file | ash/common/system/tray/system_tray_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698