| 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 "ui/base/ui_base_types.h" | 9 #include "ui/base/ui_base_types.h" |
| 10 | 10 |
| 11 namespace aura { | 11 namespace aura { |
| 12 class Window; | 12 class Window; |
| 13 | 13 |
| 14 template<typename T> | 14 template<typename T> |
| 15 struct WindowProperty; | 15 struct WindowProperty; |
| 16 } | 16 } |
| 17 | 17 |
| 18 namespace ash { | 18 namespace ash { |
| 19 namespace wm { | 19 namespace wm { |
| 20 class WindowState; | 20 class WindowState; |
| 21 } // namespace wm | 21 } // namespace wm |
| 22 namespace internal { | 22 namespace internal { |
| 23 | 23 |
| 24 // Shell-specific window property keys. | 24 // Shell-specific window property keys. |
| 25 | 25 |
| 26 // Alphabetical sort. | 26 // Alphabetical sort. |
| 27 | 27 |
| 28 // A property key to suppress the cross-fade animation for the transition to | |
| 29 // the fullscreen state. | |
| 30 extern const aura::WindowProperty<bool>* const kAnimateToFullscreenKey; | |
| 31 | |
| 32 // If this is set to true, the window stays in the same root window | 28 // If this is set to true, the window stays in the same root window |
| 33 // even if the bounds outside of its root window is set. | 29 // even if the bounds outside of its root window is set. |
| 34 // This is exported as it's used in the tests. | 30 // This is exported as it's used in the tests. |
| 35 ASH_EXPORT extern const aura::WindowProperty<bool>* const | 31 ASH_EXPORT extern const aura::WindowProperty<bool>* const |
| 36 kStayInSameRootWindowKey; | 32 kStayInSameRootWindowKey; |
| 37 | 33 |
| 38 // Property to tell if the container uses the screen coordinates. | 34 // Property to tell if the container uses the screen coordinates. |
| 39 extern const aura::WindowProperty<bool>* const kUsesScreenCoordinatesKey; | 35 extern const aura::WindowProperty<bool>* const kUsesScreenCoordinatesKey; |
| 40 | 36 |
| 41 // A property key to store WindowState in the window. The window state | 37 // A property key to store WindowState in the window. The window state |
| 42 // is owned by the window. | 38 // is owned by the window. |
| 43 extern const aura::WindowProperty<wm::WindowState*>* const kWindowStateKey; | 39 extern const aura::WindowProperty<wm::WindowState*>* const kWindowStateKey; |
| 44 | 40 |
| 45 // Alphabetical sort. | 41 // Alphabetical sort. |
| 46 | 42 |
| 47 } // namespace internal | 43 } // namespace internal |
| 48 } // namespace ash | 44 } // namespace ash |
| 49 | 45 |
| 50 #endif // ASH_WM_WINDOW_PROPERTIES_H_ | 46 #endif // ASH_WM_WINDOW_PROPERTIES_H_ |
| OLD | NEW |