Chromium Code Reviews| Index: ui/aura/client/aura_constants.h |
| diff --git a/ui/aura/client/aura_constants.h b/ui/aura/client/aura_constants.h |
| index 167a77952caab0e686c61db365aa29fca44a2a72..63da5d68a7524624c5fbe7589eaf23458efcbabf 100644 |
| --- a/ui/aura/client/aura_constants.h |
| +++ b/ui/aura/client/aura_constants.h |
| @@ -15,6 +15,9 @@ |
| namespace ui { |
| class InputMethod; |
| +namespace mojom { |
| +enum class WindowType; |
| +} |
| } |
| namespace aura { |
| @@ -101,6 +104,13 @@ AURA_EXPORT extern const aura::WindowProperty<SkColor>* const kTopViewColor; |
| // A property key to store the window icon, typically 16x16 for title bars. |
| AURA_EXPORT extern const WindowProperty<gfx::ImageSkia*>* const kWindowIconKey; |
| +struct AURA_EXPORT WindowTypeProperty { |
| + ui::mojom::WindowType type; |
| +}; |
| + |
| +AURA_EXPORT extern const aura::WindowProperty<WindowTypeProperty*>* const |
|
msw
2016/11/21 19:26:46
Can we avoid the struct via aura::WindowProperty<u
sky
2016/11/21 22:13:56
I went with the struct so that I can tell whether
|
| + kWindowTypeKey; |
| + |
| // Alphabetical sort. |
| } // namespace client |