| Index: chrome/browser/ui/views/ash/window_positioner.h
|
| diff --git a/chrome/browser/ui/views/ash/window_positioner.h b/chrome/browser/ui/views/ash/window_positioner.h
|
| index 599ac53891eda483fbbba04b8670e9c07ee94758..76cc12373d5242ccc2c3b3e133285f27686f5c23 100644
|
| --- a/chrome/browser/ui/views/ash/window_positioner.h
|
| +++ b/chrome/browser/ui/views/ash/window_positioner.h
|
| @@ -31,12 +31,18 @@ class WindowPositioner {
|
| // Find a smart way to position the popup window. If there is no space this
|
| // function will return an empty rectangle.
|
| gfx::Rect SmartPopupPosition(const gfx::Rect& old_pos,
|
| - const gfx::Rect& work_space);
|
| + const gfx::Rect& work_space,
|
| + int grid);
|
|
|
| // Find the next available cascading popup position (on the given screen).
|
| gfx::Rect NormalPopupPosition(const gfx::Rect& old_pos,
|
| const gfx::Rect& work_space);
|
|
|
| + // Align the location to the grid / snap to the right / bottom corner.
|
| + gfx::Rect AlignPopupPosition(const gfx::Rect &pos,
|
| + const gfx::Rect &work_space,
|
| + int grid);
|
| +
|
| // Constants to identify the type of resize.
|
| static const int kBoundsChange_None;
|
|
|
|
|