| Index: ash/common/wm/window_state.cc
|
| diff --git a/ash/common/wm/window_state.cc b/ash/common/wm/window_state.cc
|
| index aa8e4aa4ab396c4dad36b703d2e7b2f6c4b446a8..abcd56d2121d4439ac49bf1c6c8aa5e423bc6c17 100644
|
| --- a/ash/common/wm/window_state.cc
|
| +++ b/ash/common/wm/window_state.cc
|
| @@ -75,8 +75,7 @@ bool WindowState::IsFullscreen() const {
|
|
|
| bool WindowState::IsMaximizedOrFullscreenOrPinned() const {
|
| return GetStateType() == WINDOW_STATE_TYPE_MAXIMIZED ||
|
| - GetStateType() == WINDOW_STATE_TYPE_FULLSCREEN ||
|
| - GetStateType() == WINDOW_STATE_TYPE_PINNED;
|
| + GetStateType() == WINDOW_STATE_TYPE_FULLSCREEN || IsPinned();
|
| }
|
|
|
| bool WindowState::IsSnapped() const {
|
| @@ -85,7 +84,8 @@ bool WindowState::IsSnapped() const {
|
| }
|
|
|
| bool WindowState::IsPinned() const {
|
| - return GetStateType() == WINDOW_STATE_TYPE_PINNED;
|
| + return GetStateType() == WINDOW_STATE_TYPE_PINNED ||
|
| + GetStateType() == WINDOW_STATE_TYPE_TRUSTED_PINNED;
|
| }
|
|
|
| bool WindowState::IsNormalStateType() const {
|
|
|