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

Unified Diff: ash/common/system/tray/system_tray_controller.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 | « ash/common/system/tray/system_tray_controller.h ('k') | ash/common/system/tray/system_tray_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/system/tray/system_tray_controller.cc
diff --git a/ash/common/system/tray/system_tray_controller.cc b/ash/common/system/tray/system_tray_controller.cc
index 43ef4fa5f874fb2bdb91f3f6672a44bfdb3e5f75..ec2a30b068468009e489ba6ce4254bcd84915725 100644
--- a/ash/common/system/tray/system_tray_controller.cc
+++ b/ash/common/system/tray/system_tray_controller.cc
@@ -28,6 +28,11 @@ void SystemTrayController::ShowDateSettings() {
system_tray_client_->ShowDateSettings();
}
+void SystemTrayController::ShowSetTimeDialog() {
+ if (ConnectToSystemTrayClient())
+ system_tray_client_->ShowSetTimeDialog();
+}
+
void SystemTrayController::ShowDisplaySettings() {
if (ConnectToSystemTrayClient())
system_tray_client_->ShowDisplaySettings();
« no previous file with comments | « ash/common/system/tray/system_tray_controller.h ('k') | ash/common/system/tray/system_tray_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698