OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_WM_WINDOW_PROPERTIES_H_ | 5 #ifndef ASH_WM_WINDOW_PROPERTIES_H_ |
6 #define ASH_WM_WINDOW_PROPERTIES_H_ | 6 #define ASH_WM_WINDOW_PROPERTIES_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
| 9 #include "ash/wm/property_util.h" |
9 #include "ash/wm/shadow_types.h" | 10 #include "ash/wm/shadow_types.h" |
10 #include "ui/aura/window.h" | 11 #include "ui/aura/window.h" |
| 12 #include "ui/base/ui_base_types.h" |
11 | 13 |
12 namespace ash { | 14 namespace ash { |
13 namespace internal { | 15 namespace internal { |
14 | 16 |
15 // Shell-specific window property keys. | 17 // Shell-specific window property keys. |
16 | 18 |
17 // Alphabetical sort. | 19 // Alphabetical sort. |
18 | 20 |
| 21 // Property set on all windows whose child windows' visibility changes are |
| 22 // animated. |
| 23 extern const aura::WindowProperty<bool>* const |
| 24 kChildWindowVisibilityChangesAnimatedKey; |
| 25 |
| 26 // Used to remember the show state before the window was minimized. |
| 27 extern const aura::WindowProperty<ui::WindowShowState>* const |
| 28 kRestoreShowStateKey; |
| 29 |
19 // A property key describing the drop shadow that should be displayed under the | 30 // A property key describing the drop shadow that should be displayed under the |
20 // window. If unset, no shadow is displayed. | 31 // window. If unset, no shadow is displayed. |
21 extern const aura::WindowProperty<ShadowType>* const kShadowTypeKey; | 32 extern const aura::WindowProperty<ShadowType>* const kShadowTypeKey; |
22 | 33 |
| 34 extern const aura::WindowProperty<WindowPersistsAcrossAllWorkspacesType>* const |
| 35 kWindowPersistsAcrossAllWorkspacesKey; |
| 36 |
| 37 // True if the window is controlled by the workspace manager. |
| 38 extern const aura::WindowProperty<bool>* const |
| 39 kWindowTrackedByWorkspaceKey; |
| 40 |
23 // Alphabetical sort. | 41 // Alphabetical sort. |
24 | 42 |
25 } // namespace internal | 43 } // namespace internal |
26 } // namespace ash | 44 } // namespace ash |
27 | 45 |
28 #endif // ASH_WM_WINDOW_PROPERTIES_H_ | 46 #endif // ASH_WM_WINDOW_PROPERTIES_H_ |
OLD | NEW |