Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 module ash.mojom; | 5 module ash.mojom; |
| 6 | 6 |
| 7 // Allows clients (e.g. Chrome browser) to control the ash system tray menu. | 7 // Allows clients (e.g. Chrome browser) to control the ash system tray menu. |
| 8 interface SystemTray { | 8 interface SystemTray { |
| 9 // Sets the clock to use 24 hour time formatting if |use_24_hour| is true. | 9 // Sets the clock to use 24 hour time formatting if |use_24_hour| is true. |
| 10 // Otherwise sets 12 hour time formatting. | 10 // Otherwise sets 12 hour time formatting. |
| 11 SetUse24HourClock(bool use_24_hour); | 11 SetUse24HourClock(bool use_24_hour); |
| 12 }; | 12 }; |
| 13 | 13 |
| 14 // Allows ash system tray to control a client (e.g. Chrome browser). Requests | 14 // Allows ash system tray to control a client (e.g. Chrome browser). Requests |
| 15 // often involve preferences or web UI that is not available to ash. | 15 // often involve preferences or web UI that is not available to ash. |
| 16 interface SystemTrayClient { | 16 interface SystemTrayClient { |
| 17 // Shows general settings UI. | 17 // Shows general settings UI. |
| 18 ShowSettings(); | 18 ShowSettings(); |
| 19 | 19 |
| 20 // Shows the settings related to date, timezone etc. | 20 // Shows the settings related to date, timezone etc. |
| 21 ShowDateSettings(); | 21 ShowDateSettings(); |
| 22 | 22 |
| 23 // TODO(crbug.com/647412): ShowSetTimeDialog(); | 23 // TODO(crbug.com/647412): ShowSetTimeDialog(); |
| 24 | 24 |
| 25 // TODO(crbug.com/647412): ShowNetworkSettingsForGuid(string guid); | |
| 26 | |
| 27 // Shows settings related to multiple displays. | 25 // Shows settings related to multiple displays. |
| 28 ShowDisplaySettings(); | 26 ShowDisplaySettings(); |
| 29 | 27 |
| 30 // Shows settings related to power. | 28 // Shows settings related to power. |
| 31 ShowPowerSettings(); | 29 ShowPowerSettings(); |
| 32 | 30 |
| 33 // Shows the page that lets you disable performance tracing. | 31 // Shows the page that lets you disable performance tracing. |
| 34 ShowChromeSlow(); | 32 ShowChromeSlow(); |
| 35 | 33 |
| 36 // Shows settings related to input methods. | 34 // Shows settings related to input methods. |
| (...skipping 12 matching lines...) Expand all Loading... | |
| 49 ShowPaletteHelp(); | 47 ShowPaletteHelp(); |
| 50 | 48 |
| 51 // Shows the settings related to the stylus tool palette. | 49 // Shows the settings related to the stylus tool palette. |
| 52 ShowPaletteSettings(); | 50 ShowPaletteSettings(); |
| 53 | 51 |
| 54 // Shows information about public account mode. | 52 // Shows information about public account mode. |
| 55 ShowPublicAccountInfo(); | 53 ShowPublicAccountInfo(); |
| 56 | 54 |
| 57 // TODO(crbug.com/647412): ShowEnterpriseInfo(); | 55 // TODO(crbug.com/647412): ShowEnterpriseInfo(); |
| 58 | 56 |
| 57 // Shows settings related to networking. If |network_id| is empty, shows | |
| 58 // general settings. Otherwise shows settings for the individual network. | |
| 59 // On devices |network_id| is a GUID, but on Linux desktop and in tests it can | |
| 60 // be any string. | |
| 61 ShowNetworkSettings(string network_id); | |
|
stevenjb
2016/10/13 22:03:09
const string& ?
James Cook
2016/10/13 22:16:07
mojom files use "string", which is translated to "
stevenjb
2016/10/13 23:04:37
AH, doh, I didn't notice this was a .mojom file.
| |
| 62 | |
| 59 // Shows UI for changing proxy settings. | 63 // Shows UI for changing proxy settings. |
| 60 ShowProxySettings(); | 64 ShowProxySettings(); |
| 61 }; | 65 }; |
| OLD | NEW |