| 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 4c71285471a31a7e4d7b614bd166d10bb2fbaaf0..424e47d29f4890086fa5d3e49d694360e1a3eb2b 100644
|
| --- a/ash/wm/workspace/workspace_window_resizer.h
|
| +++ b/ash/wm/workspace/workspace_window_resizer.h
|
| @@ -134,16 +134,15 @@ class ASH_EXPORT WorkspaceWindowResizer : public WindowResizer {
|
| // snapping.
|
| void AdjustBoundsForMainWindow(int snap_size, gfx::Rect* bounds);
|
|
|
| - // Snaps the window bounds to the work area edges if necessary.
|
| - void SnapToWorkAreaEdges(
|
| - const gfx::Rect& work_area,
|
| - int snap_size,
|
| - gfx::Rect* bounds) const;
|
| -
|
| - // Snaps the window bounds to the work area during a resize.
|
| - void SnapResizeToWorkAreaBounds(const gfx::Rect& work_area,
|
| - int snap_size,
|
| - gfx::Rect* bounds) const;
|
| + // Stick the window bounds to the work area during a move.
|
| + void StickToWorkAreaOnMove(const gfx::Rect& work_area,
|
| + int sticky_size,
|
| + gfx::Rect* bounds) const;
|
| +
|
| + // Stick the window bounds to the work area during a resize.
|
| + void StickToWorkAreaOnResize(const gfx::Rect& work_area,
|
| + int sticky_size,
|
| + gfx::Rect* bounds) const;
|
|
|
| // Returns a coordinate along the primary axis. Used to share code for
|
| // left/right multi window resize and top/bottom resize.
|
|
|