| 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 UI_AURA_CLIENT_AURA_CONSTANTS_H_ | 5 #ifndef UI_AURA_CLIENT_AURA_CONSTANTS_H_ |
| 6 #define UI_AURA_CLIENT_AURA_CONSTANTS_H_ | 6 #define UI_AURA_CLIENT_AURA_CONSTANTS_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/strings/string16.h" | 10 #include "base/strings/string16.h" |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 46 // pointer metrics. See AppType in ash/shared/app_types.h for more details. | 46 // pointer metrics. See AppType in ash/shared/app_types.h for more details. |
| 47 AURA_EXPORT extern const WindowProperty<int>* const kAppType; | 47 AURA_EXPORT extern const WindowProperty<int>* const kAppType; |
| 48 | 48 |
| 49 // A property key to store if a window is a constrained window or not. | 49 // A property key to store if a window is a constrained window or not. |
| 50 AURA_EXPORT extern const WindowProperty<bool>* const kConstrainedWindowKey; | 50 AURA_EXPORT extern const WindowProperty<bool>* const kConstrainedWindowKey; |
| 51 | 51 |
| 52 // A property key to indicate that a window should show that it deserves | 52 // A property key to indicate that a window should show that it deserves |
| 53 // attention. | 53 // attention. |
| 54 AURA_EXPORT extern const aura::WindowProperty<bool>* const kDrawAttentionKey; | 54 AURA_EXPORT extern const aura::WindowProperty<bool>* const kDrawAttentionKey; |
| 55 | 55 |
| 56 // A property key to indicate that a window should be in immersive mode when the |
| 57 // window enters the fullscreen mode. The immersive fullscreen mode is slightly |
| 58 // different from the normal fullscreen mode by allowing the user to reveal the |
| 59 // top portion of the window through a touch / mouse gesture. |
| 60 AURA_EXPORT extern const aura::WindowProperty<bool>* const |
| 61 kImmersiveFullscreenKey; |
| 62 |
| 56 // A property key to indicate that a window is being "mirrored" and its contents | 63 // A property key to indicate that a window is being "mirrored" and its contents |
| 57 // should render regardless of its actual visibility state. | 64 // should render regardless of its actual visibility state. |
| 58 AURA_EXPORT extern const aura::WindowProperty<bool>* const kMirroringEnabledKey; | 65 AURA_EXPORT extern const aura::WindowProperty<bool>* const kMirroringEnabledKey; |
| 59 | 66 |
| 60 // A property key to store the host window of a window. This lets | 67 // A property key to store the host window of a window. This lets |
| 61 // WebContentsViews find the windows that should constrain NPAPI plugins. | 68 // WebContentsViews find the windows that should constrain NPAPI plugins. |
| 62 AURA_EXPORT extern const WindowProperty<Window*>* const kHostWindowKey; | 69 AURA_EXPORT extern const WindowProperty<Window*>* const kHostWindowKey; |
| 63 | 70 |
| 64 // A property key to store the window modality. | 71 // A property key to store the window modality. |
| 65 AURA_EXPORT extern const WindowProperty<ui::ModalType>* const kModalKey; | 72 AURA_EXPORT extern const WindowProperty<ui::ModalType>* const kModalKey; |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 111 | 118 |
| 112 AURA_EXPORT extern const aura::WindowProperty<ui::mojom::WindowType>* const | 119 AURA_EXPORT extern const aura::WindowProperty<ui::mojom::WindowType>* const |
| 113 kWindowTypeKey; | 120 kWindowTypeKey; |
| 114 | 121 |
| 115 // Alphabetical sort. | 122 // Alphabetical sort. |
| 116 | 123 |
| 117 } // namespace client | 124 } // namespace client |
| 118 } // namespace aura | 125 } // namespace aura |
| 119 | 126 |
| 120 #endif // UI_AURA_CLIENT_AURA_CONSTANTS_H_ | 127 #endif // UI_AURA_CLIENT_AURA_CONSTANTS_H_ |
| OLD | NEW |