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

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

Issue 1824183002: Mash: Show app icons in shelf based on the Widget's app icon (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more review comments Created 4 years, 9 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/non_client_frame_controller.cc ('k') | mash/wm/user_window_controller_impl.h » ('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 c1d61d8a355b3d52cfcf7bb6445b734ff0b64dc9..3d84fb11d06376c484484524f6ca499df7c2374e 100644
--- a/mash/wm/public/interfaces/user_window_controller.mojom
+++ b/mash/wm/public/interfaces/user_window_controller.mojom
@@ -8,6 +8,7 @@ struct UserWindow {
uint32 window_id;
string window_title;
bool window_has_focus;
+ array<uint8> window_app_icon; // Serialized SkBitmap.
};
// An observer of user windows within mojom::Container::USER_WINDOWS.
@@ -20,6 +21,9 @@ 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);
OnUserWindowFocusChanged(uint32 window_id, bool has_focus);
};
« no previous file with comments | « mash/wm/non_client_frame_controller.cc ('k') | mash/wm/user_window_controller_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698