Add missing availability macros after r230462
authorwenson_hsieh@apple.com <wenson_hsieh@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 10 Apr 2018 05:06:43 +0000 (05:06 +0000)
committerwenson_hsieh@apple.com <wenson_hsieh@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 10 Apr 2018 05:06:43 +0000 (05:06 +0000)
https://bugs.webkit.org/show_bug.cgi?id=184426

Reviewed by Timothy Hatcher.

Annotate new SPI added in r230462 with the appropriate availability macros.

* UIProcess/API/Cocoa/WKViewPrivate.h:
* UIProcess/API/Cocoa/WKWebViewPrivate.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@230470 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebKit/ChangeLog
Source/WebKit/UIProcess/API/Cocoa/WKViewPrivate.h
Source/WebKit/UIProcess/API/Cocoa/WKWebViewPrivate.h

index c7c81c5..1bb810c 100644 (file)
@@ -1,3 +1,15 @@
+2018-04-09  Wenson Hsieh  <wenson_hsieh@apple.com>
+
+        Add missing availability macros after r230462
+        https://bugs.webkit.org/show_bug.cgi?id=184426
+
+        Reviewed by Timothy Hatcher.
+
+        Annotate new SPI added in r230462 with the appropriate availability macros.
+
+        * UIProcess/API/Cocoa/WKViewPrivate.h:
+        * UIProcess/API/Cocoa/WKWebViewPrivate.h:
+
 2018-04-09  Brent Fulgham  <bfulgham@apple.com>
 
         Add ProcessPrivilege assertions to places that access NSApp
index c3bfce5..3e17c0f 100644 (file)
@@ -82,7 +82,7 @@
 @property (readonly) NSColor *_pageExtendedBackgroundColor;
 @property (copy, nonatomic) NSColor *underlayColor;
 
-@property (nonatomic, setter=_setBackgroundColor:) NSColor *_backgroundColor;
+@property (nonatomic, setter=_setBackgroundColor:) NSColor *_backgroundColor WK_API_AVAILABLE(macosx(WK_MAC_TBA));
 
 #if WK_API_ENABLED
 @property (strong, nonatomic, setter=_setInspectorAttachmentView:) NSView *_inspectorAttachmentView WK_API_AVAILABLE(macosx(10.11));
index a90715c..6d88d9e 100644 (file)
@@ -260,7 +260,7 @@ typedef NS_OPTIONS(NSUInteger, _WKRectEdge) {
 @property (nonatomic, setter=_setRubberBandingEnabled:) _WKRectEdge _rubberBandingEnabled WK_API_AVAILABLE(macosx(10.13.4));
 
 @property (readonly) NSColor *_pageExtendedBackgroundColor;
-@property (nonatomic, setter=_setBackgroundColor:) NSColor *_backgroundColor;
+@property (nonatomic, setter=_setBackgroundColor:) NSColor *_backgroundColor WK_API_AVAILABLE(macosx(WK_MAC_TBA));
 @property (nonatomic, setter=_setDrawsBackground:) BOOL _drawsBackground;
 @property (nonatomic, setter=_setTopContentInset:) CGFloat _topContentInset;