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/property_util.h" |
10 #include "ash/wm/shadow_types.h" | 10 #include "ash/wm/shadow_types.h" |
11 #include "ui/aura/window.h" | 11 #include "ui/aura/window.h" |
12 #include "ui/base/ui_base_types.h" | 12 #include "ui/base/ui_base_types.h" |
13 | 13 |
14 namespace ui_controls { | 14 namespace ui_controls { |
15 class UIControlsAura; | 15 class UIControlsAura; |
16 } | 16 } |
17 | 17 |
18 namespace ash { | 18 namespace ash { |
19 namespace internal { | 19 namespace internal { |
20 class AlwaysOnTopController; | 20 class AlwaysOnTopController; |
| 21 class RootWindowController; |
21 | 22 |
22 // Shell-specific window property keys. | 23 // Shell-specific window property keys. |
23 | 24 |
24 // Alphabetical sort. | 25 // Alphabetical sort. |
25 | 26 |
26 // A Key to store AlwaysOnTopController per RootWindow. The value is | 27 // A Key to store AlwaysOnTopController per RootWindow. The value is |
27 // owned by the RootWindow. | 28 // owned by the RootWindow. |
28 extern const aura::WindowProperty<internal::AlwaysOnTopController*>* const | 29 extern const aura::WindowProperty<internal::AlwaysOnTopController*>* const |
29 kAlwaysOnTopControllerKey; | 30 kAlwaysOnTopControllerKey; |
30 | 31 |
(...skipping 14 matching lines...) Expand all Loading... |
45 extern const aura::WindowProperty<ui_controls::UIControlsAura*>* const | 46 extern const aura::WindowProperty<ui_controls::UIControlsAura*>* const |
46 kUIControlsKey; | 47 kUIControlsKey; |
47 | 48 |
48 extern const aura::WindowProperty<WindowPersistsAcrossAllWorkspacesType>* const | 49 extern const aura::WindowProperty<WindowPersistsAcrossAllWorkspacesType>* const |
49 kWindowPersistsAcrossAllWorkspacesKey; | 50 kWindowPersistsAcrossAllWorkspacesKey; |
50 | 51 |
51 // True if the window is controlled by the workspace manager. | 52 // True if the window is controlled by the workspace manager. |
52 extern const aura::WindowProperty<bool>* const | 53 extern const aura::WindowProperty<bool>* const |
53 kWindowTrackedByWorkspaceKey; | 54 kWindowTrackedByWorkspaceKey; |
54 | 55 |
| 56 extern const aura::WindowProperty<RootWindowController*>* const |
| 57 kRootWindowControllerKey; |
| 58 |
55 // Alphabetical sort. | 59 // Alphabetical sort. |
56 | 60 |
57 } // namespace internal | 61 } // namespace internal |
58 } // namespace ash | 62 } // namespace ash |
59 | 63 |
60 #endif // ASH_WM_WINDOW_PROPERTIES_H_ | 64 #endif // ASH_WM_WINDOW_PROPERTIES_H_ |
OLD | NEW |