WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
50768
Add a basic implementation of PDF support on Mac
https://bugs.webkit.org/show_bug.cgi?id=50768
Summary
Add a basic implementation of PDF support on Mac
Anders Carlsson
Reported
2010-12-09 10:44:03 PST
Add a basic implementation of PDF support on Mac
Attachments
Patch
(18.39 KB, patch)
2010-12-09 10:49 PST
,
Anders Carlsson
sam
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Anders Carlsson
Comment 1
2010-12-09 10:49:49 PST
Created
attachment 76094
[details]
Patch
WebKit Review Bot
Comment 2
2010-12-09 10:52:53 PST
Attachment 76094
[details]
did not pass style-queue: Failed to run "['WebKitTools/Scripts/check-webkit-style', '--diff-files', u'WebKit2/ChangeLog', u'WebKit2/UIProcess/API/mac/PDFViewController.h', u'WebKit2/UIProcess/API/mac/PDFViewController.mm', u'WebKit2/UIProcess/API/mac/PageClientImpl.mm', u'WebKit2/UIProcess/API/mac/WKView.mm', u'WebKit2/UIProcess/API/mac/WKViewInternal.h', u'WebKit2/WebKit2.xcodeproj/project.pbxproj']" exit_code: 1 WebKit2/UIProcess/API/mac/PDFViewController.h:39: Code inside a namespace should not be indented. [whitespace/indent] [4] Total errors found: 1 in 7 files If any of these errors are false positives, please file a bug against check-webkit-style.
Sam Weinig
Comment 3
2010-12-09 10:53:03 PST
Comment on
attachment 76094
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=76094&action=review
> WebKit2/UIProcess/API/mac/PDFViewController.h:48 > + static PassOwnPtr<PDFViewController> create(WKView *wkView);
Parameter name is not needed.
> WebKit2/UIProcess/API/mac/PDFViewController.h:67 > +}
We usually put // namespace WebKit here.
> WebKit2/UIProcess/API/mac/WKView.mm:1001 > +- (void)_setPageHasCustomRepresentation:(BOOL)pageHasCustomRepresentation {
{ should be on the next line.
> WebKit2/UIProcess/API/mac/WKView.mm:1008 > +- (void)_didFinishLoadingDataForCustomRepresentation:(const CoreIPC::DataReference&)dataReference {
Same here.
Anders Carlsson
Comment 4
2010-12-09 11:01:05 PST
Committed
r73630
: <
http://trac.webkit.org/changeset/73630
>
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