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

Side by Side Diff: ash/public/interfaces/system_tray.mojom

Issue 2882933002: Add update available icon in system tray (Closed)
Patch Set: Add file to BUILD.gn Created 3 years, 7 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 unified diff | Download patch
« no previous file with comments | « ash/ash_strings.grd ('k') | ash/system/tray/system_tray_controller.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
75 // Shows help. 80 // Shows the about chrome OS page and checks for updates after the page is
81 // loaded.
82 ShowAboutChromeOS();
83
84 // Shows the Chromebook help app.
76 ShowHelp(); 85 ShowHelp();
77 86
78 // Show accessibility help. 87 // Shows accessibility help.
79 ShowAccessibilityHelp(); 88 ShowAccessibilityHelp();
80 89
81 // Show the settings related to accessibility. 90 // Shows the settings related to accessibility.
82 ShowAccessibilitySettings(); 91 ShowAccessibilitySettings();
83 92
84 // Shows the help center article for the stylus tool palette. 93 // Shows the help center article for the stylus tool palette.
85 ShowPaletteHelp(); 94 ShowPaletteHelp();
86 95
87 // Shows the settings related to the stylus tool palette. 96 // Shows the settings related to the stylus tool palette.
88 ShowPaletteSettings(); 97 ShowPaletteSettings();
89 98
90 // Shows information about public account mode. 99 // Shows information about public account mode.
91 ShowPublicAccountInfo(); 100 ShowPublicAccountInfo();
(...skipping 23 matching lines...) Expand all
115 // Shows UI for changing proxy settings. 124 // Shows UI for changing proxy settings.
116 ShowProxySettings(); 125 ShowProxySettings();
117 126
118 // Attempts to sign out the user. 127 // Attempts to sign out the user.
119 // TODO(jamescook): Migrate to a user or login service. crbug.com/665582 128 // TODO(jamescook): Migrate to a user or login service. crbug.com/665582
120 SignOut(); 129 SignOut();
121 130
122 // Attempts to restart the system for update. 131 // Attempts to restart the system for update.
123 RequestRestartForUpdate(); 132 RequestRestartForUpdate();
124 }; 133 };
OLDNEW
« no previous file with comments | « ash/ash_strings.grd ('k') | ash/system/tray/system_tray_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698