| Index: ash/wm/common/root_window_finder.h
|
| diff --git a/ash/wm/coordinate_conversion.h b/ash/wm/common/root_window_finder.h
|
| similarity index 65%
|
| rename from ash/wm/coordinate_conversion.h
|
| rename to ash/wm/common/root_window_finder.h
|
| index aa4a84850b1907244a3699bf92d5691335a3440a..f35459a6c44671456fc41838291f08351bd47a7a 100644
|
| --- a/ash/wm/coordinate_conversion.h
|
| +++ b/ash/wm/common/root_window_finder.h
|
| @@ -2,15 +2,11 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#ifndef ASH_WM_COORDINATE_CONVERSION_H_
|
| -#define ASH_WM_COORDINATE_CONVERSION_H_
|
| +#ifndef ASH_WM_COMMON_ROOT_WINDOW_FINDER_H_
|
| +#define ASH_WM_COMMON_ROOT_WINDOW_FINDER_H_
|
|
|
| #include "ash/ash_export.h"
|
|
|
| -namespace aura {
|
| -class Window;
|
| -} // namespace gfx
|
| -
|
| namespace gfx {
|
| class Point;
|
| class Rect;
|
| @@ -19,16 +15,18 @@ class Rect;
|
| namespace ash {
|
| namespace wm {
|
|
|
| +class WmWindow;
|
| +
|
| // 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 aura::Window* GetRootWindowAt(const gfx::Point& point);
|
| +ASH_EXPORT WmWindow* GetRootWindowAt(const gfx::Point& point);
|
|
|
| // Returns the RootWindow that shares the most area with |rect| in
|
| // the virtual scren coordinates.
|
| -ASH_EXPORT aura::Window* GetRootWindowMatching(const gfx::Rect& rect);
|
| +ASH_EXPORT WmWindow* GetRootWindowMatching(const gfx::Rect& rect);
|
|
|
| } // namespace wm
|
| } // namespace ash
|
|
|
| -#endif // ASH_WM_COORDINATE_CONVERSION_H_
|
| +#endif // ASH_WM_COMMON_ROOT_WINDOW_FINDER_H_
|
|
|