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

Unified Diff: components/mus/public/cpp/lib/window_tree_client_impl.h

Issue 1909733002: mus: Add EventObserver to allow passively listening to UI events (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 8 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/lib/window_tree_client_impl.h
diff --git a/components/mus/public/cpp/lib/window_tree_client_impl.h b/components/mus/public/cpp/lib/window_tree_client_impl.h
index 4b864a943ce11b70dbd453a0afe5408b8c0e2af4..a63d417ae5db6ea051c5265d4bc279476dfe6c4b 100644
--- a/components/mus/public/cpp/lib/window_tree_client_impl.h
+++ b/components/mus/public/cpp/lib/window_tree_client_impl.h
@@ -220,7 +220,10 @@ class WindowTreeClientImpl : public WindowTreeConnection,
mojo::Array<uint8_t> new_data) override;
void OnWindowInputEvent(uint32_t event_id,
Id window_id,
- mojom::EventPtr event) override;
+ mojom::EventPtr event,
+ uint32_t event_observer_id) override;
+ void OnEventObserved(mojom::EventPtr event,
+ uint32_t event_observer_id) override;
void OnWindowFocused(Id focused_window_id) override;
void OnWindowPredefinedCursorChanged(Id window_id,
mojom::Cursor cursor) override;

Powered by Google App Engine
This is Rietveld 408576698