Modified: trunk/Source/WebKit/ChangeLog (262914 => 262915)
--- trunk/Source/WebKit/ChangeLog 2020-06-11 18:55:20 UTC (rev 262914)
+++ trunk/Source/WebKit/ChangeLog 2020-06-11 18:58:15 UTC (rev 262915)
@@ -1,3 +1,15 @@
+2020-06-11 Jonathan Bedard <[email protected]>
+
+ WebKit: Add UIKit SPI for watchOS and tvOS
+ https://bugs.webkit.org/show_bug.cgi?id=213077
+ <rdar://problem/64255131>
+
+ Reviewed by Tim Horton.
+
+ No new tests, behavior unchanged.
+
+ * Platform/spi/ios/UIKitSPI.h:
+
2020-06-11 David Kilzer <[email protected]>
[IPC] Adopt enum class for DragSourceAction
Modified: trunk/Source/WebKit/Platform/spi/ios/UIKitSPI.h (262914 => 262915)
--- trunk/Source/WebKit/Platform/spi/ios/UIKitSPI.h 2020-06-11 18:55:20 UTC (rev 262914)
+++ trunk/Source/WebKit/Platform/spi/ios/UIKitSPI.h 2020-06-11 18:58:15 UTC (rev 262915)
@@ -254,6 +254,8 @@
@interface UIFont ()
+ (UIFont *)fontWithFamilyName:(NSString *)familyName traits:(UIFontTrait)traits size:(CGFloat)fontSize;
++ (UIFont *)systemFontOfSize:(CGFloat)size weight:(CGFloat)weight design:(NSString *)design;
+
- (UIFontTrait)traits;
@end
@@ -267,6 +269,7 @@
@interface UIImage ()
- (id)initWithCGImage:(CGImageRef)CGImage imageOrientation:(UIImageOrientation)imageOrientation;
+- (UIImage *)_flatImageWithColor:(UIColor *)color;
@end
@interface UIKeyCommand ()
@@ -507,6 +510,7 @@
@interface UITextSuggestion : NSObject
+ (instancetype)textSuggestionWithInputText:(NSString *)inputText;
@property (nonatomic, copy, readonly) NSString *inputText;
+@property (nonatomic, copy, readonly) NSString *displayText;
@end
@protocol UITextInputSuggestionDelegate <UITextInputDelegate>
@@ -1209,6 +1213,11 @@
+ (instancetype)styleWithCursor:(_UICursor *)cursor constrainedAxes:(UIAxis)axes;
@end
+#if PLATFORM(WATCHOS)
+@interface UIStatusBar : UIView
+@end
+#endif
+
#endif // USE(APPLE_INTERNAL_SDK)
#define UIWKDocumentRequestMarkedTextRects (1 << 5)
@@ -1420,4 +1429,10 @@
extern NSNotificationName const _UISceneWillBeginSystemSnapshotSequence;
extern NSNotificationName const _UISceneDidCompleteSystemSnapshotSequence;
+extern CGRect UIRectInsetEdges(CGRect, UIRectEdge edges, CGFloat v);
+extern CGRect UIRectInset(CGRect, CGFloat top, CGFloat right, CGFloat bottom, CGFloat left);
+
+extern CGRect UIRectInsetEdges(CGRect, UIRectEdge edges, CGFloat v);
+extern CGRect UIRectInset(CGRect, CGFloat top, CGFloat right, CGFloat bottom, CGFloat left);
+
WTF_EXTERN_C_END