| Index: ash/common/wm/window_positioning_utils.h
|
| diff --git a/ash/common/wm/window_positioning_utils.h b/ash/common/wm/window_positioning_utils.h
|
| index 30aca7ac28ff5d350773efb318caa42da369f8c2..06361762922311fb933dd5c17e4acd2fdefc6ac8 100644
|
| --- a/ash/common/wm/window_positioning_utils.h
|
| +++ b/ash/common/wm/window_positioning_utils.h
|
| @@ -7,6 +7,10 @@
|
|
|
| #include "ash/ash_export.h"
|
|
|
| +namespace display {
|
| +class Display;
|
| +}
|
| +
|
| namespace gfx {
|
| class Rect;
|
| class Size;
|
| @@ -54,6 +58,12 @@ ASH_EXPORT gfx::Rect GetDefaultRightSnappedWindowBoundsInParent(
|
| // Moves the window to the center of the display.
|
| ASH_EXPORT void CenterWindow(WmWindow* window);
|
|
|
| +// Sets the bounds of |window| to |bounds|. This may move |window| to |display|
|
| +// if necessary.
|
| +ASH_EXPORT void SetBoundsInScreen(WmWindow* window,
|
| + const gfx::Rect& bounds,
|
| + const display::Display& display);
|
| +
|
| } // namespace wm
|
| } // namespace ash
|
|
|
|
|