[Cocoa] Add additional WKWebView SPI for clients that interact with PDFs
Created attachment 228575 [details] Patch
Comment on attachment 228575 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=228575&action=review > Source/WebKit2/UIProcess/API/Cocoa/WKWebView.mm:1240 > + return [reinterpret_cast<WKPDFView *>(_customContentView.get()) documentData]; We normally use C-style casts between Objective-C classes. > Source/WebKit2/UIProcess/API/Cocoa/WKWebView.mm:1247 > + return [reinterpret_cast<WKPDFView *>(_customContentView.get()) suggestedFilename]; Ditto. > Source/WebKit2/UIProcess/ios/WKPDFView.mm:71 > + _suggestedFilename = filename; Please copy and adopt, since NSString has a mutable subclass.
Committed r166767: <http://trac.webkit.org/changeset/166767>
<rdar://problem/16522127>