| Index: ash/wm/common/window_positioning_utils.h
|
| diff --git a/ash/wm/common/window_positioning_utils.h b/ash/wm/common/window_positioning_utils.h
|
| index 8145082f7890b79376a36c4ae49abb42ceab3a2b..b0ad13501500bd58984b5c76de87bc0ec4c379ee 100644
|
| --- a/ash/wm/common/window_positioning_utils.h
|
| +++ b/ash/wm/common/window_positioning_utils.h
|
| @@ -15,6 +15,8 @@ class Size;
|
| namespace ash {
|
| namespace wm {
|
|
|
| +class WmWindow;
|
| +
|
| // We force at least this many DIPs for any window on the screen.
|
| const int kMinimumOnScreenArea = 25;
|
|
|
| @@ -38,6 +40,16 @@ ASH_EXPORT void AdjustBoundsToEnsureMinimumWindowVisibility(
|
| const gfx::Rect& visible_area,
|
| gfx::Rect* bounds);
|
|
|
| +// Returns the bounds of a left snapped window with default width in parent
|
| +// coordinates.
|
| +ASH_EXPORT gfx::Rect GetDefaultLeftSnappedWindowBoundsInParent(
|
| + WmWindow* window);
|
| +
|
| +// Returns the bounds of a right snapped window with default width in parent
|
| +// coordinates.
|
| +ASH_EXPORT gfx::Rect GetDefaultRightSnappedWindowBoundsInParent(
|
| + WmWindow* window);
|
| +
|
| } // namespace wm
|
| } // namespace ash
|
|
|
|
|