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

Unified Diff: trunk/src/ui/views/widget/widget.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/widget/native_widget_win.cc ('k') | trunk/src/ui/views/widget/widget.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/ui/views/widget/widget.h
===================================================================
--- trunk/src/ui/views/widget/widget.h (revision 203401)
+++ trunk/src/ui/views/widget/widget.h (working copy)
@@ -573,6 +573,15 @@
// Returns the widget's layer, if any.
ui::Layer* GetLayer();
+ // Reorders the widget's child NativeViews which are associated to the view
+ // tree (eg via a NativeViewHost) to match the z-order of the views in the
+ // view tree. The z-order of views with layers relative to views with
+ // associated NativeViews is used to reorder the NativeView layers. This
+ // method assumes that the widget's child layers which are owned by a view are
+ // already in the correct z-order relative to each other and does no
+ // reordering if there are no views with an associated NativeView.
+ void ReorderNativeViews();
+
// Schedules an update to the root layers. The actual processing occurs when
// GetRootLayers() is invoked.
void UpdateRootLayers();
« no previous file with comments | « trunk/src/ui/views/widget/native_widget_win.cc ('k') | trunk/src/ui/views/widget/widget.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698