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 | 7 |
8 #include "ash/ash_export.h" | 8 #include "ash/ash_export.h" |
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" |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 // If this is set to true, the window stays in the same root window | 60 // If this is set to true, the window stays in the same root window |
61 // even if the bounds outside of its root window is set. | 61 // even if the bounds outside of its root window is set. |
62 // This is exported as it's used in the tests. | 62 // This is exported as it's used in the tests. |
63 ASH_EXPORT extern const aura::WindowProperty<bool>* const | 63 ASH_EXPORT extern const aura::WindowProperty<bool>* const |
64 kStayInSameRootWindowKey; | 64 kStayInSameRootWindowKey; |
65 | 65 |
66 // Used to store a ui_controls for each root window. | 66 // Used to store a ui_controls for each root window. |
67 extern const aura::WindowProperty<ui_controls::UIControlsAura*>* const | 67 extern const aura::WindowProperty<ui_controls::UIControlsAura*>* const |
68 kUIControlsKey; | 68 kUIControlsKey; |
69 | 69 |
70 // A property key to remember if a windows position or size was changed by a | |
71 // user. | |
72 ASH_EXPORT extern const aura::WindowProperty<bool>* const | |
73 kUserChangedWindowPositionOrSizeKey; | |
74 | |
75 // Property to tell if the container uses the screen coordinates. | 70 // Property to tell if the container uses the screen coordinates. |
76 extern const aura::WindowProperty<bool>* const kUsesScreenCoordinatesKey; | 71 extern const aura::WindowProperty<bool>* const kUsesScreenCoordinatesKey; |
77 | 72 |
78 extern const aura::WindowProperty<WindowPersistsAcrossAllWorkspacesType>* const | 73 extern const aura::WindowProperty<WindowPersistsAcrossAllWorkspacesType>* const |
79 kWindowPersistsAcrossAllWorkspacesKey; | 74 kWindowPersistsAcrossAllWorkspacesKey; |
80 | 75 |
81 // A property key to remember if a windows position can be managed by the | |
82 // workspace manager or not. | |
83 ASH_EXPORT extern const aura::WindowProperty<bool>* const | |
84 kWindowPositionManagedKey; | |
85 | |
86 // True if the window is controlled by the workspace manager. | 76 // True if the window is controlled by the workspace manager. |
87 extern const aura::WindowProperty<bool>* const | 77 extern const aura::WindowProperty<bool>* const |
88 kWindowTrackedByWorkspaceKey; | 78 kWindowTrackedByWorkspaceKey; |
89 | 79 |
90 // Alphabetical sort. | 80 // Alphabetical sort. |
91 | 81 |
92 } // namespace internal | 82 } // namespace internal |
93 } // namespace ash | 83 } // namespace ash |
94 | 84 |
95 #endif // ASH_WM_WINDOW_PROPERTIES_H_ | 85 #endif // ASH_WM_WINDOW_PROPERTIES_H_ |
OLD | NEW |