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

Unified Diff: ash/shelf/shelf.h

Issue 2907853002: [mus+ash] Removes WmWindow from ash/shelf and ash/shell (Closed)
Patch Set: [mus+ash] Removes WmWindow from ash/shelf and ash/shell (removed some more wm_window.h) Created 3 years, 7 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/root_window_controller.cc ('k') | ash/shelf/shelf.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/shelf/shelf.h
diff --git a/ash/shelf/shelf.h b/ash/shelf/shelf.h
index af21bc46767b898b04cd986f14720da213d0bb4c..9467a37253d3e58d5f96a129dbeb9f17fc686e29 100644
--- a/ash/shelf/shelf.h
+++ b/ash/shelf/shelf.h
@@ -36,7 +36,6 @@ class ShelfView;
class ShelfWidget;
class StatusAreaWidget;
class ShelfObserver;
-class WmWindow;
// Controller for the shelf state. One per display, because each display might
// have different shelf alignment, autohide, etc. Exists for the lifetime of the
@@ -54,7 +53,7 @@ class ASH_EXPORT Shelf : public ShelfLayoutManagerObserver {
// adjust the alignment (eg. not allowed in guest and supervised user modes).
static bool CanChangeShelfAlignment();
- void CreateShelfWidget(WmWindow* root);
+ void CreateShelfWidget(aura::Window* root);
void ShutdownShelfWidget();
void DestroyShelfWidget();
@@ -68,7 +67,7 @@ class ASH_EXPORT Shelf : public ShelfLayoutManagerObserver {
void NotifyShelfInitialized();
// Returns the window showing the shelf.
- WmWindow* GetWindow();
+ aura::Window* GetWindow();
ShelfAlignment alignment() const { return alignment_; }
void SetAlignment(ShelfAlignment alignment);
@@ -106,11 +105,11 @@ class ASH_EXPORT Shelf : public ShelfLayoutManagerObserver {
// Updates the icon position given the current window bounds. This is used
// when dragging panels to reposition them with respect to the other panels.
- void UpdateIconPositionForPanel(WmWindow* window);
+ void UpdateIconPositionForPanel(aura::Window* window);
// Returns the screen bounds of the item for the specified window. If there is
// no item for the specified window an empty rect is returned.
- gfx::Rect GetScreenBoundsOfItemIconForWindow(WmWindow* window);
+ gfx::Rect GetScreenBoundsOfItemIconForWindow(aura::Window* window);
// Launch a 0-indexed shelf item in the shelf. A negative index launches the
// last shelf item in the shelf.
« no previous file with comments | « ash/root_window_controller.cc ('k') | ash/shelf/shelf.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698