Commit da4fc77b authored by commit-queue@webkit.org's avatar commit-queue@webkit.org
Browse files

[chromium] add touch area to gestureTapDown data

https://bugs.webkit.org/show_bug.cgi?id=96806

Patch by Rick Byers <rbyers@chromium.org> on 2012-09-14
Reviewed by Adam Barth.

Add width/height for GestureTapDown as for GestureTap/LongPress so that
we can eventually do fuzzing on it.
* public/WebInputEvent.h:
* src/WebInputEventConversion.cpp:
(WebKit::PlatformGestureEventBuilder::PlatformGestureEventBuilder):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@128643 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent cd3fc72f
2012-09-14 Rick Byers <rbyers@chromium.org>
[chromium] add touch area to gestureTapDown data
https://bugs.webkit.org/show_bug.cgi?id=96806
Reviewed by Adam Barth.
Add width/height for GestureTapDown as for GestureTap/LongPress so that
we can eventually do fuzzing on it.
* public/WebInputEvent.h:
* src/WebInputEventConversion.cpp:
(WebKit::PlatformGestureEventBuilder::PlatformGestureEventBuilder):
2012-09-14 Peter Beverloo <peter@chromium.org>
 
[Chromium] Support the --{in,out,err}-fifo arguments on TestWebKitAPI and webkit_unit_tests
......
......@@ -385,6 +385,11 @@ public:
int height;
} tap;
struct {
int width;
int height;
} tapDown;
struct {
int width;
int height;
......
......@@ -160,6 +160,7 @@ PlatformGestureEventBuilder::PlatformGestureEventBuilder(Widget* widget, const W
break;
case WebInputEvent::GestureTapDown:
m_type = PlatformEvent::GestureTapDown;
m_area = IntSize(e.data.tapDown.width, e.data.tapDown.height);
break;
case WebInputEvent::GestureDoubleTap:
m_type = PlatformEvent::GestureDoubleTap;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment