Title: [128643] trunk/Source/WebKit/chromium
Revision
128643
Author
[email protected]
Date
2012-09-14 13:00:58 -0700 (Fri, 14 Sep 2012)

Log Message

[chromium] add touch area to gestureTapDown data
https://bugs.webkit.org/show_bug.cgi?id=96806

Patch by Rick Byers <[email protected]> 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):

Modified Paths

Diff

Modified: trunk/Source/WebKit/chromium/ChangeLog (128642 => 128643)


--- trunk/Source/WebKit/chromium/ChangeLog	2012-09-14 19:49:51 UTC (rev 128642)
+++ trunk/Source/WebKit/chromium/ChangeLog	2012-09-14 20:00:58 UTC (rev 128643)
@@ -1,3 +1,16 @@
+2012-09-14  Rick Byers  <[email protected]>
+
+        [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  <[email protected]>
 
         [Chromium] Support the --{in,out,err}-fifo arguments on TestWebKitAPI and webkit_unit_tests

Modified: trunk/Source/WebKit/chromium/public/WebInputEvent.h (128642 => 128643)


--- trunk/Source/WebKit/chromium/public/WebInputEvent.h	2012-09-14 19:49:51 UTC (rev 128642)
+++ trunk/Source/WebKit/chromium/public/WebInputEvent.h	2012-09-14 20:00:58 UTC (rev 128643)
@@ -388,6 +388,11 @@
       struct {
         int width;
         int height;
+      } tapDown;
+
+      struct {
+        int width;
+        int height;
       } longPress;
 
       struct {

Modified: trunk/Source/WebKit/chromium/src/WebInputEventConversion.cpp (128642 => 128643)


--- trunk/Source/WebKit/chromium/src/WebInputEventConversion.cpp	2012-09-14 19:49:51 UTC (rev 128642)
+++ trunk/Source/WebKit/chromium/src/WebInputEventConversion.cpp	2012-09-14 20:00:58 UTC (rev 128643)
@@ -160,6 +160,7 @@
         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;
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to