Index: components/mus/public/cpp/window_tree_delegate.h |
diff --git a/components/mus/public/cpp/window_tree_delegate.h b/components/mus/public/cpp/window_tree_delegate.h |
index ff16625117b5ce41ba19b2725b21e0ec072e3c2d..f734293293f480ad91b12aaa0049c34580c64bdc 100644 |
--- a/components/mus/public/cpp/window_tree_delegate.h |
+++ b/components/mus/public/cpp/window_tree_delegate.h |
@@ -52,8 +52,10 @@ class WindowTreeDelegate { |
virtual void OnConnectionLost(WindowTreeConnection* connection) = 0; |
// Called when the WindowTreeConnection receives an input event observed via |
- // SetEventObserver(). |
- virtual void OnEventObserved(const ui::Event& event) = 0; |
+ // SetEventObserver(). |target| may be null for events that were sent to |
+ // windows owned by other processes. |
+ virtual void OnEventObserved(const ui::Event& event, |
+ Window* target) = 0; |
protected: |
virtual ~WindowTreeDelegate() {} |