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

Unified Diff: ash/common/wm_window.h

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 | « ash/common/shelf/shelf_window_watcher_unittest.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 30a0a3cf50dffae35d81d1c775bfa2221ab4a146..7f4964141d7ea9157b2433726e65bb19d91bf4a2 100644
--- a/ash/common/wm_window.h
+++ b/ash/common/wm_window.h
@@ -41,7 +41,6 @@ class Widget;
namespace ash {
class ImmersiveFullscreenController;
-struct ShelfItemDetails;
class WmLayoutManager;
class WmRootWindowController;
class WmShell;
@@ -81,6 +80,7 @@ class ASH_EXPORT WmWindow {
virtual void SetName(const char* name) = 0;
virtual std::string GetName() const = 0;
+ virtual void SetTitle(const base::string16& title) = 0;
virtual base::string16 GetTitle() const = 0;
// See shell_window_ids.h for list of known ids.
@@ -133,11 +133,6 @@ class ASH_EXPORT WmWindow {
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;
- virtual void SetShelfItemDetails(const ShelfItemDetails& details) = 0;
- virtual void ClearShelfItemDetails() = 0;
-
wm::WindowState* GetWindowState() {
return const_cast<wm::WindowState*>(
const_cast<const WmWindow*>(this)->GetWindowState());
« no previous file with comments | « ash/common/shelf/shelf_window_watcher_unittest.cc ('k') | ash/common/wm_window_property.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698