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

Unified Diff: ash/wm/root_window_finder.h

Issue 2900423002: [mus+ash] Removes WmWindow from ash/wm/root_window_finder.h (Closed)
Patch Set: Remove WmWindow from ash/wm/root_window_finder.h (tab drag test) 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/wm/container_finder.cc ('k') | ash/wm/root_window_finder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/root_window_finder.h
diff --git a/ash/wm/root_window_finder.h b/ash/wm/root_window_finder.h
index ce568bfcf5b7ddd7abe7c1762f1c130ecff481ef..489059ebdd4253153085e07a5c159b14fdcdb07c 100644
--- a/ash/wm/root_window_finder.h
+++ b/ash/wm/root_window_finder.h
@@ -7,6 +7,10 @@
#include "ash/ash_export.h"
+namespace aura {
+class Window;
+} // namespace aura
+
namespace gfx {
class Point;
class Rect;
@@ -14,18 +18,15 @@ class Rect;
namespace ash {
-class WmWindow;
-
namespace wm {
// Returns the RootWindow at |point| in the virtual screen coordinates.
-// Returns NULL if the root window does not exist at the given
-// point.
-ASH_EXPORT WmWindow* GetRootWindowAt(const gfx::Point& point);
+// Returns nullptr if the root window does not exist at the given point.
+ASH_EXPORT aura::Window* GetRootWindowAt(const gfx::Point& point);
-// Returns the RootWindow that shares the most area with |rect| in
-// the virtual scren coordinates.
-ASH_EXPORT WmWindow* GetRootWindowMatching(const gfx::Rect& rect);
+// Returns the RootWindow that shares the most area with |rect| in the virtual
+// screen coordinates.
+ASH_EXPORT aura::Window* GetRootWindowMatching(const gfx::Rect& rect);
} // namespace wm
} // namespace ash
« no previous file with comments | « ash/wm/container_finder.cc ('k') | ash/wm/root_window_finder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698