| 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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 // A property key to store if a window was created by a user gesture. | 61 // A property key to store if a window was created by a user gesture. |
| 62 AURA_EXPORT extern const WindowProperty<bool>* const kCreatedByUserGesture; | 62 AURA_EXPORT extern const WindowProperty<bool>* const kCreatedByUserGesture; |
| 63 | 63 |
| 64 // A property key to indicate that a window should show that it deserves | 64 // A property key to indicate that a window should show that it deserves |
| 65 // attention. | 65 // attention. |
| 66 AURA_EXPORT extern const WindowProperty<bool>* const kDrawAttentionKey; | 66 AURA_EXPORT extern const WindowProperty<bool>* const kDrawAttentionKey; |
| 67 | 67 |
| 68 // A property key to store the focus client on the window. | 68 // A property key to store the focus client on the window. |
| 69 AURA_EXPORT extern const WindowProperty<FocusClient*>* const kFocusClientKey; | 69 AURA_EXPORT extern const WindowProperty<FocusClient*>* const kFocusClientKey; |
| 70 | 70 |
| 71 // A bool property key to specify if the window should have a backdrop window | |
| 72 // (typically black) that covers the desktop behind the window. | |
| 73 AURA_EXPORT extern const WindowProperty<bool>* const kHasBackdrop; | |
| 74 | |
| 75 // A property key to store the host window of a window. This lets | 71 // A property key to store the host window of a window. This lets |
| 76 // WebContentsViews find the windows that should constrain NPAPI plugins. | 72 // WebContentsViews find the windows that should constrain NPAPI plugins. |
| 77 AURA_EXPORT extern const WindowProperty<Window*>* const kHostWindowKey; | 73 AURA_EXPORT extern const WindowProperty<Window*>* const kHostWindowKey; |
| 78 | 74 |
| 79 // A property key to indicate that a window should be in immersive mode when the | 75 // A property key to indicate that a window should be in immersive mode when the |
| 80 // window enters the fullscreen mode. The immersive fullscreen mode is slightly | 76 // window enters the fullscreen mode. The immersive fullscreen mode is slightly |
| 81 // different from the normal fullscreen mode by allowing the user to reveal the | 77 // different from the normal fullscreen mode by allowing the user to reveal the |
| 82 // top portion of the window through a touch / mouse gesture. | 78 // top portion of the window through a touch / mouse gesture. |
| 83 AURA_EXPORT extern const WindowProperty<bool>* const kImmersiveFullscreenKey; | 79 AURA_EXPORT extern const WindowProperty<bool>* const kImmersiveFullscreenKey; |
| 84 | 80 |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 139 | 135 |
| 140 AURA_EXPORT extern const WindowProperty<ui::mojom::WindowType>* const | 136 AURA_EXPORT extern const WindowProperty<ui::mojom::WindowType>* const |
| 141 kWindowTypeKey; | 137 kWindowTypeKey; |
| 142 | 138 |
| 143 // Alphabetical sort. | 139 // Alphabetical sort. |
| 144 | 140 |
| 145 } // namespace client | 141 } // namespace client |
| 146 } // namespace aura | 142 } // namespace aura |
| 147 | 143 |
| 148 #endif // UI_AURA_CLIENT_AURA_CONSTANTS_H_ | 144 #endif // UI_AURA_CLIENT_AURA_CONSTANTS_H_ |
| OLD | NEW |