| Index: ash/wm/workspace/workspace_window_resizer.h
|
| diff --git a/ash/wm/workspace/workspace_window_resizer.h b/ash/wm/workspace/workspace_window_resizer.h
|
| index 424e47d29f4890086fa5d3e49d694360e1a3eb2b..aee9b2b70b8f2812a01baeadb0a811a61286dcce 100644
|
| --- a/ash/wm/workspace/workspace_window_resizer.h
|
| +++ b/ash/wm/workspace/workspace_window_resizer.h
|
| @@ -20,6 +20,7 @@ namespace internal {
|
| class PhantomWindowController;
|
| class SnapSizer;
|
| class WindowSize;
|
| +class WorkspaceWindowResizerTest;
|
|
|
| // WindowResizer implementation for workspaces. This enforces that windows are
|
| // not allowed to vertically move or resize outside of the work area. As windows
|
| @@ -49,18 +50,19 @@ class ASH_EXPORT WorkspaceWindowResizer : public WindowResizer {
|
| int window_component,
|
| const std::vector<aura::Window*>& attached_windows);
|
|
|
| - // Overridden from WindowResizer:
|
| + // WindowResizer:
|
| virtual void Drag(const gfx::Point& location_in_parent,
|
| 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;
|
| - }
|
| -
|
| private:
|
| + friend class internal::WorkspaceWindowResizerTest;
|
| +
|
| + // WindowResizer:
|
| + virtual const gfx::Point& GetInitialLocationForTest() const OVERRIDE;
|
| +
|
| WorkspaceWindowResizer(const Details& details,
|
| const std::vector<aura::Window*>& attached_windows);
|
|
|
|
|