OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef ASH_COMMON_WM_WM_TYPES_H_ | 5 #ifndef ASH_WM_WM_TYPES_H_ |
6 #define ASH_COMMON_WM_WM_TYPES_H_ | 6 #define ASH_WM_WM_TYPES_H_ |
7 | 7 |
8 #include "ash/ash_export.h" | 8 #include "ash/ash_export.h" |
9 #include "ui/base/ui_base_types.h" | 9 #include "ui/base/ui_base_types.h" |
10 | 10 |
11 namespace ash { | 11 namespace ash { |
12 namespace wm { | 12 namespace wm { |
13 | 13 |
14 // This enum defines both common show state copied from | 14 // This enum defines both common show state copied from |
15 // ui::WindowShowState as well as new states introduced in ash. | 15 // ui::WindowShowState as well as new states introduced in ash. |
16 // The separate enum is defined here because we don't want to leak | 16 // The separate enum is defined here because we don't want to leak |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 ASH_EXPORT ui::WindowShowState ToWindowShowState(WindowStateType type); | 56 ASH_EXPORT ui::WindowShowState ToWindowShowState(WindowStateType type); |
57 | 57 |
58 // Returns true if |type| is WINDOW_STATE_TYPE_MAXIMIZED, | 58 // Returns true if |type| is WINDOW_STATE_TYPE_MAXIMIZED, |
59 // WINDOW_STATE_TYPE_FULLSCREEN or WINDOW_STATE_TYPE_PINNED. | 59 // WINDOW_STATE_TYPE_FULLSCREEN or WINDOW_STATE_TYPE_PINNED. |
60 ASH_EXPORT bool IsMaximizedOrFullscreenOrPinnedWindowStateType( | 60 ASH_EXPORT bool IsMaximizedOrFullscreenOrPinnedWindowStateType( |
61 WindowStateType type); | 61 WindowStateType type); |
62 | 62 |
63 } // namespace wm | 63 } // namespace wm |
64 } // namespace ash | 64 } // namespace ash |
65 | 65 |
66 #endif // ASH_COMMON_WM_WM_TYPES_H_ | 66 #endif // ASH_WM_WM_TYPES_H_ |
OLD | NEW |