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

Unified Diff: ash/shelf/shelf.h

Issue 2237903003: mash: Migrate Shelf aura::Window uses to WmWindow. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Move shelf notify functions to WmShell. Created 4 years, 4 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 92e57a697a8c4da50c654370fc7aa343e2638f54..5c6ef51c5b1b14cbe56a09dd7aa4a1f7cb3a5482 100644
--- a/ash/shelf/shelf.h
+++ b/ash/shelf/shelf.h
@@ -22,10 +22,6 @@ namespace app_list {
class ApplicationDragAndDropHost;
}
-namespace aura {
-class Window;
-}
-
namespace gfx {
class Rect;
}
@@ -66,7 +62,7 @@ class ASH_EXPORT Shelf {
// Return the shelf for the display that |window| is currently on, or a shelf
// on primary display if the shelf per display feature is disabled. NULL if no
// user is logged in yet.
- static Shelf* ForWindow(const aura::Window* window);
+ static Shelf* ForWindow(const WmWindow* window);
void SetAlignment(ShelfAlignment alignment);
ShelfAlignment alignment() const { return alignment_; }
@@ -83,11 +79,11 @@ class ASH_EXPORT Shelf {
// 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(const aura::Window* window);
+ gfx::Rect GetScreenBoundsOfItemIconForWindow(WmWindow* window);
// 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 UpdateIconPositionForWindow(aura::Window* window);
+ void UpdateIconPositionForWindow(WmWindow* window);
// Activates the the shelf item specified by the index in the list of shelf
// items.
« 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