| 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" | |
| 11 #include "ui/aura/window.h" | 10 #include "ui/aura/window.h" |
| 12 #include "ui/base/ui_base_types.h" | 11 #include "ui/base/ui_base_types.h" |
| 13 | 12 |
| 14 namespace gfx { | 13 namespace gfx { |
| 15 class Rect; | 14 class Rect; |
| 16 } | 15 } |
| 17 | 16 |
| 18 namespace ui_controls { | 17 namespace ui_controls { |
| 19 class UIControlsAura; | 18 class UIControlsAura; |
| 20 } | 19 } |
| (...skipping 23 matching lines...) Expand all Loading... |
| 44 extern const aura::WindowProperty<bool>* const | 43 extern const aura::WindowProperty<bool>* const |
| 45 kIgnoredByShelfKey; | 44 kIgnoredByShelfKey; |
| 46 | 45 |
| 47 // Used to remember the show state before the window was minimized. | 46 // Used to remember the show state before the window was minimized. |
| 48 extern const aura::WindowProperty<ui::WindowShowState>* const | 47 extern const aura::WindowProperty<ui::WindowShowState>* const |
| 49 kRestoreShowStateKey; | 48 kRestoreShowStateKey; |
| 50 | 49 |
| 51 extern const aura::WindowProperty<RootWindowController*>* const | 50 extern const aura::WindowProperty<RootWindowController*>* const |
| 52 kRootWindowControllerKey; | 51 kRootWindowControllerKey; |
| 53 | 52 |
| 54 // A property key describing the drop shadow that should be displayed under the | |
| 55 // window. If unset, no shadow is displayed. | |
| 56 extern const aura::WindowProperty<ShadowType>* const kShadowTypeKey; | |
| 57 | |
| 58 // A property key to remember the frame painter for the solo-window in the root | 53 // A property key to remember the frame painter for the solo-window in the root |
| 59 // window. It is only available for root windows. | 54 // window. It is only available for root windows. |
| 60 ASH_EXPORT extern const aura::WindowProperty<ash::FramePainter*>* const | 55 ASH_EXPORT extern const aura::WindowProperty<ash::FramePainter*>* const |
| 61 kSoloWindowFramePainterKey; | 56 kSoloWindowFramePainterKey; |
| 62 | 57 |
| 63 // 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 |
| 64 // even if the bounds outside of its root window is set. | 59 // even if the bounds outside of its root window is set. |
| 65 // This is exported as it's used in the tests. | 60 // This is exported as it's used in the tests. |
| 66 ASH_EXPORT extern const aura::WindowProperty<bool>* const | 61 ASH_EXPORT extern const aura::WindowProperty<bool>* const |
| 67 kStayInSameRootWindowKey; | 62 kStayInSameRootWindowKey; |
| (...skipping 27 matching lines...) Expand all Loading... |
| 95 // True if the window is controlled by the workspace manager. | 90 // True if the window is controlled by the workspace manager. |
| 96 extern const aura::WindowProperty<bool>* const | 91 extern const aura::WindowProperty<bool>* const |
| 97 kWindowTrackedByWorkspaceKey; | 92 kWindowTrackedByWorkspaceKey; |
| 98 | 93 |
| 99 // Alphabetical sort. | 94 // Alphabetical sort. |
| 100 | 95 |
| 101 } // namespace internal | 96 } // namespace internal |
| 102 } // namespace ash | 97 } // namespace ash |
| 103 | 98 |
| 104 #endif // ASH_WM_WINDOW_PROPERTIES_H_ | 99 #endif // ASH_WM_WINDOW_PROPERTIES_H_ |
| OLD | NEW |