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

Unified Diff: ui/views/view.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/controls/native/native_view_host_aura_unittest.cc ('k') | ui/views/view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/view.h
diff --git a/ui/views/view.h b/ui/views/view.h
index db2452b9462544c4918e0b954d1f103d80239be7..4b10f0cd829c42fb4f689524b8528bf63568dcb9 100644
--- a/ui/views/view.h
+++ b/ui/views/view.h
@@ -1104,7 +1104,11 @@ class VIEWS_EXPORT View : public ui::LayerDelegate,
virtual void ReorderLayers();
// This reorders the immediate children of |*parent_layer| to match the
- // order of the view tree.
+ // order of the view tree. Child layers which are owned by a view are
+ // reordered so that they are below any child layers not owned by a view.
+ // Widget::ReorderNativeViews() should be called to reorder any child layers
+ // with an associated view. Widget::ReorderNativeViews() may reorder layers
+ // below layers owned by a view.
virtual void ReorderChildLayers(ui::Layer* parent_layer);
// Input ---------------------------------------------------------------------
« no previous file with comments | « ui/views/controls/native/native_view_host_aura_unittest.cc ('k') | ui/views/view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698