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

Unified Diff: ui/views/widget/desktop_aura/desktop_window_tree_host.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
Index: ui/views/widget/desktop_aura/desktop_window_tree_host.h
diff --git a/ui/views/widget/desktop_aura/desktop_window_tree_host.h b/ui/views/widget/desktop_aura/desktop_window_tree_host.h
index 4a7616abc7bfe70c5bf218eba6c718084b3fe491..87648155300e8cbac34e94cc452790e12ad25afb 100644
--- a/ui/views/widget/desktop_aura/desktop_window_tree_host.h
+++ b/ui/views/widget/desktop_aura/desktop_window_tree_host.h
@@ -167,6 +167,10 @@ class VIEWS_EXPORT DesktopWindowTreeHost {
// used, a return value of false indicates the DesktopWindowTreeHost manages
// cursors itself.
virtual bool ShouldUseDesktopNativeCursorManager() const = 0;
+
+ // Returns a list of DesktopWindowTreeHost owned by |this|. That is, hosts
+ // that are automatically destroyed along with |this|.
+ virtual std::vector<DesktopWindowTreeHost*> GetOwnedTopLevelHosts() const = 0;
};
} // namespace views

Powered by Google App Engine
This is Rietveld 408576698