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

Unified Diff: components/exo/touch_delegate.h

Issue 2560633002: exo: Implement v6 of touch protocol including shape and frame event (Closed)
Patch Set: extend event_generator to test touch radius Created 4 years 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/exo/touch_delegate.h
diff --git a/components/exo/touch_delegate.h b/components/exo/touch_delegate.h
index 6a65d7704555ad7adb903bd25f07d77cb24c5d3b..6ea08c90cc45768473611b3820f6d45ae6e30f8c 100644
--- a/components/exo/touch_delegate.h
+++ b/components/exo/touch_delegate.h
@@ -44,6 +44,12 @@ class TouchDelegate {
int id,
const gfx::Point& location) = 0;
+ // Called when a touch point has changed it's shape.
reveman 2016/12/07 03:16:18 s/it's/its/
denniskempin 2016/12/07 23:40:54 I keep using the ESL excuse, but after 4 years in
+ virtual void OnTouchShape(int id, float major, float minor) = 0;
+
+ // Called when the client should apply all updated touches.
+ virtual void OnTouchFrame() = 0;
+
// Called when the touch session has been canceled. Touch cancellation
// applies to all touch points currently active.
virtual void OnTouchCancel() = 0;

Powered by Google App Engine
This is Rietveld 408576698