Title: [261180] trunk/Source
Revision
261180
Author
timothy_hor...@apple.com
Date
2020-05-05 10:10:42 -0700 (Tue, 05 May 2020)

Log Message

"Essential Skeleton" does not respond to mouse events, only touch events
https://bugs.webkit.org/show_bug.cgi?id=211439
<rdar://problem/62694519>

Reviewed by Wenson Hsieh.

Source/WebCore:

* platform/RuntimeApplicationChecks.h:
* platform/cocoa/RuntimeApplicationChecksCocoa.mm:
(WebCore::IOSApplication::isEssentialSkeleton):

Source/WebKit:

* UIProcess/ios/WKContentViewInteraction.mm:
(-[WKContentView shouldUseMouseGestureRecognizer]):
Add a quirk.

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (261179 => 261180)


--- trunk/Source/WebCore/ChangeLog	2020-05-05 17:08:29 UTC (rev 261179)
+++ trunk/Source/WebCore/ChangeLog	2020-05-05 17:10:42 UTC (rev 261180)
@@ -1,3 +1,15 @@
+2020-05-05  Timothy Horton  <timothy_hor...@apple.com>
+
+        "Essential Skeleton" does not respond to mouse events, only touch events
+        https://bugs.webkit.org/show_bug.cgi?id=211439
+        <rdar://problem/62694519>
+
+        Reviewed by Wenson Hsieh.
+
+        * platform/RuntimeApplicationChecks.h:
+        * platform/cocoa/RuntimeApplicationChecksCocoa.mm:
+        (WebCore::IOSApplication::isEssentialSkeleton):
+
 2020-05-05  Megan Gardner  <megan_gard...@apple.com>
 
         Style is not applied when changed on the first line of a new mail message.

Modified: trunk/Source/WebCore/platform/RuntimeApplicationChecks.h (261179 => 261180)


--- trunk/Source/WebCore/platform/RuntimeApplicationChecks.h	2020-05-05 17:08:29 UTC (rev 261179)
+++ trunk/Source/WebCore/platform/RuntimeApplicationChecks.h	2020-05-05 17:10:42 UTC (rev 261180)
@@ -104,6 +104,7 @@
 WEBCORE_EXPORT bool isStocks();
 WEBCORE_EXPORT bool isFeedly();
 WEBCORE_EXPORT bool isPocketCity();
+WEBCORE_EXPORT bool isEssentialSkeleton();
 
 } // IOSApplication
 

Modified: trunk/Source/WebCore/platform/cocoa/RuntimeApplicationChecksCocoa.mm (261179 => 261180)


--- trunk/Source/WebCore/platform/cocoa/RuntimeApplicationChecksCocoa.mm	2020-05-05 17:08:29 UTC (rev 261179)
+++ trunk/Source/WebCore/platform/cocoa/RuntimeApplicationChecksCocoa.mm	2020-05-05 17:10:42 UTC (rev 261180)
@@ -369,6 +369,12 @@
     return isPocketCity;
 }
 
+bool IOSApplication::isEssentialSkeleton()
+{
+    static bool isEssentialSkeleton = applicationBundleIsEqualTo("com.3d4medical.EssentialSkeleton"_s);
+    return isEssentialSkeleton;
+}
+
 #endif
 
 } // namespace WebCore

Modified: trunk/Source/WebKit/ChangeLog (261179 => 261180)


--- trunk/Source/WebKit/ChangeLog	2020-05-05 17:08:29 UTC (rev 261179)
+++ trunk/Source/WebKit/ChangeLog	2020-05-05 17:10:42 UTC (rev 261180)
@@ -1,3 +1,15 @@
+2020-05-05  Timothy Horton  <timothy_hor...@apple.com>
+
+        "Essential Skeleton" does not respond to mouse events, only touch events
+        https://bugs.webkit.org/show_bug.cgi?id=211439
+        <rdar://problem/62694519>
+
+        Reviewed by Wenson Hsieh.
+
+        * UIProcess/ios/WKContentViewInteraction.mm:
+        (-[WKContentView shouldUseMouseGestureRecognizer]):
+        Add a quirk.
+
 2020-05-05  Víctor Manuel Jáquez Leal  <vjaq...@igalia.com>
 
         Compile GPUProcess in WPE port as experimental feature

Modified: trunk/Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm (261179 => 261180)


--- trunk/Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm	2020-05-05 17:08:29 UTC (rev 261179)
+++ trunk/Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm	2020-05-05 17:10:42 UTC (rev 261180)
@@ -8421,6 +8421,10 @@
         if (WebCore::IOSApplication::isPocketCity())
             return NO;
 
+        // <rdar://problem/62694519> "Essential Skeleton" does not respond to mouse events, only touch events
+        if (WebCore::IOSApplication::isEssentialSkeleton())
+            return NO;
+
         return YES;
     }();
 
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to