| Index: ash/wm/window_state.cc
|
| diff --git a/ash/wm/window_state.cc b/ash/wm/window_state.cc
|
| index 94335cc0f02c526c17980cdc7272b46a82238d8c..bf6bc2253a91e7075cc17db9491bfc4c6b994501 100644
|
| --- a/ash/wm/window_state.cc
|
| +++ b/ash/wm/window_state.cc
|
| @@ -143,6 +143,11 @@ bool WindowState::IsDocked() const {
|
| GetStateType() == WINDOW_STATE_TYPE_DOCKED_MINIMIZED;
|
| }
|
|
|
| +bool WindowState::IsUserPositionable() const {
|
| + return (window()->type() == ui::wm::WINDOW_TYPE_NORMAL ||
|
| + window()->type() == ui::wm::WINDOW_TYPE_PANEL);
|
| +}
|
| +
|
| bool WindowState::CanMaximize() const {
|
| // Window must have the kCanMaximizeKey and have no maximum width or height.
|
| if (!window()->GetProperty(aura::client::kCanMaximizeKey))
|
|
|