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