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 |
70 // Property to tell if the container uses the screen coordinates. | 75 // Property to tell if the container uses the screen coordinates. |
71 extern const aura::WindowProperty<bool>* const kUsesScreenCoordinatesKey; | 76 extern const aura::WindowProperty<bool>* const kUsesScreenCoordinatesKey; |
72 | 77 |
73 extern const aura::WindowProperty<WindowPersistsAcrossAllWorkspacesType>* const | 78 extern const aura::WindowProperty<WindowPersistsAcrossAllWorkspacesType>* const |
74 kWindowPersistsAcrossAllWorkspacesKey; | 79 kWindowPersistsAcrossAllWorkspacesKey; |
75 | 80 |
| 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 |
76 // True if the window is controlled by the workspace manager. | 86 // True if the window is controlled by the workspace manager. |
77 extern const aura::WindowProperty<bool>* const | 87 extern const aura::WindowProperty<bool>* const |
78 kWindowTrackedByWorkspaceKey; | 88 kWindowTrackedByWorkspaceKey; |
79 | 89 |
80 // Alphabetical sort. | 90 // Alphabetical sort. |
81 | 91 |
82 } // namespace internal | 92 } // namespace internal |
83 } // namespace ash | 93 } // namespace ash |
84 | 94 |
85 #endif // ASH_WM_WINDOW_PROPERTIES_H_ | 95 #endif // ASH_WM_WINDOW_PROPERTIES_H_ |
OLD | NEW |