Chromium Code Reviews| 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. |