Title: [291091] trunk/Source/WebKit
- Revision
- 291091
- Author
- megan_gard...@apple.com
- Date
- 2022-03-09 23:04:54 -0800 (Wed, 09 Mar 2022)
Log Message
Combine Lookup and Define.
https://bugs.webkit.org/show_bug.cgi?id=237627
rdar://26205225
Reviewed by Tim Horton.
* UIProcess/ios/WKContentViewInteraction.mm:
(-[WKContentView _defineForWebView:]):
Modified Paths
Diff
Modified: trunk/Source/WebKit/ChangeLog (291090 => 291091)
--- trunk/Source/WebKit/ChangeLog 2022-03-10 06:12:17 UTC (rev 291090)
+++ trunk/Source/WebKit/ChangeLog 2022-03-10 07:04:54 UTC (rev 291091)
@@ -1,3 +1,14 @@
+2022-03-09 Megan Gardner <megan_gard...@apple.com>
+
+ Combine Lookup and Define.
+ https://bugs.webkit.org/show_bug.cgi?id=237627
+ rdar://26205225
+
+ Reviewed by Tim Horton.
+
+ * UIProcess/ios/WKContentViewInteraction.mm:
+ (-[WKContentView _defineForWebView:]):
+
2022-03-09 Per Arne Vollan <pvol...@apple.com>
The accessibility library should be soft linked optionally
Modified: trunk/Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm (291090 => 291091)
--- trunk/Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm 2022-03-10 06:12:17 UTC (rev 291090)
+++ trunk/Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm 2022-03-10 07:04:54 UTC (rev 291091)
@@ -4238,19 +4238,7 @@
- (void)_defineForWebView:(id)sender
{
-#if !PLATFORM(MACCATALYST)
- MCProfileConnection *connection = [PAL::getMCProfileConnectionClass() sharedConnection];
- if ([connection effectiveBoolValueForSetting:PAL::get_ManagedConfiguration_MCFeatureDefinitionLookupAllowed()] == MCRestrictedBoolExplicitNo)
- return;
-#endif
-
- RetainPtr<WKContentView> view = self;
- _page->getSelectionOrContentsAsString([view](const String& string) {
- if (!string)
- return;
-
- [view _showDictionary:string];
- });
+ [self _lookupForWebView:sender];
}
- (void)accessibilityRetrieveSpeakSelectionContent
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes