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

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

Issue 148453012: Chrome requires WebTouchPoint to store WebFloatPoint, instead of WebPoint. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address jdduke's comments. Created 6 years, 9 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 bafc121f8d6381099c04a04dc1db7566b2de39f0..3bf301963a7c30749999d9ba603a780bf9d8b3cd 100644
--- a/content/common/input/synthetic_web_input_event_builders.h
+++ b/content/common/input/synthetic_web_input_event_builders.h
@@ -66,8 +66,8 @@ class CONTENT_EXPORT SyntheticWebTouchEvent
void ResetPoints();
// Adds an additional point to the touch list, returning the point's index.
- int PressPoint(int x, int y);
- void MovePoint(int index, int x, int y);
+ int PressPoint(float x, float y);
+ void MovePoint(int index, float x, float y);
void ReleasePoint(int index);
void CancelPoint(int index);
« no previous file with comments | « content/browser/renderer_host/ui_events_helper.cc ('k') | content/common/input/synthetic_web_input_event_builders.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698