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

Unified Diff: ui/views/view_constants_aura.cc

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.cc
diff --git a/ui/views/view_constants_aura.cc b/ui/views/view_constants_aura.cc
new file mode 100644
index 0000000000000000000000000000000000000000..a7e0993d068ebeed88389e343030920d276d5cfb
--- /dev/null
+++ b/ui/views/view_constants_aura.cc
@@ -0,0 +1,16 @@
+// 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.
+
+#include "ui/views/view_constants_aura.h"
+
+#include "ui/aura/window_property.h"
+#include "ui/views/view.h"
+
+DECLARE_EXPORTED_WINDOW_PROPERTY_TYPE(VIEWS_EXPORT, views::View*);
+
+namespace views {
+
+DEFINE_WINDOW_PROPERTY_KEY(views::View*, kHostViewKey, NULL);
+
+} // namespace views

Powered by Google App Engine
This is Rietveld 408576698