| 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" |
| 11 #include "ui/aura/window.h" | 11 #include "ui/aura/window.h" |
| 12 #include "ui/aura/window_property.h" |
| 12 #include "ui/base/ui_base_types.h" | 13 #include "ui/base/ui_base_types.h" |
| 13 | 14 |
| 14 namespace ui_controls { | 15 namespace ui_controls { |
| 15 class UIControlsAura; | 16 class UIControlsAura; |
| 16 } | 17 } |
| 17 | 18 |
| 18 namespace ash { | 19 namespace ash { |
| 19 class FramePainter; | 20 class FramePainter; |
| 20 namespace internal { | 21 namespace internal { |
| 21 class AlwaysOnTopController; | 22 class AlwaysOnTopController; |
| (...skipping 24 matching lines...) Expand all Loading... |
| 46 | 47 |
| 47 extern const aura::WindowProperty<RootWindowController*>* const | 48 extern const aura::WindowProperty<RootWindowController*>* const |
| 48 kRootWindowControllerKey; | 49 kRootWindowControllerKey; |
| 49 | 50 |
| 50 // A property key describing the drop shadow that should be displayed under the | 51 // A property key describing the drop shadow that should be displayed under the |
| 51 // window. If unset, no shadow is displayed. | 52 // window. If unset, no shadow is displayed. |
| 52 extern const aura::WindowProperty<ShadowType>* const kShadowTypeKey; | 53 extern const aura::WindowProperty<ShadowType>* const kShadowTypeKey; |
| 53 | 54 |
| 54 // A property key to remember the frame painter for the solo-window in the root | 55 // A property key to remember the frame painter for the solo-window in the root |
| 55 // window. It is only available for root windows. | 56 // window. It is only available for root windows. |
| 56 extern const aura::WindowProperty<ash::FramePainter*>* const | 57 ASH_EXPORT extern const aura::WindowProperty<ash::FramePainter*>* const |
| 57 kSoloWindowFramePainterKey; | 58 kSoloWindowFramePainterKey; |
| 58 | 59 |
| 59 // 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 |
| 60 // even if the bounds outside of its root window is set. | 61 // even if the bounds outside of its root window is set. |
| 61 // This is exported as it's used in the tests. | 62 // This is exported as it's used in the tests. |
| 62 ASH_EXPORT extern const aura::WindowProperty<bool>* const | 63 ASH_EXPORT extern const aura::WindowProperty<bool>* const |
| 63 kStayInSameRootWindowKey; | 64 kStayInSameRootWindowKey; |
| 64 | 65 |
| 65 // Used to store a ui_controls for each root window. | 66 // Used to store a ui_controls for each root window. |
| 66 extern const aura::WindowProperty<ui_controls::UIControlsAura*>* const | 67 extern const aura::WindowProperty<ui_controls::UIControlsAura*>* const |
| 67 kUIControlsKey; | 68 kUIControlsKey; |
| 68 | 69 |
| 69 // Property to tell if the container uses the screen coordinates. | 70 // Property to tell if the container uses the screen coordinates. |
| 70 extern const aura::WindowProperty<bool>* const kUsesScreenCoordinatesKey; | 71 extern const aura::WindowProperty<bool>* const kUsesScreenCoordinatesKey; |
| 71 | 72 |
| 72 extern const aura::WindowProperty<WindowPersistsAcrossAllWorkspacesType>* const | 73 extern const aura::WindowProperty<WindowPersistsAcrossAllWorkspacesType>* const |
| 73 kWindowPersistsAcrossAllWorkspacesKey; | 74 kWindowPersistsAcrossAllWorkspacesKey; |
| 74 | 75 |
| 75 // True if the window is controlled by the workspace manager. | 76 // True if the window is controlled by the workspace manager. |
| 76 extern const aura::WindowProperty<bool>* const | 77 extern const aura::WindowProperty<bool>* const |
| 77 kWindowTrackedByWorkspaceKey; | 78 kWindowTrackedByWorkspaceKey; |
| 78 | 79 |
| 79 // Alphabetical sort. | 80 // Alphabetical sort. |
| 80 | 81 |
| 81 } // namespace internal | 82 } // namespace internal |
| 82 } // namespace ash | 83 } // namespace ash |
| 83 | 84 |
| 84 #endif // ASH_WM_WINDOW_PROPERTIES_H_ | 85 #endif // ASH_WM_WINDOW_PROPERTIES_H_ |
| OLD | NEW |