Title: [260663] trunk/Source
- Revision
- 260663
- Author
- timothy_hor...@apple.com
- Date
- 2020-04-24 13:05:57 -0700 (Fri, 24 Apr 2020)
Log Message
iPad: "Pocket City" interaction does not work with trackpad
https://bugs.webkit.org/show_bug.cgi?id=210985
<rdar://problem/62273077>
Reviewed by Wenson Hsieh.
Source/WebCore:
* platform/RuntimeApplicationChecks.h:
* platform/cocoa/RuntimeApplicationChecksCocoa.mm:
(WebCore::IOSApplication::isPocketCity):
Source/WebKit:
* UIProcess/ios/WKContentViewInteraction.mm:
(-[WKContentView shouldUseMouseGestureRecognizer]):
Add another app to the list who fall back to touch event synthesis until rebuilt.
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (260662 => 260663)
--- trunk/Source/WebCore/ChangeLog 2020-04-24 20:04:35 UTC (rev 260662)
+++ trunk/Source/WebCore/ChangeLog 2020-04-24 20:05:57 UTC (rev 260663)
@@ -1,3 +1,15 @@
+2020-04-24 Tim Horton <timothy_hor...@apple.com>
+
+ iPad: "Pocket City" interaction does not work with trackpad
+ https://bugs.webkit.org/show_bug.cgi?id=210985
+ <rdar://problem/62273077>
+
+ Reviewed by Wenson Hsieh.
+
+ * platform/RuntimeApplicationChecks.h:
+ * platform/cocoa/RuntimeApplicationChecksCocoa.mm:
+ (WebCore::IOSApplication::isPocketCity):
+
2020-04-24 Tomoki Imai <tomoki.i...@sony.com>
[OpenSSL] Implement WebCrypto APIs for HMAC
Modified: trunk/Source/WebCore/platform/RuntimeApplicationChecks.h (260662 => 260663)
--- trunk/Source/WebCore/platform/RuntimeApplicationChecks.h 2020-04-24 20:04:35 UTC (rev 260662)
+++ trunk/Source/WebCore/platform/RuntimeApplicationChecks.h 2020-04-24 20:05:57 UTC (rev 260663)
@@ -103,6 +103,7 @@
WEBCORE_EXPORT bool isNews();
WEBCORE_EXPORT bool isStocks();
WEBCORE_EXPORT bool isFeedly();
+WEBCORE_EXPORT bool isPocketCity();
} // IOSApplication
Modified: trunk/Source/WebCore/platform/cocoa/RuntimeApplicationChecksCocoa.mm (260662 => 260663)
--- trunk/Source/WebCore/platform/cocoa/RuntimeApplicationChecksCocoa.mm 2020-04-24 20:04:35 UTC (rev 260662)
+++ trunk/Source/WebCore/platform/cocoa/RuntimeApplicationChecksCocoa.mm 2020-04-24 20:05:57 UTC (rev 260663)
@@ -363,6 +363,12 @@
return isFeedly;
}
+bool IOSApplication::isPocketCity()
+{
+ static bool isPocketCity = applicationBundleIsEqualTo("com.codebrewgames.pocketcity"_s);
+ return isPocketCity;
+}
+
#endif
} // namespace WebCore
Modified: trunk/Source/WebKit/ChangeLog (260662 => 260663)
--- trunk/Source/WebKit/ChangeLog 2020-04-24 20:04:35 UTC (rev 260662)
+++ trunk/Source/WebKit/ChangeLog 2020-04-24 20:05:57 UTC (rev 260663)
@@ -1,3 +1,15 @@
+2020-04-24 Tim Horton <timothy_hor...@apple.com>
+
+ iPad: "Pocket City" interaction does not work with trackpad
+ https://bugs.webkit.org/show_bug.cgi?id=210985
+ <rdar://problem/62273077>
+
+ Reviewed by Wenson Hsieh.
+
+ * UIProcess/ios/WKContentViewInteraction.mm:
+ (-[WKContentView shouldUseMouseGestureRecognizer]):
+ Add another app to the list who fall back to touch event synthesis until rebuilt.
+
2020-04-24 Alex Christensen <achristen...@webkit.org>
SPI clients using fastServerTrustEvaluationEnabled need SPI to inform them of modern TLS negotiation
Modified: trunk/Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm (260662 => 260663)
--- trunk/Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm 2020-04-24 20:04:35 UTC (rev 260662)
+++ trunk/Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm 2020-04-24 20:05:57 UTC (rev 260663)
@@ -8402,6 +8402,10 @@
if (WebCore::IOSApplication::isFeedly())
return NO;
+ // <rdar://problem/62273077> "Pocket City" does not respond to mouse events, only touch events
+ if (WebCore::IOSApplication::isPocketCity())
+ return NO;
+
return YES;
}();
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes