| 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 |
| 71 // A property key to store the host window of a window. This lets | 75 // A property key to store the host window of a window. This lets |
| 72 // WebContentsViews find the windows that should constrain NPAPI plugins. | 76 // WebContentsViews find the windows that should constrain NPAPI plugins. |
| 73 AURA_EXPORT extern const WindowProperty<Window*>* const kHostWindowKey; | 77 AURA_EXPORT extern const WindowProperty<Window*>* const kHostWindowKey; |
| 74 | 78 |
| 75 // A property key to indicate that a window should be in immersive mode when the | 79 // A property key to indicate that a window should be in immersive mode when the |
| 76 // window enters the fullscreen mode. The immersive fullscreen mode is slightly | 80 // window enters the fullscreen mode. The immersive fullscreen mode is slightly |
| 77 // different from the normal fullscreen mode by allowing the user to reveal the | 81 // different from the normal fullscreen mode by allowing the user to reveal the |
| 78 // top portion of the window through a touch / mouse gesture. | 82 // top portion of the window through a touch / mouse gesture. |
| 79 AURA_EXPORT extern const WindowProperty<bool>* const kImmersiveFullscreenKey; | 83 AURA_EXPORT extern const WindowProperty<bool>* const kImmersiveFullscreenKey; |
| 80 | 84 |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 135 | 139 |
| 136 AURA_EXPORT extern const WindowProperty<ui::mojom::WindowType>* const | 140 AURA_EXPORT extern const WindowProperty<ui::mojom::WindowType>* const |
| 137 kWindowTypeKey; | 141 kWindowTypeKey; |
| 138 | 142 |
| 139 // Alphabetical sort. | 143 // Alphabetical sort. |
| 140 | 144 |
| 141 } // namespace client | 145 } // namespace client |
| 142 } // namespace aura | 146 } // namespace aura |
| 143 | 147 |
| 144 #endif // UI_AURA_CLIENT_AURA_CONSTANTS_H_ | 148 #endif // UI_AURA_CLIENT_AURA_CONSTANTS_H_ |
| OLD | NEW |