| 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 23 matching lines...) Expand all Loading... |
| 34 // A property key to store the app icon, typically larger for shelf icons, etc. | 34 // A property key to store the app icon, typically larger for shelf icons, etc. |
| 35 AURA_EXPORT extern const WindowProperty<gfx::ImageSkia*>* const kAppIconKey; | 35 AURA_EXPORT extern const WindowProperty<gfx::ImageSkia*>* const kAppIconKey; |
| 36 | 36 |
| 37 // A property key to store the string id of the app associated with this window. | 37 // A property key to store the string id of the app associated with this window. |
| 38 AURA_EXPORT extern const WindowProperty<std::string*>* const kAppIdKey; | 38 AURA_EXPORT extern const WindowProperty<std::string*>* const kAppIdKey; |
| 39 | 39 |
| 40 // A property key to store the type of window that will be used to record | 40 // A property key to store the type of window that will be used to record |
| 41 // pointer metrics. See AppType in ash/shared/app_types.h for more details. | 41 // pointer metrics. See AppType in ash/shared/app_types.h for more details. |
| 42 AURA_EXPORT extern const WindowProperty<int>* const kAppType; | 42 AURA_EXPORT extern const WindowProperty<int>* const kAppType; |
| 43 | 43 |
| 44 // A property key to store the can-maximize flag. | |
| 45 AURA_EXPORT extern const WindowProperty<bool>* const kCanMaximizeKey; | |
| 46 | |
| 47 // A property key to store the can-minimize flag. | |
| 48 AURA_EXPORT extern const WindowProperty<bool>* const kCanMinimizeKey; | |
| 49 | |
| 50 // A property key to store the can-resize flag. | |
| 51 AURA_EXPORT extern const WindowProperty<bool>* const kCanResizeKey; | |
| 52 | |
| 53 // A property key to store if a window is a constrained window or not. | 44 // A property key to store if a window is a constrained window or not. |
| 54 AURA_EXPORT extern const WindowProperty<bool>* const kConstrainedWindowKey; | 45 AURA_EXPORT extern const WindowProperty<bool>* const kConstrainedWindowKey; |
| 55 | 46 |
| 56 // A property key to indicate that a window should show that it deserves | 47 // A property key to indicate that a window should show that it deserves |
| 57 // attention. | 48 // attention. |
| 58 AURA_EXPORT extern const aura::WindowProperty<bool>* const kDrawAttentionKey; | 49 AURA_EXPORT extern const aura::WindowProperty<bool>* const kDrawAttentionKey; |
| 59 | 50 |
| 60 // A property key to indicate that a window should be excluded from the most | 51 // A property key to indicate that a window should be excluded from the most |
| 61 // recently used windows list. | 52 // recently used windows list. |
| 62 AURA_EXPORT extern const aura::WindowProperty<bool>* const kExcludeFromMruKey; | 53 AURA_EXPORT extern const aura::WindowProperty<bool>* const kExcludeFromMruKey; |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 112 | 103 |
| 113 AURA_EXPORT extern const aura::WindowProperty<ui::mojom::WindowType>* const | 104 AURA_EXPORT extern const aura::WindowProperty<ui::mojom::WindowType>* const |
| 114 kWindowTypeKey; | 105 kWindowTypeKey; |
| 115 | 106 |
| 116 // Alphabetical sort. | 107 // Alphabetical sort. |
| 117 | 108 |
| 118 } // namespace client | 109 } // namespace client |
| 119 } // namespace aura | 110 } // namespace aura |
| 120 | 111 |
| 121 #endif // UI_AURA_CLIENT_AURA_CONSTANTS_H_ | 112 #endif // UI_AURA_CLIENT_AURA_CONSTANTS_H_ |
| OLD | NEW |