Add print and getSelectedText functions to the OOP PDF scripting API
commitd914d7d0903eda0b9ae77c5d0adb7a6a61c95e13
authorraymes <raymes@chromium.org>
Tue, 13 Jan 2015 05:02:46 +0000 (12 21:02 -0800)
committerCommit bot <commit-bot@chromium.org>
Tue, 13 Jan 2015 05:03:42 +0000 (13 05:03 +0000)
tree17920fea9da172eece41a2a5a06f350e3cf95e4e
parent317e773e3499fe6a19871b5498a5c6164d972316
Add print and getSelectedText functions to the OOP PDF scripting API

These are needed by some internal users (see the bug for more details).
A test is added for selectAll/getSelectedText.

BUG=415858

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

Cr-Commit-Position: refs/heads/master@{#311218}
chrome/browser/resources/pdf/pdf.js
chrome/browser/resources/pdf/pdf_scripting_api.js
chrome/test/data/pdf/basic_plugin_test.js
pdf/out_of_process_instance.cc