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

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
« no previous file with comments | « ui/views/view.cc ('k') | ui/views/view_constants_aura.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..f8e76847dbd1df0669816b3ad604571620eb8ba5
--- /dev/null
+++ b/ui/views/view_constants_aura.h
@@ -0,0 +1,22 @@
+// 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 view the window is associated with. If
+// specified, the z-order of the view, relative to other views, dictates the
+// z-order of the window and its associated layer. The associated view must
+// have the same parent widget as the window on which the property is set.
+VIEWS_EXPORT extern const aura::WindowProperty<View*>* const kHostViewKey;
+
+} // namespace views
+
+#endif // UI_VIEWS_VIEW_CONSTANTS_AURA_H_
« no previous file with comments | « ui/views/view.cc ('k') | ui/views/view_constants_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698