Delay printing OOP PDF until loading is complete

This delays the print command in OOP PDF. This simplifies the use of the OOP PDF scripting API so print can be called immediately before the document is loaded.

BUG=303491

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

Cr-Commit-Position: refs/heads/master@{#312524}
2 files changed