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

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

Issue 2351893002: mash: Fix system tray clock 12/24 hour time setting (Closed)
Patch Set: tweak 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/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 {
James Cook 2016/09/19 22:51:38 Do we have a naming convention for these things? m
James Cook 2016/09/20 01:52:11 Ping?
sky 2016/09/20 02:45:16 Sorry, somehow missed your question. One naming co
+ // 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);
+};
+
+// TODO(jamescook): SystemTrayDelegate to communicate from ash to chrome.

Powered by Google App Engine
This is Rietveld 408576698