| 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. |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 ShowNetworkCreate(string type); | 65 ShowNetworkCreate(string type); |
| 66 | 66 |
| 67 // Shows settings related to networking. If |network_id| is empty, shows | 67 // Shows settings related to networking. If |network_id| is empty, shows |
| 68 // general settings. Otherwise shows settings for the individual network. | 68 // general settings. Otherwise shows settings for the individual network. |
| 69 // On devices |network_id| is a GUID, but on Linux desktop and in tests it can | 69 // On devices |network_id| is a GUID, but on Linux desktop and in tests it can |
| 70 // be any string. | 70 // be any string. |
| 71 ShowNetworkSettings(string network_id); | 71 ShowNetworkSettings(string network_id); |
| 72 | 72 |
| 73 // Shows UI for changing proxy settings. | 73 // Shows UI for changing proxy settings. |
| 74 ShowProxySettings(); | 74 ShowProxySettings(); |
| 75 |
| 76 // Attempts to sign out the user. |
| 77 // TODO(jamescook): Migrate to a user or login service. crbug.com/665582 |
| 78 SignOut(); |
| 79 |
| 80 // Attempts to restart the system for update. |
| 81 RequestRestartForUpdate(); |
| 75 }; | 82 }; |
| OLD | NEW |