OOP PDF: Print the PDF element instead of the PDF frame.
commitd5276b3d0157c91fc03760841cdccb959dd28167
authorsammc <sammc@chromium.org>
Mon, 24 Nov 2014 01:45:50 +0000 (23 17:45 -0800)
committerCommit bot <commit-bot@chromium.org>
Mon, 24 Nov 2014 01:46:24 +0000 (24 01:46 +0000)
treef105f75143ccf72c5c0d5d25f4dea1b0451bc444
parent3ae8287447b46a6bceeec089cebb52e79633f916
OOP PDF: Print the PDF element instead of the PDF frame.

When using the out-of-process plugin, the document is not a plugin
document so printing the WebContents containing the plugin does not
print the PDF. This CL changes PrintWebViewHelper to find and print the
plugin element when a print is requested for the out-of-process PDF
extension.

BUG=433713

Review URL: https://codereview.chromium.org/739093002

Cr-Commit-Position: refs/heads/master@{#305395}
chrome/renderer/printing/print_web_view_helper.cc