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

Unified Diff: services/ui/public/cpp/window_tree_client_delegate.h

Issue 2183163002: mus: Change PointerWatcher to observe all pointer events, with moves optional. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 4 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
« no previous file with comments | « services/ui/public/cpp/window_tree_client.cc ('k') | services/ui/public/interfaces/window_tree.mojom » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/public/cpp/window_tree_client_delegate.h
diff --git a/services/ui/public/cpp/window_tree_client_delegate.h b/services/ui/public/cpp/window_tree_client_delegate.h
index d7ed4c39f6cb67865aecf8015fbc9f17a6aa5a06..3009e63a3dc5b9a266306ed281625d883e7b7363 100644
--- a/services/ui/public/cpp/window_tree_client_delegate.h
+++ b/services/ui/public/cpp/window_tree_client_delegate.h
@@ -40,9 +40,10 @@ class WindowTreeClientDelegate {
virtual void OnDidDestroyClient(WindowTreeClient* client) = 0;
// Called when the WindowTreeClient receives an input event observed via
- // SetEventObserver(). |target| may be null for events that were sent to
+ // StartPointerWatcher(). |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;
+ virtual void OnPointerEventObserved(const ui::PointerEvent& event,
+ Window* target) = 0;
protected:
virtual ~WindowTreeClientDelegate() {}
« no previous file with comments | « services/ui/public/cpp/window_tree_client.cc ('k') | services/ui/public/interfaces/window_tree.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698