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

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

Issue 15114002: Reorder the NativeViews attached to a view via kViewHostKey according to the position of the view (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 months 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 32c524fde956038ce686a824e2a518186f706e37..5906a27c2454cb3833a022e043022604ffb5863a 100644
--- a/ui/aura/client/aura_constants.h
+++ b/ui/aura/client/aura_constants.h
@@ -13,6 +13,10 @@ namespace ui {
class InputMethod;
}
+namespace views {
+class View;
+}
+
namespace aura {
namespace client {
@@ -38,6 +42,15 @@ AURA_EXPORT extern const WindowProperty<bool>* const kConstrainedWindowKey;
// attention.
AURA_EXPORT extern const aura::WindowProperty<bool>* const kDrawAttentionKey;
+// A property key to indicate the window's host view. If specified, the host
+// view determines the z-order of the window in its parent widget. The host
+// view must have the same parent widget as the window on which the property
+// is set. The z-order of the window is set to the z-order of the host view in
+// the view tree relative to:
+// - views with layers.
+// - views bound to a window via the kHostViewKey.
+AURA_EXPORT extern const WindowProperty<views::View*>* const kHostViewKey;
+
// A property key to store the window modality.
AURA_EXPORT extern const WindowProperty<ui::ModalType>* const kModalKey;

Powered by Google App Engine
This is Rietveld 408576698