Add WK_CLASS_AVAILABLE to _WKLinkIconParameters and _WKWebViewPrintFormatter
authoraakash_jain@apple.com <aakash_jain@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 7 Mar 2017 04:22:54 +0000 (04:22 +0000)
committeraakash_jain@apple.com <aakash_jain@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 7 Mar 2017 04:22:54 +0000 (04:22 +0000)
https://bugs.webkit.org/show_bug.cgi?id=169225

Reviewed by Tim Horton.

* UIProcess/API/Cocoa/_WKLinkIconParameters.h:
* UIProcess/_WKWebViewPrintFormatter.h:

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

Source/WebKit2/ChangeLog
Source/WebKit2/UIProcess/API/Cocoa/_WKLinkIconParameters.h
Source/WebKit2/UIProcess/_WKWebViewPrintFormatter.h

index 9703e77..77bdee7 100644 (file)
@@ -1,3 +1,13 @@
+2017-03-06  Aakash Jain  <aakash_jain@apple.com>
+
+        Add WK_CLASS_AVAILABLE to _WKLinkIconParameters and _WKWebViewPrintFormatter
+        https://bugs.webkit.org/show_bug.cgi?id=169225
+
+        Reviewed by Tim Horton.
+
+        * UIProcess/API/Cocoa/_WKLinkIconParameters.h:
+        * UIProcess/_WKWebViewPrintFormatter.h:
+
 2017-03-06  Michael Saboff  <msaboff@apple.com>
 
         Unreviewed build fix after r213483.
index 6b49a7a..d335d0f 100644 (file)
@@ -35,6 +35,7 @@ typedef NS_ENUM(NSInteger, WKLinkIconType) {
     WKLinkIconTypeTouchPrecomposedIcon,
 };
 
+WK_CLASS_AVAILABLE(macosx(WK_MAC_TBA), ios(WK_IOS_TBA))
 @interface _WKLinkIconParameters : NSObject
 
 @property (nonatomic, readonly, copy) NSURL *url;
index befdcc7..26a8fd6 100644 (file)
 #if TARGET_OS_IPHONE
 
 #import <UIKit/UIPrintFormatter.h>
+#import <WebKit/WKFoundation.h>
 
 @class _WKFrameHandle;
 
+WK_CLASS_AVAILABLE(ios(8.0))
 @interface _WKWebViewPrintFormatter : UIViewPrintFormatter
 
 @property (nonatomic, strong) _WKFrameHandle *frameToPrint;