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

Unified Diff: ash/wm/container_finder.h

Issue 2826453003: Makes functions in container_finder take aura::Window (Closed)
Patch Set: cleanup Created 3 years, 8 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/system/tray/tray_event_filter.cc ('k') | ash/wm/container_finder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/container_finder.h
diff --git a/ash/wm/container_finder.h b/ash/wm/container_finder.h
index 4d0f0e52bbe113b2051322d5f165fd6c1214281a..f7d0c931dc8256c159f998a0033d038fc34191dd 100644
--- a/ash/wm/container_finder.h
+++ b/ash/wm/container_finder.h
@@ -18,18 +18,15 @@ class Rect;
}
namespace ash {
-
-class WmWindow;
-
namespace wm {
// Returns the first ancestor of |window| that has a known container ID.
-ASH_EXPORT WmWindow* GetContainerForWindow(WmWindow* window);
+ASH_EXPORT aura::Window* GetContainerForWindow(aura::Window* window);
// Returns the parent to add |window| to. This is generally used when a window
// is moved from one root to another.
-ASH_EXPORT WmWindow* GetDefaultParent(WmWindow* window,
- const gfx::Rect& bounds);
+ASH_EXPORT aura::Window* GetDefaultParent(aura::Window* window,
+ const gfx::Rect& bounds);
// Returns the list of containers that match |container_id| in all root windows.
// If |priority_root| is non-null, the container in |priority_root| is placed at
« no previous file with comments | « ash/system/tray/tray_event_filter.cc ('k') | ash/wm/container_finder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698