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

Unified Diff: ui/views/view_constants_aura.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/views/view_constants_aura.h
diff --git a/ui/views/view_constants_aura.h b/ui/views/view_constants_aura.h
new file mode 100644
index 0000000000000000000000000000000000000000..143451fe346e06fafb3889d0e4096b10b9d023a9
--- /dev/null
+++ b/ui/views/view_constants_aura.h
@@ -0,0 +1,25 @@
+// Copyright (c) 2013 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef UI_VIEWS_VIEW_CONSTANTS_AURA_H_
+#define UI_VIEWS_VIEW_CONSTANTS_AURA_H_
+
+#include "ui/aura/window.h"
+#include "ui/views/views_export.h"
+
+namespace views {
+class View;
+
+// A property key to indicate the window's host view. If specified, the host
sky 2013/05/13 22:43:05 This is a bit confusing. In particular you make it
+// 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.
+VIEWS_EXPORT extern const aura::WindowProperty<View*>* const kHostViewKey;
+
+} // namespace views
+
+#endif // UI_VIEWS_VIEW_CONSTANTS_AURA_H_

Powered by Google App Engine
This is Rietveld 408576698