Title: [205531] trunk/Source/WebKit2
- Revision
- 205531
- Author
- [email protected]
- Date
- 2016-09-06 17:49:11 -0700 (Tue, 06 Sep 2016)
Log Message
[iOS] WebKit2 fails to build with iOS 10 beta SDK - "'UIWKTextInteractionAssistant' may not respond to 'selectAll:'"
https://bugs.webkit.org/show_bug.cgi?id=161663
Reviewed by Darin Adler.
The UIResponderStandardEditActions extensions, including the selectAll: message, are now
part of a formal protocol by the same name as of the iOS 10 beta SDK.
* Platform/spi/ios/UIKitSPI.h:
Modified Paths
Diff
Modified: trunk/Source/WebKit2/ChangeLog (205530 => 205531)
--- trunk/Source/WebKit2/ChangeLog 2016-09-07 00:48:46 UTC (rev 205530)
+++ trunk/Source/WebKit2/ChangeLog 2016-09-07 00:49:11 UTC (rev 205531)
@@ -1,3 +1,15 @@
+2016-09-06 Daniel Bates <[email protected]>
+
+ [iOS] WebKit2 fails to build with iOS 10 beta SDK - "'UIWKTextInteractionAssistant' may not respond to 'selectAll:'"
+ https://bugs.webkit.org/show_bug.cgi?id=161663
+
+ Reviewed by Darin Adler.
+
+ The UIResponderStandardEditActions extensions, including the selectAll: message, are now
+ part of a formal protocol by the same name as of the iOS 10 beta SDK.
+
+ * Platform/spi/ios/UIKitSPI.h:
+
2016-09-06 Ryosuke Niwa <[email protected]>
Enable custom elements API in Safari Technology Preview
Modified: trunk/Source/WebKit2/Platform/spi/ios/UIKitSPI.h (205530 => 205531)
--- trunk/Source/WebKit2/Platform/spi/ios/UIKitSPI.h 2016-09-07 00:48:46 UTC (rev 205530)
+++ trunk/Source/WebKit2/Platform/spi/ios/UIKitSPI.h 2016-09-07 00:49:11 UTC (rev 205531)
@@ -541,9 +541,14 @@
@property (nonatomic, assign) NSRange rangeInMarkedText;
@end
-@interface UIWKTextInteractionAssistant : UITextInteractionAssistant
+#if __IPHONE_OS_VERSION_MAX_ALLOWED < 100000
+@protocol UIResponderStandardEditActions
@end
+#endif
+@interface UIWKTextInteractionAssistant : UITextInteractionAssistant <UIResponderStandardEditActions>
+@end
+
@interface UIWKTextInteractionAssistant (UIWKTextInteractionAssistantDetails)
- (void)selectionChangedWithGestureAt:(CGPoint)point withGesture:(UIWKGestureType)gestureType withState:(UIGestureRecognizerState)gestureState withFlags:(UIWKSelectionFlags)flags;
- (void)showDictionaryFor:(NSString *)selectedTerm fromRect:(CGRect)presentationRect;
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes