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

Unified Diff: ash/public/interfaces/system_tray.mojom

Issue 2351893002: mash: Fix system tray clock 12/24 hour time setting (Closed)
Patch Set: review comments 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 | « ash/public/interfaces/BUILD.gn ('k') | chrome/app/mojo/chrome_manifest.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/public/interfaces/system_tray.mojom
diff --git a/ash/public/interfaces/system_tray.mojom b/ash/public/interfaces/system_tray.mojom
new file mode 100644
index 0000000000000000000000000000000000000000..14c4f949e7b33ef3c662cc75469c68c2c8e4d071
--- /dev/null
+++ b/ash/public/interfaces/system_tray.mojom
@@ -0,0 +1,14 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+module ash.mojom;
+
+// Allows clients (e.g. Chrome browser) to control the ash system tray menu.
+interface SystemTray {
+ // Sets the clock to use 24 hour time formatting if |use_24_hour| is true.
+ // Otherwise sets 12 hour time formatting.
+ SetUse24HourClock(bool use_24_hour);
Tom Sepez 2016/09/20 16:34:42 nit: do you want an enum in place of a bool? Woul
James Cook 2016/09/20 16:42:57 I looked at using an enum, but in this case the on
+};
+
+// TODO(jamescook): SystemTrayDelegate to communicate from ash to chrome.
« no previous file with comments | « ash/public/interfaces/BUILD.gn ('k') | chrome/app/mojo/chrome_manifest.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698