Title: [264453] trunk/Source
- Revision
- 264453
- Author
- [email protected]
- Date
- 2020-07-16 06:30:34 -0700 (Thu, 16 Jul 2020)
Log Message
[Big Sur] Build on Seed 1
https://bugs.webkit.org/show_bug.cgi?id=214396
<rdar://problem/65644762>
Reviewed by Tim Horton.
Source/WebCore/PAL:
* pal/spi/cg/CoreGraphicsSPI.h: Add CoreGraphics SPI for PDFKIT_PLUGIN.
* pal/spi/mac/NSImageSPI.h:
Source/WTF:
* wtf/PlatformHave.h: Add HAVE(LARGE_CONTROL_SIZE).
Modified Paths
Diff
Modified: trunk/Source/WTF/ChangeLog (264452 => 264453)
--- trunk/Source/WTF/ChangeLog 2020-07-16 13:09:07 UTC (rev 264452)
+++ trunk/Source/WTF/ChangeLog 2020-07-16 13:30:34 UTC (rev 264453)
@@ -1,3 +1,13 @@
+2020-07-16 Jonathan Bedard <[email protected]>
+
+ [Big Sur] Build on Seed 1
+ https://bugs.webkit.org/show_bug.cgi?id=214396
+ <rdar://problem/65644762>
+
+ Reviewed by Tim Horton.
+
+ * wtf/PlatformHave.h: Add HAVE(LARGE_CONTROL_SIZE).
+
2020-07-15 Saagar Jha <[email protected]>
Add some missing boilerplate to help fix build on macOS Big Sur
Modified: trunk/Source/WTF/wtf/PlatformHave.h (264452 => 264453)
--- trunk/Source/WTF/wtf/PlatformHave.h 2020-07-16 13:09:07 UTC (rev 264452)
+++ trunk/Source/WTF/wtf/PlatformHave.h 2020-07-16 13:30:34 UTC (rev 264453)
@@ -695,3 +695,7 @@
|| (PLATFORM(APPLETV) && __TV_OS_VERSION_MIN_REQUIRED >= 140000)
#define HAVE_LSDATABASECONTEXT 1
#endif
+
+#if PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 101600
+#define HAVE_LARGE_CONTROL_SIZE 1
+#endif
Modified: trunk/Source/WebCore/PAL/ChangeLog (264452 => 264453)
--- trunk/Source/WebCore/PAL/ChangeLog 2020-07-16 13:09:07 UTC (rev 264452)
+++ trunk/Source/WebCore/PAL/ChangeLog 2020-07-16 13:30:34 UTC (rev 264453)
@@ -1,3 +1,14 @@
+2020-07-16 Jonathan Bedard <[email protected]>
+
+ [Big Sur] Build on Seed 1
+ https://bugs.webkit.org/show_bug.cgi?id=214396
+ <rdar://problem/65644762>
+
+ Reviewed by Tim Horton.
+
+ * pal/spi/cg/CoreGraphicsSPI.h: Add CoreGraphics SPI for PDFKIT_PLUGIN.
+ * pal/spi/mac/NSImageSPI.h:
+
2020-07-15 Saagar Jha <[email protected]>
Add some missing boilerplate to help fix build on macOS Big Sur
Modified: trunk/Source/WebCore/PAL/pal/spi/cg/CoreGraphicsSPI.h (264452 => 264453)
--- trunk/Source/WebCore/PAL/pal/spi/cg/CoreGraphicsSPI.h 2020-07-16 13:09:07 UTC (rev 264452)
+++ trunk/Source/WebCore/PAL/pal/spi/cg/CoreGraphicsSPI.h 2020-07-16 13:30:34 UTC (rev 264453)
@@ -339,4 +339,27 @@
#endif // PLATFORM(MAC)
+#if ENABLE(PDFKIT_PLUGIN)
+
+extern const off_t kCGDataProviderIndeterminateSize;
+extern const CFStringRef kCGDataProviderHasHighLatency;
+
+typedef void (*CGDataProviderGetByteRangesCallback)(void *info,
+ CFMutableArrayRef buffers, const CFRange *ranges, size_t count);
+
+struct CGDataProviderDirectAccessRangesCallbacks {
+ unsigned version;
+ CGDataProviderGetBytesAtPositionCallback getBytesAtPosition;
+ CGDataProviderGetByteRangesCallback getBytesInRanges;
+ CGDataProviderReleaseInfoCallback releaseInfo;
+};
+typedef struct CGDataProviderDirectAccessRangesCallbacks CGDataProviderDirectAccessRangesCallbacks;
+
+extern void CGDataProviderSetProperty(CGDataProviderRef, CFStringRef key, CFTypeRef value);
+extern CGDataProviderRef CGDataProviderCreateMultiRangeDirectAccess(
+ void *info, off_t size,
+ const CGDataProviderDirectAccessRangesCallbacks *);
+
+#endif // ENABLE(PDFKIT_PLUGIN)
+
WTF_EXTERN_C_END
Modified: trunk/Source/WebCore/PAL/pal/spi/mac/NSImageSPI.h (264452 => 264453)
--- trunk/Source/WebCore/PAL/pal/spi/mac/NSImageSPI.h 2020-07-16 13:09:07 UTC (rev 264452)
+++ trunk/Source/WebCore/PAL/pal/spi/mac/NSImageSPI.h 2020-07-16 13:30:34 UTC (rev 264453)
@@ -33,11 +33,29 @@
#else
+NS_ASSUME_NONNULL_BEGIN
+
+extern const NSImageHintKey NSImageHintSymbolFont;
+extern const NSImageHintKey NSImageHintSymbolScale;
+
+typedef NS_ENUM(NSInteger, NSImageSymbolScale) {
+ NSImageSymbolScaleDefault = -1,
+ NSImageSymbolScaleSmall = 1,
+ NSImageSymbolScaleMedium = 2,
+ NSImageSymbolScaleLarge = 3,
+};
+
@interface NSImage ()
-- (void)lockFocusWithRect:(NSRect)rect context:(NSGraphicsContext *)context hints:(NSDictionary *)hints flipped:(BOOL)flipped;
+- (void)lockFocusWithRect:(NSRect)rect context:(nullable NSGraphicsContext *)context hints:(nullable NSDictionary *)hints flipped:(BOOL)flipped;
+ (NSImage *)_imageWithSystemSymbolName:(NSString *)name;
@end
+@interface NSImage (NSSystemSymbols)
++ (nullable NSImage *)_imageWithSystemSymbolName:(NSString *) symbolName;
+@end
+
+NS_ASSUME_NONNULL_END
+
#endif
#endif
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes