Chromium Code Reviews| 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..cfb9a737097cc8807beaa793f572670ac9cd777e 100644 |
| --- a/ash/wm/workspace/workspace_window_resizer.h |
| +++ b/ash/wm/workspace/workspace_window_resizer.h |
| @@ -135,15 +135,14 @@ class ASH_EXPORT WorkspaceWindowResizer : public WindowResizer { |
| void AdjustBoundsForMainWindow(int snap_size, gfx::Rect* bounds); |
| // Snaps the window bounds to the work area edges if necessary. |
|
sky
2013/04/22 17:20:00
If you're goal is to use 'stick' every where, whic
stevenjb
2013/04/22 18:09:41
Done.
|
| - void SnapToWorkAreaEdges( |
| - const gfx::Rect& work_area, |
| - int snap_size, |
| - gfx::Rect* bounds) const; |
| + void StickToWorkAreaEdges(const gfx::Rect& work_area, |
| + int sticky_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; |
| + void StickyResizeToWorkAreaBounds(const gfx::Rect& work_area, |
|
sky
2013/04/22 17:20:00
This name is awkward, maybe StickToWorkAreaBounds?
stevenjb
2013/04/22 18:09:41
Changed to StickToWorkAreaOnResize
|
| + 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. |