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 import "ash/public/interfaces/update.mojom"; | 7 import "ash/public/interfaces/update.mojom"; |
8 import "mojo/common/string16.mojom"; | 8 import "mojo/common/string16.mojom"; |
9 | 9 |
10 // Allows clients (e.g. Chrome browser) to control the ash system tray menu. | 10 // Allows clients (e.g. Chrome browser) to control the ash system tray menu. |
(...skipping 16 matching lines...) Expand all Loading... | |
27 // enterprise management. The item appears if |enterprise_domain| is not empty | 27 // enterprise management. The item appears if |enterprise_domain| is not empty |
28 // or |active_directory_managed| is true. | 28 // or |active_directory_managed| is true. |
29 SetEnterpriseDomain(string enterprise_domain, bool active_directory_managed); | 29 SetEnterpriseDomain(string enterprise_domain, bool active_directory_managed); |
30 | 30 |
31 // Shows an icon in the system tray indicating that a software update is | 31 // Shows an icon in the system tray indicating that a software update is |
32 // available. Once shown the icon persists until reboot. |severity| and | 32 // available. Once shown the icon persists until reboot. |severity| and |
33 // |factory_reset_required| are used to set the icon, color, and tooltip. | 33 // |factory_reset_required| are used to set the icon, color, and tooltip. |
34 ShowUpdateIcon(UpdateSeverity severity, | 34 ShowUpdateIcon(UpdateSeverity severity, |
35 bool factory_reset_required, | 35 bool factory_reset_required, |
36 UpdateType update_type); | 36 UpdateType update_type); |
37 | |
38 // Shows an icon in the system tray indicating that a software update is | |
39 // available but user's agreement is required as current connection is | |
40 // cellular. Once shown the icon persists until reboot. | |
41 ShowUpdateOverCellularAvailableIcon(); | |
37 }; | 42 }; |
38 | 43 |
39 // Allows ash system tray to control a client (e.g. Chrome browser). Requests | 44 // Allows ash system tray to control a client (e.g. Chrome browser). Requests |
40 // often involve preferences or web UI that is not available to ash. | 45 // often involve preferences or web UI that is not available to ash. |
41 interface SystemTrayClient { | 46 interface SystemTrayClient { |
42 // Shows general settings UI. | 47 // Shows general settings UI. |
43 ShowSettings(); | 48 ShowSettings(); |
44 | 49 |
45 // Shows settings related to Bluetooth devices (e.g. to add a device). | 50 // Shows settings related to Bluetooth devices (e.g. to add a device). |
46 ShowBluetoothSettings(); | 51 ShowBluetoothSettings(); |
(...skipping 18 matching lines...) Expand all Loading... | |
65 | 70 |
66 // Shows settings related to power. | 71 // Shows settings related to power. |
67 ShowPowerSettings(); | 72 ShowPowerSettings(); |
68 | 73 |
69 // Shows the page that lets you disable performance tracing. | 74 // Shows the page that lets you disable performance tracing. |
70 ShowChromeSlow(); | 75 ShowChromeSlow(); |
71 | 76 |
72 // Shows settings related to input methods. | 77 // Shows settings related to input methods. |
73 ShowIMESettings(); | 78 ShowIMESettings(); |
74 | 79 |
80 // Show the about chrome OS page. | |
stevenjb
2017/05/16 19:49:06
Shows
weidongg
2017/05/17 00:27:23
Done.
| |
81 ShowAboutChromeOS(); | |
82 | |
75 // Shows help. | 83 // Shows help. |
stevenjb
2017/05/16 19:49:06
Change this to: // Shows the Chromebook help app.
weidongg
2017/05/17 00:27:23
Done.
| |
76 ShowHelp(); | 84 ShowHelp(); |
77 | 85 |
78 // Show accessibility help. | 86 // Show accessibility help. |
79 ShowAccessibilityHelp(); | 87 ShowAccessibilityHelp(); |
80 | 88 |
81 // Show the settings related to accessibility. | 89 // Show the settings related to accessibility. |
82 ShowAccessibilitySettings(); | 90 ShowAccessibilitySettings(); |
83 | 91 |
84 // Shows the help center article for the stylus tool palette. | 92 // Shows the help center article for the stylus tool palette. |
85 ShowPaletteHelp(); | 93 ShowPaletteHelp(); |
(...skipping 28 matching lines...) Expand all Loading... | |
114 | 122 |
115 // Shows UI for changing proxy settings. | 123 // Shows UI for changing proxy settings. |
116 ShowProxySettings(); | 124 ShowProxySettings(); |
117 | 125 |
118 // Attempts to sign out the user. | 126 // Attempts to sign out the user. |
119 // TODO(jamescook): Migrate to a user or login service. crbug.com/665582 | 127 // TODO(jamescook): Migrate to a user or login service. crbug.com/665582 |
120 SignOut(); | 128 SignOut(); |
121 | 129 |
122 // Attempts to restart the system for update. | 130 // Attempts to restart the system for update. |
123 RequestRestartForUpdate(); | 131 RequestRestartForUpdate(); |
132 | |
133 // Schedule checking for update after about Chrome OS page is loaded. | |
134 ScheduleRequestUpdateCheck(); | |
124 }; | 135 }; |
OLD | NEW |