Title: [170606] trunk/Source/WebKit2
Revision
170606
Author
[email protected]
Date
2014-06-30 15:50:28 -0700 (Mon, 30 Jun 2014)

Log Message

REGRESSION (Okemo): The contextual menu on tap and hold does not cancel the other gestures.
https://bugs.webkit.org/show_bug.cgi?id=134463
<rdar://problem/17388907>

Reviewed by Benjamin Poulain.

* UIProcess/ios/WKContentViewInteraction.mm:
(-[WKContentView _longPressRecognized:]):

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (170605 => 170606)


--- trunk/Source/WebKit2/ChangeLog	2014-06-30 22:48:47 UTC (rev 170605)
+++ trunk/Source/WebKit2/ChangeLog	2014-06-30 22:50:28 UTC (rev 170606)
@@ -1,3 +1,14 @@
+2014-06-30  Enrica Casucci  <[email protected]>
+
+        REGRESSION (Okemo): The contextual menu on tap and hold does not cancel the other gestures.
+        https://bugs.webkit.org/show_bug.cgi?id=134463
+        <rdar://problem/17388907>
+
+        Reviewed by Benjamin Poulain.
+
+        * UIProcess/ios/WKContentViewInteraction.mm:
+        (-[WKContentView _longPressRecognized:]):
+
 2014-06-30  Anders Carlsson  <[email protected]>
 
         Implement the last pieces of encodeFrameStateNode

Modified: trunk/Source/WebKit2/UIProcess/ios/WKContentViewInteraction.mm (170605 => 170606)


--- trunk/Source/WebKit2/UIProcess/ios/WKContentViewInteraction.mm	2014-06-30 22:48:47 UTC (rev 170605)
+++ trunk/Source/WebKit2/UIProcess/ios/WKContentViewInteraction.mm	2014-06-30 22:50:28 UTC (rev 170606)
@@ -46,6 +46,7 @@
 #import "_WKFormInputSession.h"
 #import <DataDetectorsUI/DDDetectionController.h>
 #import <TextInput/TI_NSStringExtras.h>
+#import <UIKit/UIApplication_Private.h>
 #import <UIKit/UIFont_Private.h>
 #import <UIKit/UIGestureRecognizer_Private.h>
 #import <UIKit/UIKeyboardImpl.h>
@@ -900,6 +901,7 @@
         if (action) {
             [self performSelector:action];
             [self _cancelLongPressGestureRecognizer];
+            [UIApp _cancelAllTouches];
         }
     }
 }
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to