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

Unified Diff: ui/aura/window_tree_host_observer.h

Issue 859423002: Explicitly specify the ui::Compositor to DelegatedFrameHost (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add aura:: Created 5 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/aura/window_tree_host_observer.h
diff --git a/ui/aura/window_tree_host_observer.h b/ui/aura/window_tree_host_observer.h
index d96e9d3b24dc1230deb2ab5920787bcbff2db98f..a42b5be59a62c0cba958c0929abb6e21c033d69b 100644
--- a/ui/aura/window_tree_host_observer.h
+++ b/ui/aura/window_tree_host_observer.h
@@ -27,6 +27,9 @@ class AURA_EXPORT WindowTreeHostObserver {
// Called when the native window system sends the host request to close.
virtual void OnHostCloseRequested(const WindowTreeHost* host) {}
+ // Called just before the ui::Compositor for the window tree is destroyed.
+ virtual void OnHostCompositorWillBeDestroyed(const WindowTreeHost* host) {}
+
protected:
virtual ~WindowTreeHostObserver() {}
};

Powered by Google App Engine
This is Rietveld 408576698