Title: [267612] trunk/Source
Revision
267612
Author
[email protected]
Date
2020-09-25 17:27:09 -0700 (Fri, 25 Sep 2020)

Log Message

Crunchyroll playback controls do not work on iPad with trackpad
https://bugs.webkit.org/show_bug.cgi?id=217000
<rdar://problem/66362029>

Reviewed by Wenson Hsieh.

Source/WebCore:

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

Source/WebKit:

* UIProcess/ios/WKContentViewInteraction.mm:
(applicationIsKnownToIgnoreMouseEvents):
Add it to the list.

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (267611 => 267612)


--- trunk/Source/WebCore/ChangeLog	2020-09-26 00:14:42 UTC (rev 267611)
+++ trunk/Source/WebCore/ChangeLog	2020-09-26 00:27:09 UTC (rev 267612)
@@ -1,3 +1,15 @@
+2020-09-25  Tim Horton  <[email protected]>
+
+        Crunchyroll playback controls do not work on iPad with trackpad
+        https://bugs.webkit.org/show_bug.cgi?id=217000
+        <rdar://problem/66362029>
+
+        Reviewed by Wenson Hsieh.
+
+        * platform/RuntimeApplicationChecks.h:
+        * platform/cocoa/RuntimeApplicationChecksCocoa.mm:
+        (WebCore::IOSApplication::isCrunchyroll):
+
 2020-09-25  Simon Fraser  <[email protected]>
 
         Make renderingUpdateScheduler() internal to Page

Modified: trunk/Source/WebCore/platform/RuntimeApplicationChecks.h (267611 => 267612)


--- trunk/Source/WebCore/platform/RuntimeApplicationChecks.h	2020-09-26 00:14:42 UTC (rev 267611)
+++ trunk/Source/WebCore/platform/RuntimeApplicationChecks.h	2020-09-26 00:27:09 UTC (rev 267612)
@@ -113,6 +113,7 @@
 WEBCORE_EXPORT bool isOKCupid();
 WEBCORE_EXPORT bool isJWLibrary();
 WEBCORE_EXPORT bool isPaperIO();
+WEBCORE_EXPORT bool isCrunchyroll();
 
 } // IOSApplication
 

Modified: trunk/Source/WebCore/platform/cocoa/RuntimeApplicationChecksCocoa.mm (267611 => 267612)


--- trunk/Source/WebCore/platform/cocoa/RuntimeApplicationChecksCocoa.mm	2020-09-26 00:14:42 UTC (rev 267611)
+++ trunk/Source/WebCore/platform/cocoa/RuntimeApplicationChecksCocoa.mm	2020-09-26 00:27:09 UTC (rev 267612)
@@ -434,6 +434,12 @@
     return isPaperIO;
 }
 
+bool IOSApplication::isCrunchyroll()
+{
+    static bool isCrunchyroll = applicationBundleIsEqualTo("com.crunchyroll.iphone"_s);
+    return isCrunchyroll;
+}
+
 #endif
 
 } // namespace WebCore

Modified: trunk/Source/WebKit/ChangeLog (267611 => 267612)


--- trunk/Source/WebKit/ChangeLog	2020-09-26 00:14:42 UTC (rev 267611)
+++ trunk/Source/WebKit/ChangeLog	2020-09-26 00:27:09 UTC (rev 267612)
@@ -1,3 +1,15 @@
+2020-09-25  Tim Horton  <[email protected]>
+
+        Crunchyroll playback controls do not work on iPad with trackpad
+        https://bugs.webkit.org/show_bug.cgi?id=217000
+        <rdar://problem/66362029>
+
+        Reviewed by Wenson Hsieh.
+
+        * UIProcess/ios/WKContentViewInteraction.mm:
+        (applicationIsKnownToIgnoreMouseEvents):
+        Add it to the list.
+
 2020-09-25  Alex Christensen  <[email protected]>
 
         Move NetworkProcessProxy ownership from WebProcessPool to WebsiteDataStore

Modified: trunk/Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm (267611 => 267612)


--- trunk/Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm	2020-09-26 00:14:42 UTC (rev 267611)
+++ trunk/Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm	2020-09-26 00:27:09 UTC (rev 267612)
@@ -8572,7 +8572,8 @@
             || WebCore::IOSApplication::isNoggin() // <rdar://problem/64830335>
             || WebCore::IOSApplication::isOKCupid() // <rdar://problem/65698496>
             || WebCore::IOSApplication::isJWLibrary() // <rdar://problem/68104852>
-            || WebCore::IOSApplication::isPaperIO()) { // <rdar://problem/68738585>
+            || WebCore::IOSApplication::isPaperIO() // <rdar://problem/68738585>
+            || WebCore::IOSApplication::isCrunchyroll()) { // <rdar://problem/66362029>
             warningVersion = "14.2";
             return YES;
         }
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to