| Index: ash/common/wm/window_state.h
|
| diff --git a/ash/common/wm/window_state.h b/ash/common/wm/window_state.h
|
| index c7f2a1634ba1b03beb3b7725d053dac5e4387ef3..5da40507baa550b3797a1bd578392da91e860eba 100644
|
| --- a/ash/common/wm/window_state.h
|
| +++ b/ash/common/wm/window_state.h
|
| @@ -17,6 +17,9 @@
|
|
|
| namespace aura {
|
| class Window;
|
| +namespace client {
|
| +enum class WindowPinType;
|
| +}
|
| }
|
|
|
| namespace gfx {
|
| @@ -307,6 +310,9 @@ class ASH_EXPORT WindowState {
|
| // Called from the associated WmWindow once the show state changes.
|
| void OnWindowShowStateChanged();
|
|
|
| + // Called from the associated WmWindow once the window pin type changes.
|
| + void OnWindowPinTypeChanged();
|
| +
|
| protected:
|
| explicit WindowState(WmWindow* window);
|
|
|
| @@ -333,9 +339,10 @@ class ASH_EXPORT WindowState {
|
| // workspace if the window represented by |window_state| is side snapped.
|
| void AdjustSnappedBounds(gfx::Rect* bounds);
|
|
|
| - // Updates the window show state according to the current window state type.
|
| + // Updates the window properties(show state, pin type) according to the
|
| + // current window state type.
|
| // Note that this does not update the window bounds.
|
| - void UpdateWindowShowStateFromStateType();
|
| + void UpdateWindowPropertiesFromStateType();
|
|
|
| void NotifyPreStateTypeChange(WindowStateType old_window_state_type);
|
| void NotifyPostStateTypeChange(WindowStateType old_window_state_type);
|
|
|