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

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

Issue 2645253002: DesktopAura: Track windows "owned" via the DesktopWindowTreeHost (Closed)
Patch Set: Add context, comment Created 3 years, 11 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 | « ui/views/widget/native_widget_private.h ('k') | ui/views/widget/widget.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.
« no previous file with comments | « ui/views/widget/native_widget_private.h ('k') | ui/views/widget/widget.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698