Chromium Code Reviews| Index: ash/wm/workspace/frame_maximize_button.h |
| diff --git a/ash/wm/workspace/frame_maximize_button.h b/ash/wm/workspace/frame_maximize_button.h |
| index 2b0eec7b4c6aee689acacbff67786bb52cba8411..e0711454d0c14e4f238ffd7a3815dd9f6d67e6bd 100644 |
| --- a/ash/wm/workspace/frame_maximize_button.h |
| +++ b/ash/wm/workspace/frame_maximize_button.h |
| @@ -96,14 +96,15 @@ class ASH_EXPORT FrameMaximizeButton : public views::ImageButton, |
| SnapType SnapTypeForLocation(const gfx::Point& location) const; |
| // Returns the bounds of the resulting window for the specified type. |
| - gfx::Rect ScreenBoundsForType(SnapType type) const; |
| + gfx::Rect ScreenBoundsForType(SnapType type, |
| + internal::SnapSizer* snap_sizer) const; |
|
sky
2012/08/08 17:26:01
Make this and Snap take a const SnapSizer& (and re
Mr4D (OOO till 08-26)
2012/08/08 17:50:51
Done.
|
| // Converts location to screen coordinates and returns it. These are the |
| // coordinates used by the SnapSizer. |
| gfx::Point LocationForSnapSizer(const gfx::Point& location) const; |
| // Snaps the window to the current snap position. |
| - void Snap(); |
| + void Snap(internal::SnapSizer* snap_sizer); |
| // Frame that the maximize button acts on. |
| views::NonClientFrameView* frame_; |