| 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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 42 // A property key to store the string id of the app associated with this window. | 42 // A property key to store the string id of the app associated with this window. |
| 43 AURA_EXPORT extern const WindowProperty<std::string*>* const kAppIdKey; | 43 AURA_EXPORT extern const WindowProperty<std::string*>* const kAppIdKey; |
| 44 | 44 |
| 45 // A property key to store the type of window that will be used to record | 45 // A property key to store the type of window that will be used to record |
| 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 store if a window was created by a user gesture. |
| 53 AURA_EXPORT extern const WindowProperty<bool>* const kCreatedByUserGesture; |
| 54 |
| 52 // A property key to indicate that a window should show that it deserves | 55 // A property key to indicate that a window should show that it deserves |
| 53 // attention. | 56 // attention. |
| 54 AURA_EXPORT extern const aura::WindowProperty<bool>* const kDrawAttentionKey; | 57 AURA_EXPORT extern const aura::WindowProperty<bool>* const kDrawAttentionKey; |
| 55 | 58 |
| 56 // A property key to store the host window of a window. This lets | 59 // A property key to store the host window of a window. This lets |
| 57 // WebContentsViews find the windows that should constrain NPAPI plugins. | 60 // WebContentsViews find the windows that should constrain NPAPI plugins. |
| 58 AURA_EXPORT extern const WindowProperty<Window*>* const kHostWindowKey; | 61 AURA_EXPORT extern const WindowProperty<Window*>* const kHostWindowKey; |
| 59 | 62 |
| 60 // A property key to indicate that a window should be in immersive mode when the | 63 // A property key to indicate that a window should be in immersive mode when the |
| 61 // window enters the fullscreen mode. The immersive fullscreen mode is slightly | 64 // window enters the fullscreen mode. The immersive fullscreen mode is slightly |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 121 | 124 |
| 122 AURA_EXPORT extern const aura::WindowProperty<ui::mojom::WindowType>* const | 125 AURA_EXPORT extern const aura::WindowProperty<ui::mojom::WindowType>* const |
| 123 kWindowTypeKey; | 126 kWindowTypeKey; |
| 124 | 127 |
| 125 // Alphabetical sort. | 128 // Alphabetical sort. |
| 126 | 129 |
| 127 } // namespace client | 130 } // namespace client |
| 128 } // namespace aura | 131 } // namespace aura |
| 129 | 132 |
| 130 #endif // UI_AURA_CLIENT_AURA_CONSTANTS_H_ | 133 #endif // UI_AURA_CLIENT_AURA_CONSTANTS_H_ |
| OLD | NEW |