Chromium Code Reviews| Index: ash/wm/drag_window_resizer.h |
| diff --git a/ash/wm/drag_window_resizer.h b/ash/wm/drag_window_resizer.h |
| index 817588274a18fedeb400d9374201cfcb37350359..4aa6e29f3fe26ef620653b5a040777130168044b 100644 |
| --- a/ash/wm/drag_window_resizer.h |
| +++ b/ash/wm/drag_window_resizer.h |
| @@ -29,15 +29,12 @@ class ASH_EXPORT DragWindowResizer : public WindowResizer { |
| const gfx::Point& location, |
| int window_component); |
| - // WindowResizer overides: |
| + // WindowResizer: |
| virtual void Drag(const gfx::Point& location, int event_flags) OVERRIDE; |
| virtual void CompleteDrag(int event_flags) OVERRIDE; |
| virtual void RevertDrag() OVERRIDE; |
| virtual aura::Window* GetTarget() OVERRIDE; |
| - |
| - const gfx::Point& GetInitialLocationInParentForTest() const { |
| - return details_.initial_location_in_parent; |
| - } |
| + virtual const gfx::Point& GetInitialLocation() const OVERRIDE; |
| private: |
| FRIEND_TEST_ALL_PREFIXES(DragWindowResizerTest, DragWindowController); |
| @@ -68,6 +65,9 @@ class ASH_EXPORT DragWindowResizer : public WindowResizer { |
| // been deleted. |
| bool* destroyed_; |
| + // Last instance created - for use by the DragWindowResizerTest. |
|
sky
2013/06/17 20:37:23
Last instance created -> Current instance
varkha
2013/06/18 03:22:27
While it is not possible with user interaction I t
flackr
2013/06/18 13:35:03
It is actually possible by dragging one window wit
|
| + static DragWindowResizer* instance_; |
| + |
| DISALLOW_COPY_AND_ASSIGN(DragWindowResizer); |
| }; |