Limit PDF helper extension to print preview only

These days, the helper extension is only used by the print preview.
So make sure that the helper extension is only activated in print
previews and fall back to the standard MimeHandler otherwise.
When the helper extension is unexpectedly loaded directly instead
of through the mime handler, the extension will fail to initialize.
This is totally desired!

BUG=654280
TEST=See bug report, also confirmed that print preview still works.
R=thestig@chromium.org
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation

Review-Url: https://codereview.chromium.org/2407713002
Cr-Commit-Position: refs/heads/master@{#425280}
(cherry picked from commit c72f59f36a16c0cb64e0eebfc0999a09250740f0)

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

Cr-Commit-Position: refs/branch-heads/2883@{#147}
Cr-Branched-From: 614d31daee2f61b0180df403a8ad43f20b9f6dd7-refs/heads/master@{#423768}
7 files changed