[iOS][WK2] Implement WKPDFView smart magnification
[WebKit-https.git] / Source / WebKit2 / UIProcess / ios / WKPDFView.h
index a8cfa6c24606805b9c2b936015bf7f4a54fafe8a..0d9c097f97d6ffec8db96e144aa7c5b94346a52e 100644 (file)
 #if PLATFORM(IOS)
 
 #import "WKWebViewContentProvider.h"
+#import <CorePDF/UIPDFPageView.h>
 #import <UIKit/UIView.h>
 
-@interface WKPDFView : UIView <WKWebViewContentProvider>
+@interface WKPDFView : UIView <WKWebViewContentProvider, UIPDFPageViewDelegate>
 
 @property (nonatomic, readonly) NSString *suggestedFilename;
 @property (nonatomic, readonly) CGPDFDocumentRef pdfDocument;