Chromium Code Reviews| Index: ash/wm/window_resizer.h |
| diff --git a/ash/wm/window_resizer.h b/ash/wm/window_resizer.h |
| index bc46df85e31a51b9adb9d2932678303db03eee87..6a497a9fcb47c27da4bebfaedb55040cd525e013 100644 |
| --- a/ash/wm/window_resizer.h |
| +++ b/ash/wm/window_resizer.h |
| @@ -16,6 +16,13 @@ class Window; |
| namespace ash { |
| +namespace internal { |
| + |
| +class DragWindowResizerTest; |
| +class PanelWindowResizerTest; |
| + |
| +} // namespace internal |
| + |
| // WindowResizer is used by ToplevelWindowEventFilter to handle dragging, moving |
| // or resizing a window. All coordinates passed to this are in the parent |
| // windows coordinates. |
| @@ -52,6 +59,12 @@ class ASH_EXPORT WindowResizer { |
| virtual aura::Window* GetTarget() = 0; |
| protected: |
| + friend class internal::DragWindowResizerTest; |
| + friend class internal::PanelWindowResizerTest; |
| + |
| + // See comment for |Details::initial_location_in_parent|. |
| + virtual const gfx::Point& GetInitialLocationForTest() const = 0; |
|
sky
2013/06/17 19:49:47
There is no point in hiding this. Make it public a
varkha
2013/06/17 20:34:57
Done.
|
| + |
| struct Details { |
| Details(); |
| Details(aura::Window* window, |
| @@ -129,6 +142,6 @@ ASH_EXPORT scoped_ptr<WindowResizer> CreateWindowResizer( |
| const gfx::Point& point_in_parent, |
| int window_component); |
| -} // namespace aura |
| +} // namespace ash |
| #endif // ASH_WM_WINDOW_RESIZER_H_ |