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

Unified Diff: ash/common/wm_window.h

Issue 2192553002: mash: Convert ShelfWindowWatcher to wm common types (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nits and better test Created 4 years, 5 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 | « ash/aura/wm_window_aura.cc ('k') | ash/common/wm_window_property.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/wm_window.h
diff --git a/ash/common/wm_window.h b/ash/common/wm_window.h
index c40e6d13e86db1ebe56e277aedfc1bb840918516..61eb24445219a161cf92210eb741d8dee55027b3 100644
--- a/ash/common/wm_window.h
+++ b/ash/common/wm_window.h
@@ -39,6 +39,7 @@ class Widget;
namespace ash {
+struct ShelfItemDetails;
class WmLayoutManager;
class WmRootWindowController;
class WmShell;
@@ -119,6 +120,10 @@ class ASH_EXPORT WmWindow {
virtual bool GetBoolProperty(WmWindowProperty key) = 0;
virtual int GetIntProperty(WmWindowProperty key) = 0;
+ virtual void SetIntProperty(WmWindowProperty key, int value) = 0;
+
+ // Returns null if there are no details.
+ virtual ShelfItemDetails* GetShelfItemDetails() = 0;
wm::WindowState* GetWindowState() {
return const_cast<wm::WindowState*>(
« no previous file with comments | « ash/aura/wm_window_aura.cc ('k') | ash/common/wm_window_property.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698