Title: [151840] trunk/Source/WebCore
Revision
151840
Author
[email protected]
Date
2013-06-21 09:12:54 -0700 (Fri, 21 Jun 2013)

Log Message

Remove unused GesturePinch events
https://bugs.webkit.org/show_bug.cgi?id=117875

Reviewed by Andreas Kling.

The gesturePinch events have not been used for some time, even Chromium
had stop using them before moving out of webkit.

* dom/GestureEvent.cpp:
(WebCore::GestureEvent::create):
* page/EventHandler.cpp:
(WebCore::EventHandler::handleGestureEvent):
* platform/PlatformEvent.h:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (151839 => 151840)


--- trunk/Source/WebCore/ChangeLog	2013-06-21 16:03:10 UTC (rev 151839)
+++ trunk/Source/WebCore/ChangeLog	2013-06-21 16:12:54 UTC (rev 151840)
@@ -1,3 +1,19 @@
+2013-06-21  Allan Sandfeld Jensen  <[email protected]>
+
+        Remove unused GesturePinch events
+        https://bugs.webkit.org/show_bug.cgi?id=117875
+
+        Reviewed by Andreas Kling.
+
+        The gesturePinch events have not been used for some time, even Chromium
+        had stop using them before moving out of webkit.
+
+        * dom/GestureEvent.cpp:
+        (WebCore::GestureEvent::create):
+        * page/EventHandler.cpp:
+        (WebCore::EventHandler::handleGestureEvent):
+        * platform/PlatformEvent.h:
+
 2013-06-21  Radu Stavila  <[email protected]>
 
         Improve the reattaching process while applying the :hover style

Modified: trunk/Source/WebCore/dom/GestureEvent.cpp (151839 => 151840)


--- trunk/Source/WebCore/dom/GestureEvent.cpp	2013-06-21 16:03:10 UTC (rev 151839)
+++ trunk/Source/WebCore/dom/GestureEvent.cpp	2013-06-21 16:12:54 UTC (rev 151840)
@@ -57,9 +57,6 @@
         eventType = eventNames().gesturetapdownEvent; break;
     case PlatformEvent::GestureTwoFingerTap:
     case PlatformEvent::GestureLongPress:
-    case PlatformEvent::GesturePinchBegin:
-    case PlatformEvent::GesturePinchEnd:
-    case PlatformEvent::GesturePinchUpdate:
     case PlatformEvent::GestureTapDownCancel:
     default:
         return 0;

Modified: trunk/Source/WebCore/page/EventHandler.cpp (151839 => 151840)


--- trunk/Source/WebCore/page/EventHandler.cpp	2013-06-21 16:03:10 UTC (rev 151839)
+++ trunk/Source/WebCore/page/EventHandler.cpp	2013-06-21 16:12:54 UTC (rev 151840)
@@ -2598,9 +2598,6 @@
         return handleGestureLongTap(gestureEvent);
     case PlatformEvent::GestureTwoFingerTap:
         return handleGestureTwoFingerTap(gestureEvent);
-    case PlatformEvent::GesturePinchBegin:
-    case PlatformEvent::GesturePinchEnd:
-    case PlatformEvent::GesturePinchUpdate:
     case PlatformEvent::GestureTapDownCancel:
         break;
     default:

Modified: trunk/Source/WebCore/platform/PlatformEvent.h (151839 => 151840)


--- trunk/Source/WebCore/platform/PlatformEvent.h	2013-06-21 16:03:10 UTC (rev 151839)
+++ trunk/Source/WebCore/platform/PlatformEvent.h	2013-06-21 16:12:54 UTC (rev 151840)
@@ -59,9 +59,6 @@
         GestureTwoFingerTap,
         GestureLongPress,
         GestureLongTap,
-        GesturePinchBegin,
-        GesturePinchEnd,
-        GesturePinchUpdate,
 
 #if ENABLE(TOUCH_EVENTS)
         // PlatformTouchEvent
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to