Chromium Code Reviews| 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 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 108 AURA_EXPORT extern const WindowProperty<int32_t>* const kResizeBehaviorKey; | 108 AURA_EXPORT extern const WindowProperty<int32_t>* const kResizeBehaviorKey; |
| 109 | 109 |
| 110 // A property key to store the restore bounds for a window. | 110 // A property key to store the restore bounds for a window. |
| 111 AURA_EXPORT extern const WindowProperty<gfx::Rect*>* const kRestoreBoundsKey; | 111 AURA_EXPORT extern const WindowProperty<gfx::Rect*>* const kRestoreBoundsKey; |
| 112 | 112 |
| 113 // A property key to store ui::WindowShowState for a window. | 113 // A property key to store ui::WindowShowState for a window. |
| 114 // See ui/base/ui_base_types.h for its definition. | 114 // See ui/base/ui_base_types.h for its definition. |
| 115 AURA_EXPORT extern const WindowProperty<ui::WindowShowState>* const | 115 AURA_EXPORT extern const WindowProperty<ui::WindowShowState>* const |
| 116 kShowStateKey; | 116 kShowStateKey; |
| 117 | 117 |
| 118 // A bool property key to specify if the window should have a backdrop. | |
|
sky
2017/05/15 17:38:28
'Backdrop' isn't a readily obvious term. Please do
oshima
2017/05/16 08:22:10
Done.
| |
| 119 AURA_EXPORT extern const WindowProperty<bool>* const kHasBackdrop; | |
| 120 | |
| 118 // A property key to store the title of the window; sometimes shown to users. | 121 // A property key to store the title of the window; sometimes shown to users. |
| 119 AURA_EXPORT extern const WindowProperty<base::string16*>* const kTitleKey; | 122 AURA_EXPORT extern const WindowProperty<base::string16*>* const kTitleKey; |
| 120 | 123 |
| 121 // The inset of the topmost view in the client view from the top of the | 124 // The inset of the topmost view in the client view from the top of the |
| 122 // non-client view. The topmost view depends on the window type. The topmost | 125 // non-client view. The topmost view depends on the window type. The topmost |
| 123 // view is the tab strip for tabbed browser windows, the toolbar for popups, | 126 // view is the tab strip for tabbed browser windows, the toolbar for popups, |
| 124 // the web contents for app windows and varies for fullscreen windows. | 127 // the web contents for app windows and varies for fullscreen windows. |
| 125 AURA_EXPORT extern const WindowProperty<int>* const kTopViewInset; | 128 AURA_EXPORT extern const WindowProperty<int>* const kTopViewInset; |
| 126 | 129 |
| 127 // The color of the window header. | 130 // The color of the window header. |
| 128 AURA_EXPORT extern const WindowProperty<SkColor>* const kTopViewColor; | 131 AURA_EXPORT extern const WindowProperty<SkColor>* const kTopViewColor; |
| 129 | 132 |
| 130 // A property key to store the window icon, typically 16x16 for title bars. | 133 // A property key to store the window icon, typically 16x16 for title bars. |
| 131 AURA_EXPORT extern const WindowProperty<gfx::ImageSkia*>* const kWindowIconKey; | 134 AURA_EXPORT extern const WindowProperty<gfx::ImageSkia*>* const kWindowIconKey; |
| 132 | 135 |
| 133 // Indicates the type of embedding within the given window. | 136 // Indicates the type of embedding within the given window. |
| 134 AURA_EXPORT extern const WindowProperty<WindowEmbedType>* const kEmbedType; | 137 AURA_EXPORT extern const WindowProperty<WindowEmbedType>* const kEmbedType; |
| 135 | 138 |
| 136 AURA_EXPORT extern const WindowProperty<ui::mojom::WindowType>* const | 139 AURA_EXPORT extern const WindowProperty<ui::mojom::WindowType>* const |
| 137 kWindowTypeKey; | 140 kWindowTypeKey; |
| 138 | 141 |
| 139 // Alphabetical sort. | 142 // Alphabetical sort. |
| 140 | 143 |
| 141 } // namespace client | 144 } // namespace client |
| 142 } // namespace aura | 145 } // namespace aura |
| 143 | 146 |
| 144 #endif // UI_AURA_CLIENT_AURA_CONSTANTS_H_ | 147 #endif // UI_AURA_CLIENT_AURA_CONSTANTS_H_ |
| OLD | NEW |