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

Unified Diff: content/common/input/synthetic_web_input_event_builders.h

Issue 788923002: Touch Events - changedTouches list includes non-changed touch points on Android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added unit test for checking Pointer states when other than position changed. Created 5 years, 11 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: content/common/input/synthetic_web_input_event_builders.h
diff --git a/content/common/input/synthetic_web_input_event_builders.h b/content/common/input/synthetic_web_input_event_builders.h
index ff8d1934e8dc9bc4cdf14e1345db11b4fb5cf8e3..744e00b2c5e740fb6378b1b0ec6f2fe170f6c381 100644
--- a/content/common/input/synthetic_web_input_event_builders.h
+++ b/content/common/input/synthetic_web_input_event_builders.h
@@ -71,6 +71,11 @@ class CONTENT_EXPORT SyntheticWebTouchEvent
// Adds an additional point to the touch list, returning the point's index.
int PressPoint(float x, float y);
void MovePoint(int index, float x, float y);
+ void ChangePointRadius(int index, float radiusX, float radiusY);
jdduke (slow) 2015/01/29 16:53:19 I don't think we need these extra methods, you can
USE s.singapati at gmail.com 2015/01/30 12:19:28 Done.
+ void ChangePointRotationAngleAndForce(
+ int index,
+ float rotationAngle,
+ float force);
void ReleasePoint(int index);
void CancelPoint(int index);

Powered by Google App Engine
This is Rietveld 408576698