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

Unified Diff: ui/views/widget/widget.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
Index: ui/views/widget/widget.h
diff --git a/ui/views/widget/widget.h b/ui/views/widget/widget.h
index 51a5de14a973d64e8bb8dfb294937d2c9e2e9275..4a2f06f4ac3f5ebd6500e758bcd30ad1176eae9c 100644
--- a/ui/views/widget/widget.h
+++ b/ui/views/widget/widget.h
@@ -577,6 +577,10 @@ class VIEWS_EXPORT Widget : public internal::NativeWidgetDelegate,
// Invokes method of same name on the NativeWidget.
void ReorderLayers();
+ // Returns true if a child NativeView is attached to one of the widget's
+ // views.
+ bool HasNativeViewAttachedToViewTree() const;
+
// Schedules an update to the root layers. The actual processing occurs when
// GetRootLayers() is invoked.
void UpdateRootLayers();

Powered by Google App Engine
This is Rietveld 408576698