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

Unified Diff: ash/mus/system_tray_delegate_mus.h

Issue 2360143004: mash: Add SystemTrayClient interface, use to show date settings (Closed)
Patch Set: tweaks, similarity 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
« no previous file with comments | « no previous file | ash/mus/system_tray_delegate_mus.cc » ('j') | ash/mus/system_tray_delegate_mus.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/mus/system_tray_delegate_mus.h
diff --git a/ash/mus/system_tray_delegate_mus.h b/ash/mus/system_tray_delegate_mus.h
index e0a6270a287fc5deac4a19a590e6823e98f07a7c..12413532d4f8c2cc857a708be254d59bb0037a00 100644
--- a/ash/mus/system_tray_delegate_mus.h
+++ b/ash/mus/system_tray_delegate_mus.h
@@ -28,10 +28,15 @@ class SystemTrayDelegateMus : public DefaultSystemTrayDelegate,
private:
// SystemTrayDelegate:
base::HourClockType GetHourClockType() const override;
+ void ShowDateSettings() override;
// mojom::SystemTray:
+ void SetClient(mojom::SystemTrayClientPtr system_tray_client) override;
void SetUse24HourClock(bool use_24_hour) override;
+ // The client is usually chrome browser.
+ mojom::SystemTrayClientPtr system_tray_client_;
+
// 12 or 24 hour display.
base::HourClockType hour_clock_type_;
« no previous file with comments | « no previous file | ash/mus/system_tray_delegate_mus.cc » ('j') | ash/mus/system_tray_delegate_mus.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698