RESOLVED FIXED 131206
[Cocoa] Add additional WKWebView SPI for clients that interact with PDFs
https://bugs.webkit.org/show_bug.cgi?id=131206
Summary [Cocoa] Add additional WKWebView SPI for clients that interact with PDFs
Andy Estes
Reported 2014-04-03 19:41:42 PDT
[Cocoa] Add additional WKWebView SPI for clients that interact with PDFs
Attachments
Patch (6.29 KB, patch)
2014-04-03 19:48 PDT, Andy Estes
mitz: review+
Andy Estes
Comment 1 2014-04-03 19:48:16 PDT
mitz
Comment 2 2014-04-03 20:24:21 PDT
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.
Andy Estes
Comment 3 2014-04-03 22:24:40 PDT
Radar WebKit Bug Importer
Comment 4 2014-04-04 00:32:13 PDT
Note You need to log in before you can comment on or make changes to this bug.