OOP PDF: Use an object element for print preview instead of an embed.
commit0a182576926c2b560035db3d53abd614a1423145
authorsammc <sammc@chromium.org>
Tue, 2 Dec 2014 00:32:28 +0000 (1 16:32 -0800)
committerCommit bot <commit-bot@chromium.org>
Tue, 2 Dec 2014 00:32:47 +0000 (2 00:32 +0000)
tree846ff91a16b7a441baa1f116208cac4fbca243db
parent6b5854d2b4b32c32c039bbad94356c76fc08b397
OOP PDF: Use an object element for print preview instead of an embed.

This avoids the origin checking that prevents the PDF extension from
embedding the print-preview PDFs, which are served from the chrome
scheme.

BUG=437417

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

Cr-Commit-Position: refs/heads/master@{#306307}
chrome/browser/resources/pdf/pdf.js