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

Unified Diff: trunk/src/ui/views/view.h

Issue 16256004: Revert 203217 "Revert 202987 "Reorder the NativeViews attached t..." (Closed) Base URL: svn://svn.chromium.org/chrome/
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 | « trunk/src/ui/views/controls/native/native_view_host_aura_unittest.cc ('k') | trunk/src/ui/views/view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/ui/views/view.h
===================================================================
--- trunk/src/ui/views/view.h (revision 203401)
+++ trunk/src/ui/views/view.h (working copy)
@@ -1104,7 +1104,11 @@
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 | « trunk/src/ui/views/controls/native/native_view_host_aura_unittest.cc ('k') | trunk/src/ui/views/view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698