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

Unified Diff: ash/public/interfaces/system_tray.mojom

Issue 2558043006: ash: Use system tray mojo interface to show system update tray icon (Closed)
Patch Set: fix gcc Created 4 years 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/public/interfaces/BUILD.gn ('k') | ash/public/interfaces/update.mojom » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/public/interfaces/system_tray.mojom
diff --git a/ash/public/interfaces/system_tray.mojom b/ash/public/interfaces/system_tray.mojom
index 89362dd8dbb65d03196c6261a212bd9389d94bb9..7013d624fc09ddd191ff543b1fac028cabd0580c 100644
--- a/ash/public/interfaces/system_tray.mojom
+++ b/ash/public/interfaces/system_tray.mojom
@@ -4,6 +4,8 @@
module ash.mojom;
+import "ash/public/interfaces/update.mojom";
+
// Allows clients (e.g. Chrome browser) to control the ash system tray menu.
interface SystemTray {
// Sets the client interface.
@@ -12,6 +14,11 @@ 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);
+
+ // Shows an icon in the system tray indicating that a software update is
+ // available. Once shown the icon persists until reboot. |severity| and
+ // |factory_reset_required| are used to set the icon, color, and tooltip.
+ ShowUpdateIcon(UpdateSeverity severity, bool factory_reset_required);
};
// Allows ash system tray to control a client (e.g. Chrome browser). Requests
« no previous file with comments | « ash/public/interfaces/BUILD.gn ('k') | ash/public/interfaces/update.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698