Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(459)

Unified Diff: ui/aura/client/aura_constants.h

Issue 2514243002: Propagates window type properties during aura-mus window creation (Closed)
Patch Set: return Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698