| 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 d32b0be1e5571b39f67fc2f6e07fe580716e1cbd..4815291362417d972e0dc36b37e009f1966b8858 100644
|
| --- a/ash/wm/workspace/workspace_window_resizer.h
|
| +++ b/ash/wm/workspace/workspace_window_resizer.h
|
| @@ -25,6 +25,13 @@ class ASH_EXPORT WorkspaceWindowResizer : public WindowResizer {
|
| int grid_size);
|
| virtual ~WorkspaceWindowResizer();
|
|
|
| + // Sets whether windows should be scaled when dragging from the caption.
|
| + static void SetScaleWindowsForTest(bool value);
|
| +
|
| + // WindowResizer overrides:
|
| + virtual void CompleteDrag() OVERRIDE;
|
| + virtual void RevertDrag() OVERRIDE;
|
| +
|
| protected:
|
| // WindowResizer overrides:
|
| virtual gfx::Rect GetBoundsForDrag(const gfx::Point& location) OVERRIDE;
|
| @@ -43,6 +50,11 @@ class ASH_EXPORT WorkspaceWindowResizer : public WindowResizer {
|
| // Returns true if the window touches the bottom of the work area.
|
| bool WindowTouchesBottomOfScreen() const;
|
|
|
| + // True if we scaled the window.
|
| + const bool scale_window_;
|
| +
|
| + static bool scale_windows_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(WorkspaceWindowResizer);
|
| };
|
|
|
|
|