| 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 |
| (...skipping 11 matching lines...) Expand all Loading... |
| 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 | 28 // A property key to suppress the cross-fade animation for the transition to |
| 29 // the fullscreen state. | 29 // the fullscreen state. |
| 30 extern const aura::WindowProperty<bool>* const kAnimateToFullscreenKey; | 30 extern const aura::WindowProperty<bool>* const kAnimateToFullscreenKey; |
| 31 | 31 |
| 32 // A property key to indicate whether there is any chrome at all that cannot be | |
| 33 // hidden when the window is fullscreen. This is unrelated to whether the full | |
| 34 // chrome can be revealed by hovering the mouse at the top of the screen. | |
| 35 ASH_EXPORT extern const aura::WindowProperty<bool>* const | |
| 36 kFullscreenUsesMinimalChromeKey; | |
| 37 | |
| 38 // If this is set to true, the window stays in the same root window | 32 // If this is set to true, the window stays in the same root window |
| 39 // even if the bounds outside of its root window is set. | 33 // even if the bounds outside of its root window is set. |
| 40 // This is exported as it's used in the tests. | 34 // This is exported as it's used in the tests. |
| 41 ASH_EXPORT extern const aura::WindowProperty<bool>* const | 35 ASH_EXPORT extern const aura::WindowProperty<bool>* const |
| 42 kStayInSameRootWindowKey; | 36 kStayInSameRootWindowKey; |
| 43 | 37 |
| 44 // Property to tell if the container uses the screen coordinates. | 38 // Property to tell if the container uses the screen coordinates. |
| 45 extern const aura::WindowProperty<bool>* const kUsesScreenCoordinatesKey; | 39 extern const aura::WindowProperty<bool>* const kUsesScreenCoordinatesKey; |
| 46 | 40 |
| 47 // A property key to store WindowState in the window. The window state | 41 // A property key to store WindowState in the window. The window state |
| 48 // is owned by the window. | 42 // is owned by the window. |
| 49 extern const aura::WindowProperty<wm::WindowState*>* const kWindowStateKey; | 43 extern const aura::WindowProperty<wm::WindowState*>* const kWindowStateKey; |
| 50 | 44 |
| 51 // Alphabetical sort. | 45 // Alphabetical sort. |
| 52 | 46 |
| 53 } // namespace internal | 47 } // namespace internal |
| 54 } // namespace ash | 48 } // namespace ash |
| 55 | 49 |
| 56 #endif // ASH_WM_WINDOW_PROPERTIES_H_ | 50 #endif // ASH_WM_WINDOW_PROPERTIES_H_ |
| OLD | NEW |