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

Unified Diff: ash/shelf/wm_shelf.h

Issue 2886253002: mash: remove more shell/shelf WmWindow usage. (Closed)
Patch Set: Fix WmShelf::ForWindow. 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/shelf/shelf_window_watcher_unittest.cc ('k') | ash/shelf/wm_shelf.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/shelf/wm_shelf.h
diff --git a/ash/shelf/wm_shelf.h b/ash/shelf/wm_shelf.h
index 85ddee9f79d16ce2a5cc838530553d5069058374..e943e8dee626018d8dee1f364eca80ff2fe49bca 100644
--- a/ash/shelf/wm_shelf.h
+++ b/ash/shelf/wm_shelf.h
@@ -13,6 +13,10 @@
#include "ash/shelf/shelf_locking_manager.h"
#include "base/observer_list.h"
+namespace aura {
+class Window;
+}
+
namespace gfx {
class Rect;
}
@@ -44,7 +48,7 @@ class ASH_EXPORT WmShelf : public ShelfLayoutManagerObserver {
// Returns the shelf for the display that |window| is on. Note that the shelf
// widget may not exist, or the shelf may not be visible.
- static WmShelf* ForWindow(WmWindow* window);
+ static WmShelf* ForWindow(aura::Window* window);
// Returns if shelf alignment options are enabled, and the user is able to
// adjust the alignment (eg. not allowed in guest and supervised user modes).
« no previous file with comments | « ash/shelf/shelf_window_watcher_unittest.cc ('k') | ash/shelf/wm_shelf.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698