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

Unified Diff: ui/views/widget/native_widget_private.h

Issue 588113002: Change Widget::GetAllOwnedWidgets to return child widgets as well (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@aid_resilient_to_uninstall_and_profile_changes
Patch Set: Merged GetAllChildWidgets and GetAllOwnedWidgets Created 6 years, 2 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 cd520121e907936a3bb37614ac4bc1b1b7eaf911..f2ff7abf403d481cf783015d1f9fe707f09ea42d 100644
--- a/ui/views/widget/native_widget_private.h
+++ b/ui/views/widget/native_widget_private.h
@@ -61,10 +61,8 @@ class VIEWS_EXPORT NativeWidgetPrivate : public NativeWidget {
static NativeWidgetPrivate* GetTopLevelNativeWidget(
gfx::NativeView native_view);
- static void GetAllChildWidgets(gfx::NativeView native_view,
- Widget::Widgets* children);
- static void GetAllOwnedWidgets(gfx::NativeView native_view,
- Widget::Widgets* owned);
+ static void GetAllChildAndOwnedWidgets(gfx::NativeView native_view,
+ Widget::Widgets* widgets);
static void ReparentNativeView(gfx::NativeView native_view,
gfx::NativeView new_parent);

Powered by Google App Engine
This is Rietveld 408576698