Bug 151276 - Support printing in WKWebView
Summary: Support printing in WKWebView
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Tim Horton
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-13 15:10 PST by Tim Horton
Modified: 2016-01-14 07:31 PST (History)
7 users (show)

See Also:


Attachments
Patch (6.35 KB, patch)
2015-11-13 15:11 PST, Tim Horton
no flags Details | Formatted Diff | Diff
Patch (6.35 KB, patch)
2015-11-13 15:12 PST, Tim Horton
no flags Details | Formatted Diff | Diff
Patch (6.64 KB, patch)
2015-11-13 15:49 PST, Tim Horton
no flags Details | Formatted Diff | Diff
Patch (6.92 KB, patch)
2015-11-13 15:50 PST, Tim Horton
no flags Details | Formatted Diff | Diff
Patch (6.68 KB, patch)
2015-11-13 15:53 PST, Tim Horton
bdakin: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tim Horton 2015-11-13 15:10:20 PST
Support printing in WKWebView
Comment 1 Tim Horton 2015-11-13 15:11:27 PST
Created attachment 265504 [details]
Patch
Comment 2 Tim Horton 2015-11-13 15:12:15 PST
Created attachment 265505 [details]
Patch
Comment 3 Tim Horton 2015-11-13 15:35:44 PST
Comment on attachment 265505 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=265505&action=review

> Source/WebKit2/UIProcess/API/Cocoa/WKWebViewPrivate.h:234
> +- (NSPrintOperation *)_printOperationWithPrintInfo:(NSPrintInfo *)printInfo forFrame:(/* WK_NULLABLE */ _WKFrameHandle *)frameHandle WK_AVAILABLE(WK_MAC_TBA, WK_IOS_TBA);

This needs to be in a Mac-only place.
Comment 4 Tim Horton 2015-11-13 15:49:43 PST
Created attachment 265506 [details]
Patch
Comment 5 Tim Horton 2015-11-13 15:50:39 PST
Created attachment 265507 [details]
Patch
Comment 6 Tim Horton 2015-11-13 15:53:21 PST
Created attachment 265508 [details]
Patch
Comment 7 Tim Horton 2015-11-13 16:01:25 PST
http://trac.webkit.org/changeset/192447