| 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 "ui/aura/window.h" | 10 #include "ui/aura/window.h" |
| 11 #include "ui/base/ui_base_types.h" | 11 #include "ui/base/ui_base_types.h" |
| 12 | 12 |
| 13 namespace gfx { | 13 namespace gfx { |
| 14 class Rect; | 14 class Rect; |
| 15 } | 15 } |
| 16 | 16 |
| 17 namespace ui_controls { | 17 namespace ui_controls { |
| 18 class UIControlsAura; | 18 class UIControls; |
| 19 } | 19 } |
| 20 | 20 |
| 21 namespace ash { | 21 namespace ash { |
| 22 class FramePainter; | 22 class FramePainter; |
| 23 namespace internal { | 23 namespace internal { |
| 24 class AlwaysOnTopController; | 24 class AlwaysOnTopController; |
| 25 class RootWindowController; | 25 class RootWindowController; |
| 26 | 26 |
| 27 // Shell-specific window property keys. | 27 // Shell-specific window property keys. |
| 28 | 28 |
| (...skipping 26 matching lines...) Expand all Loading... |
| 55 ASH_EXPORT extern const aura::WindowProperty<ash::FramePainter*>* const | 55 ASH_EXPORT extern const aura::WindowProperty<ash::FramePainter*>* const |
| 56 kSoloWindowFramePainterKey; | 56 kSoloWindowFramePainterKey; |
| 57 | 57 |
| 58 // If this is set to true, the window stays in the same root window | 58 // If this is set to true, the window stays in the same root window |
| 59 // even if the bounds outside of its root window is set. | 59 // even if the bounds outside of its root window is set. |
| 60 // This is exported as it's used in the tests. | 60 // This is exported as it's used in the tests. |
| 61 ASH_EXPORT extern const aura::WindowProperty<bool>* const | 61 ASH_EXPORT extern const aura::WindowProperty<bool>* const |
| 62 kStayInSameRootWindowKey; | 62 kStayInSameRootWindowKey; |
| 63 | 63 |
| 64 // Used to store a ui_controls for each root window. | 64 // Used to store a ui_controls for each root window. |
| 65 extern const aura::WindowProperty<ui_controls::UIControlsAura*>* const | 65 extern const aura::WindowProperty<ui_controls::UIControls*>* const |
| 66 kUIControlsKey; | 66 kUIControlsKey; |
| 67 | 67 |
| 68 // A property key to remember if a windows position or size was changed by a | 68 // A property key to remember if a windows position or size was changed by a |
| 69 // user. | 69 // user. |
| 70 ASH_EXPORT extern const aura::WindowProperty<bool>* const | 70 ASH_EXPORT extern const aura::WindowProperty<bool>* const |
| 71 kUserChangedWindowPositionOrSizeKey; | 71 kUserChangedWindowPositionOrSizeKey; |
| 72 | 72 |
| 73 // A property to remember the window position which was set before the | 73 // A property to remember the window position which was set before the |
| 74 // auto window position manager changed the window bounds, so that it can get | 74 // auto window position manager changed the window bounds, so that it can get |
| 75 // restored when only this one window gets shown. | 75 // restored when only this one window gets shown. |
| (...skipping 14 matching lines...) Expand all Loading... |
| 90 // True if the window is controlled by the workspace manager. | 90 // True if the window is controlled by the workspace manager. |
| 91 extern const aura::WindowProperty<bool>* const | 91 extern const aura::WindowProperty<bool>* const |
| 92 kWindowTrackedByWorkspaceKey; | 92 kWindowTrackedByWorkspaceKey; |
| 93 | 93 |
| 94 // Alphabetical sort. | 94 // Alphabetical sort. |
| 95 | 95 |
| 96 } // namespace internal | 96 } // namespace internal |
| 97 } // namespace ash | 97 } // namespace ash |
| 98 | 98 |
| 99 #endif // ASH_WM_WINDOW_PROPERTIES_H_ | 99 #endif // ASH_WM_WINDOW_PROPERTIES_H_ |
| OLD | NEW |