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

Unified Diff: components/exo/touch_delegate.h

Issue 2560633002: exo: Implement v6 of touch protocol including shape and frame event (Closed)
Patch Set: Fixed pen pointer mode conflict after rebase 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
« no previous file with comments | « components/exo/touch.cc ('k') | components/exo/touch_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/exo/touch_delegate.h
diff --git a/components/exo/touch_delegate.h b/components/exo/touch_delegate.h
index 6a65d7704555ad7adb903bd25f07d77cb24c5d3b..28f162fe4a83c7f4a406532d5c7ceaaf5c628131 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 its shape.
+ 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;
« no previous file with comments | « components/exo/touch.cc ('k') | components/exo/touch_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698