Title: [265269] trunk/Source
Revision
265269
Author
drou...@apple.com
Date
2020-08-04 16:48:36 -0700 (Tue, 04 Aug 2020)

Log Message

"DoubleDown Casino" respin button stops working with trackpad
https://bugs.webkit.org/show_bug.cgi?id=215146
<rdar://problem/64668138>

Reviewed by Tim Horton.

Source/WebCore:

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

Source/WebKit:

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

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (265268 => 265269)


--- trunk/Source/WebCore/ChangeLog	2020-08-04 23:38:29 UTC (rev 265268)
+++ trunk/Source/WebCore/ChangeLog	2020-08-04 23:48:36 UTC (rev 265269)
@@ -1,3 +1,15 @@
+2020-08-04  Devin Rousso  <drou...@apple.com>
+
+        "DoubleDown Casino" respin button stops working with trackpad
+        https://bugs.webkit.org/show_bug.cgi?id=215146
+        <rdar://problem/64668138>
+
+        Reviewed by Tim Horton.
+
+        * platform/RuntimeApplicationChecks.h:
+        * platform/cocoa/RuntimeApplicationChecksCocoa.mm:
+        (WebCore::IOSApplication::isDoubleDown): Added.
+
 2020-08-04  Chris Dumez  <cdu...@apple.com>
 
         Align AudioListener with the W3C specification

Modified: trunk/Source/WebCore/platform/RuntimeApplicationChecks.h (265268 => 265269)


--- trunk/Source/WebCore/platform/RuntimeApplicationChecks.h	2020-08-04 23:38:29 UTC (rev 265268)
+++ trunk/Source/WebCore/platform/RuntimeApplicationChecks.h	2020-08-04 23:48:36 UTC (rev 265269)
@@ -107,6 +107,7 @@
 WEBCORE_EXPORT bool isEssentialSkeleton();
 WEBCORE_EXPORT bool isLaBanquePostale();
 WEBCORE_EXPORT bool isESPNFantasySports();
+WEBCORE_EXPORT bool isDoubleDown();
 
 } // IOSApplication
 

Modified: trunk/Source/WebCore/platform/cocoa/RuntimeApplicationChecksCocoa.mm (265268 => 265269)


--- trunk/Source/WebCore/platform/cocoa/RuntimeApplicationChecksCocoa.mm	2020-08-04 23:38:29 UTC (rev 265268)
+++ trunk/Source/WebCore/platform/cocoa/RuntimeApplicationChecksCocoa.mm	2020-08-04 23:48:36 UTC (rev 265269)
@@ -398,6 +398,12 @@
     return isESPNFantasySports;
 }
 
+bool IOSApplication::isDoubleDown()
+{
+    static bool isDoubleDown = applicationBundleIsEqualTo("com.doubledowninteractive.DDCasino"_s);
+    return isDoubleDown;
+}
+
 #endif
 
 } // namespace WebCore

Modified: trunk/Source/WebKit/ChangeLog (265268 => 265269)


--- trunk/Source/WebKit/ChangeLog	2020-08-04 23:38:29 UTC (rev 265268)
+++ trunk/Source/WebKit/ChangeLog	2020-08-04 23:48:36 UTC (rev 265269)
@@ -1,3 +1,14 @@
+2020-08-04  Devin Rousso  <drou...@apple.com>
+
+        "DoubleDown Casino" respin button stops working with trackpad
+        https://bugs.webkit.org/show_bug.cgi?id=215146
+        <rdar://problem/64668138>
+
+        Reviewed by Tim Horton.
+
+        * UIProcess/ios/WKContentViewInteraction.mm:
+        (-[WKContentView shouldUseMouseGestureRecognizer]):
+
 2020-08-04  Per Arne Vollan  <pvol...@apple.com>
 
         [iOS] Issue a temporary extension to the MobileGestalt daemon when the MobileGestalt cache is invalid

Modified: trunk/Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm (265268 => 265269)


--- trunk/Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm	2020-08-04 23:38:29 UTC (rev 265268)
+++ trunk/Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm	2020-08-04 23:48:36 UTC (rev 265269)
@@ -8639,6 +8639,10 @@
         if (WebCore::IOSApplication::isESPNFantasySports())
             return NO;
 
+        // <rdar://problem/64668138> DoubleDown Casino respin button stops working with trackpad
+        if (WebCore::IOSApplication::isDoubleDown())
+            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