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

Unified Diff: mash/wm/public/interfaces/user_window_controller.mojom

Issue 1899323002: Add mash shelf application id support. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address simpler comments. Created 4 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « mash/wm/property_util.cc ('k') | mash/wm/user_window_controller_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mash/wm/public/interfaces/user_window_controller.mojom
diff --git a/mash/wm/public/interfaces/user_window_controller.mojom b/mash/wm/public/interfaces/user_window_controller.mojom
index 3d84fb11d06376c484484524f6ca499df7c2374e..fe9811989eb4066da47f597cf32cad7bbdaf18ed 100644
--- a/mash/wm/public/interfaces/user_window_controller.mojom
+++ b/mash/wm/public/interfaces/user_window_controller.mojom
@@ -5,10 +5,11 @@
module mash.wm.mojom;
struct UserWindow {
- uint32 window_id;
- string window_title;
- bool window_has_focus;
- array<uint8> window_app_icon; // Serialized SkBitmap.
+ uint32 window_id; // The local window id, defined by UserWindowController.
+ string window_title; // The window title.
+ bool window_has_focus; // A flag; true if the window is currently focused.
+ array<uint8> window_app_icon; // A serialized SkBitmap.
+ string window_app_id; // The window application ID (ie. 'mojo:foo').
};
// An observer of user windows within mojom::Container::USER_WINDOWS.
@@ -21,7 +22,7 @@ interface UserWindowObserver {
OnUserWindowRemoved(uint32 window_id);
OnUserWindowTitleChanged(uint32 window_id, string window_title);
-
+
// |app_icon| is a serialized SkBitmap.
OnUserWindowAppIconChanged(uint32 window_id, array<uint8> app_icon);
« no previous file with comments | « mash/wm/property_util.cc ('k') | mash/wm/user_window_controller_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698