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

Unified Diff: ui/views/widget/native_widget_private.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: Changes as requested 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/widget/native_widget_private.h
diff --git a/ui/views/widget/native_widget_private.h b/ui/views/widget/native_widget_private.h
index 2bb61c0bb5321281ea7409405fb4aec3f24a5886..02637f315e4d636fce919a8a99cd00d11552fbee 100644
--- a/ui/views/widget/native_widget_private.h
+++ b/ui/views/widget/native_widget_private.h
@@ -100,6 +100,13 @@ class VIEWS_EXPORT NativeWidgetPrivate : public NativeWidget {
// Returns the NativeWidget's layer, if any.
virtual ui::Layer* GetLayer() = 0;
+ // Reorder the widget's child layers which belong to NativeViews attached to
+ // the view tree (eg via a NativeViewHost). The layers are reordered to match
+ // the order of views with layers / views with attached layers in the view
+ // tree. This method assumes that the layers which are owned by views are
+ // already correctly ordered relative to each other.
+ virtual void ReorderLayersForAttachedNativeViews() = 0;
+
// Notifies the NativeWidget that a view was removed from the Widget's view
// hierarchy.
virtual void ViewRemoved(View* view) = 0;

Powered by Google App Engine
This is Rietveld 408576698