| Index: ui/views/widget/widget.h
|
| diff --git a/ui/views/widget/widget.h b/ui/views/widget/widget.h
|
| index 2c5ba165dd74f95145584a07675811d383f3064d..445ae1c554370bf6ae9167088f1c86e6c9f6c54a 100644
|
| --- a/ui/views/widget/widget.h
|
| +++ b/ui/views/widget/widget.h
|
| @@ -352,10 +352,13 @@ class VIEWS_EXPORT Widget : public internal::NativeWidgetDelegate,
|
| static void GetAllChildWidgets(gfx::NativeView native_view,
|
| Widgets* children);
|
|
|
| - // Returns all Widgets owned by |native_view| (including child widgets, but
|
| - // not including itself).
|
| + // Returns all Widgets owned by |native_view| (including child Widgets, but
|
| + // not including itself). A Widget is considered "owned" if it is destroyed
|
| + // automatically when the owner is destroyed. If |include_toplevel| is set,
|
| + // toplevel Widgets (i.e. those with an OS-level handle) are included.
|
| static void GetAllOwnedWidgets(gfx::NativeView native_view,
|
| - Widgets* owned);
|
| + Widgets* owned,
|
| + bool include_toplevel);
|
|
|
| // Re-parent a NativeView and notify all Widgets in |native_view|'s hierarchy
|
| // of the change.
|
|
|