| Index: ash/wm/window_state.h
|
| diff --git a/ash/wm/window_state.h b/ash/wm/window_state.h
|
| index 2bbdd035b0d127d001746d55ddfc9ba0b96d426b..bf0c70213b1178b5f1953e44615ec0ea04e95495 100644
|
| --- a/ash/wm/window_state.h
|
| +++ b/ash/wm/window_state.h
|
| @@ -69,6 +69,7 @@ class ASH_EXPORT WindowState : public aura::WindowObserver {
|
| bool IsNormalShowState() const;
|
| bool IsActive() const;
|
| bool IsDocked() const;
|
| + bool IsSnapped() const;
|
|
|
| // Checks if the window can change its state accordingly.
|
| bool CanMaximize() const;
|
| @@ -257,6 +258,9 @@ class ASH_EXPORT WindowState : public aura::WindowObserver {
|
| void SnapWindow(WindowShowType left_or_right,
|
| const gfx::Rect& bounds);
|
|
|
| + // Allows window to be repositioned away from the screen edge.
|
| + void SetWindowShowTypeUnsnapped();
|
| +
|
| // The owner of this window settings.
|
| aura::Window* window_;
|
| scoped_ptr<WindowStateDelegate> delegate_;
|
|
|