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

Unified Diff: Source/WebKit/chromium/public/WebInputEvent.h

Issue 12319074: Merge 142571 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1410/
Patch Set: Created 7 years, 10 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 | « Source/WebKit/chromium/ChangeLog ('k') | Source/WebKit/chromium/src/WebInputEventConversion.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebKit/chromium/public/WebInputEvent.h
===================================================================
--- Source/WebKit/chromium/public/WebInputEvent.h (revision 143772)
+++ Source/WebKit/chromium/public/WebInputEvent.h (working copy)
@@ -407,23 +407,23 @@
union {
struct {
int tapCount;
- int width;
- int height;
+ float width;
+ float height;
} tap;
struct {
- int width;
- int height;
+ float width;
+ float height;
} tapDown;
struct {
- int width;
- int height;
+ float width;
+ float height;
} longPress;
struct {
- int firstFingerWidth;
- int firstFingerHeight;
+ float firstFingerWidth;
+ float firstFingerHeight;
} twoFingerTap;
struct {
@@ -443,7 +443,7 @@
struct {
float scale;
} pinchUpdate;
- } data;
+ } data;
WebGestureEvent(unsigned sizeParam = sizeof(WebGestureEvent))
: WebInputEvent(sizeParam)
@@ -452,7 +452,7 @@
, globalX(0)
, globalY(0)
{
- memset(&data, 0, sizeof(data));
+ memset(&data, 0, sizeof(data));
}
};
« no previous file with comments | « Source/WebKit/chromium/ChangeLog ('k') | Source/WebKit/chromium/src/WebInputEventConversion.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698