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

Unified Diff: services/ui/public/interfaces/window_manager.mojom

Issue 2357143004: mash: Support ShelfWindowWatcher via ShelfItem properties. (Closed)
Patch Set: Address comments. Created 4 years, 3 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 | « chrome/browser/ui/views/task_manager_view.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/public/interfaces/window_manager.mojom
diff --git a/services/ui/public/interfaces/window_manager.mojom b/services/ui/public/interfaces/window_manager.mojom
index fb103d2b866588a9894a4c98f2201fdab1fc6b52..842effc14f644d01461c5732be9d281e59ca6e36 100644
--- a/services/ui/public/interfaces/window_manager.mojom
+++ b/services/ui/public/interfaces/window_manager.mojom
@@ -48,6 +48,11 @@ interface WindowManager {
const string kRestoreBounds_Property = "prop:restore-bounds";
// Shadow style for the window. Type: mojom::ShadowStyle.
const string kShadowStyle_Property = "prop:shadow-style";
+ // The image resource ID to be used as the shelf item's icon. Type: int
+ const string kShelfIconResourceId_Property = "prop:shelf-icon-resource-id";
+ // The type of item to be shown on the shelf for this window. Type: int
+ // A few ash::ShelfItemType values are supported; TYPE_UNKNOWN means no item.
+ const string kShelfItemType_Property = "prop:shelf-item-type";
// The window's show state. Type: ShowState.
const string kShowState_Property = "prop:show-state";
// The window bounds as set by user input. Type: gfx::Rect.
« no previous file with comments | « chrome/browser/ui/views/task_manager_view.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698