Title: [221187] trunk
Revision
221187
Author
[email protected]
Date
2017-08-25 08:27:22 -0700 (Fri, 25 Aug 2017)

Log Message

Fix build breakage with Public iOS 11 SDK
https://bugs.webkit.org/show_bug.cgi?id=175960
<rdar://problem/34069264>

Reviewed by Wenson Hsieh.

Source/WebCore/PAL:

* pal/spi/ios/UIKitSPI.h: Use NSItemProvider definition of preferredPresentationSize
instead of re-declaring it.

Source/WebKit:

* Platform/spi/ios/UIKitSPI.h: Add UIURLDragPreviewView declaration.

Tools:

* TestWebKitAPI/ios/DataInteractionSimulator.h: Add UIItemProvider declaration.

Modified Paths

Diff

Modified: trunk/Source/WebCore/PAL/ChangeLog (221186 => 221187)


--- trunk/Source/WebCore/PAL/ChangeLog	2017-08-25 14:46:48 UTC (rev 221186)
+++ trunk/Source/WebCore/PAL/ChangeLog	2017-08-25 15:27:22 UTC (rev 221187)
@@ -1,3 +1,14 @@
+2017-08-25  Jonathan Bedard  <[email protected]>
+
+        Fix build breakage with Public iOS 11 SDK
+        https://bugs.webkit.org/show_bug.cgi?id=175960
+        <rdar://problem/34069264>
+
+        Reviewed by Wenson Hsieh.
+
+        * pal/spi/ios/UIKitSPI.h: Use NSItemProvider definition of preferredPresentationSize
+        instead of re-declaring it.
+
 2017-08-23  Eric Carlson  <[email protected]>
 
         Platform code should be able to safely log in release builds

Modified: trunk/Source/WebCore/PAL/pal/spi/ios/UIKitSPI.h (221186 => 221187)


--- trunk/Source/WebCore/PAL/pal/spi/ios/UIKitSPI.h	2017-08-25 14:46:48 UTC (rev 221186)
+++ trunk/Source/WebCore/PAL/pal/spi/ios/UIKitSPI.h	2017-08-25 15:27:22 UTC (rev 221187)
@@ -47,6 +47,10 @@
 
 #import <UIKit/UIKit.h>
 
+#if ENABLE(DRAG_SUPPORT)
+#import <UIKit/NSItemProvider+UIKitAdditions.h>
+#endif
+
 NS_ASSUME_NONNULL_BEGIN
 
 typedef NS_ENUM(NSInteger, UIApplicationSceneClassicMode) {
@@ -95,7 +99,6 @@
 NS_ASSUME_NONNULL_BEGIN
 
 @interface UIItemProvider : NSItemProvider
-@property (nonatomic) CGSize preferredPresentationSize;
 @end
 
 #define UIItemProviderRepresentationOptionsVisibilityAll NSItemProviderRepresentationVisibilityAll

Modified: trunk/Source/WebKit/ChangeLog (221186 => 221187)


--- trunk/Source/WebKit/ChangeLog	2017-08-25 14:46:48 UTC (rev 221186)
+++ trunk/Source/WebKit/ChangeLog	2017-08-25 15:27:22 UTC (rev 221187)
@@ -1,3 +1,13 @@
+2017-08-25  Jonathan Bedard  <[email protected]>
+
+        Fix build breakage with Public iOS 11 SDK
+        https://bugs.webkit.org/show_bug.cgi?id=175960
+        <rdar://problem/34069264>
+
+        Reviewed by Wenson Hsieh.
+
+        * Platform/spi/ios/UIKitSPI.h: Add UIURLDragPreviewView declaration.
+
 2017-08-24  Chris Dumez  <[email protected]>
 
         [Directory Upload] Add basic support for input.webkitdirectory

Modified: trunk/Source/WebKit/Platform/spi/ios/UIKitSPI.h (221186 => 221187)


--- trunk/Source/WebKit/Platform/spi/ios/UIKitSPI.h	2017-08-25 14:46:48 UTC (rev 221186)
+++ trunk/Source/WebKit/Platform/spi/ios/UIKitSPI.h	2017-08-25 15:27:22 UTC (rev 221187)
@@ -102,6 +102,10 @@
 
 #else
 
+#if ENABLE(DRAG_SUPPORT)
+#import <UIKit/NSItemProvider+UIKitAdditions.h>
+#endif
+
 #if HAVE(LINK_PREVIEW)
 typedef NS_ENUM(NSInteger, UIPreviewItemType) {
     UIPreviewItemTypeNone,
@@ -878,7 +882,6 @@
 #if ENABLE(DRAG_SUPPORT)
 
 @interface UIItemProvider : NSItemProvider
-@property (nonatomic) CGSize preferredPresentationSize;
 @end
 
 WTF_EXTERN_C_BEGIN
@@ -918,6 +921,10 @@
 + (UITextEffectsWindow *)sharedTextEffectsWindow;
 @end
 
+@interface UIURLDragPreviewView : UIView
++ (instancetype)viewWithTitle:(NSString *)title URL:(NSURL *)url;
+@end
+
 #endif
 
 #endif // USE(APPLE_INTERNAL_SDK)

Modified: trunk/Tools/ChangeLog (221186 => 221187)


--- trunk/Tools/ChangeLog	2017-08-25 14:46:48 UTC (rev 221186)
+++ trunk/Tools/ChangeLog	2017-08-25 15:27:22 UTC (rev 221187)
@@ -1,3 +1,13 @@
+2017-08-25  Jonathan Bedard  <[email protected]>
+
+        Fix build breakage with Public iOS 11 SDK
+        https://bugs.webkit.org/show_bug.cgi?id=175960
+        <rdar://problem/34069264>
+
+        Reviewed by Wenson Hsieh.
+
+        * TestWebKitAPI/ios/DataInteractionSimulator.h: Add UIItemProvider declaration.
+
 2017-08-24  Chris Dumez  <[email protected]>
 
         [Directory Upload] Add basic support for input.webkitdirectory

Modified: trunk/Tools/TestWebKitAPI/ios/DataInteractionSimulator.h (221186 => 221187)


--- trunk/Tools/TestWebKitAPI/ios/DataInteractionSimulator.h	2017-08-25 14:46:48 UTC (rev 221186)
+++ trunk/Tools/TestWebKitAPI/ios/DataInteractionSimulator.h	2017-08-25 15:27:22 UTC (rev 221187)
@@ -28,6 +28,7 @@
 #if ENABLE(DATA_INTERACTION)
 
 #import "TestWKWebView.h"
+#import <UIKit/NSItemProvider+UIKitAdditions.h>
 
 #if USE(APPLE_INTERNAL_SDK)
 #import <UIKit/NSString+UIItemProvider.h>
@@ -90,6 +91,9 @@
     DataInteractionPerforming = 4
 };
 
+@interface UIItemProvider : NSItemProvider
+@end
+
 @interface DataInteractionSimulator : NSObject<WKUIDelegatePrivate, _WKInputDelegate> {
 @private
     RetainPtr<TestWKWebView> _webView;
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to