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

Unified Diff: components/mus/public/cpp/window_tree_connection_observer.h

Issue 1984293002: Random fixes for mash bridge classes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comment Created 4 years, 7 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: components/mus/public/cpp/window_tree_connection_observer.h
diff --git a/components/mus/public/cpp/window_tree_connection_observer.h b/components/mus/public/cpp/window_tree_connection_observer.h
index b29d71cd711d111cfb9239ef774d59242fcf769e..8577cae5ad7737c770e3b3871fed81f615e99c03 100644
--- a/components/mus/public/cpp/window_tree_connection_observer.h
+++ b/components/mus/public/cpp/window_tree_connection_observer.h
@@ -8,12 +8,16 @@
namespace mus {
class Window;
+class WindowTreeConnection;
class WindowTreeConnectionObserver {
public:
virtual void OnWindowTreeFocusChanged(Window* gained_focus,
Window* lost_focus) {}
+ // Called right before the connection is destroyed.
+ virtual void OnWillDestroyConnection(WindowTreeConnection* connection) {}
+
protected:
virtual ~WindowTreeConnectionObserver() {}
};
« no previous file with comments | « components/mus/public/cpp/lib/window_tree_client_impl.cc ('k') | mash/wm/bridge/mus_layout_manager_adapter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698