WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
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+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Andy Estes
Comment 1
2014-04-03 19:48:16 PDT
Created
attachment 228575
[details]
Patch
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
Committed
r166767
: <
http://trac.webkit.org/changeset/166767
>
Radar WebKit Bug Importer
Comment 4
2014-04-04 00:32:13 PDT
<
rdar://problem/16522127
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug