summaryrefslogtreecommitdiffstats
path: root/pdf/out_of_process_instance.h
diff options
context:
space:
mode:
authorraymes <raymes@chromium.org>2015-01-22 17:14:47 -0800
committerCommit bot <commit-bot@chromium.org>2015-01-23 01:15:23 +0000
commitc121c2269073e9249c982d9ba7c3301cb6e778a7 (patch)
treeb87beb374649ba26119ff44692243a838f42257b /pdf/out_of_process_instance.h
parent298156be041512f6d4a78bdba5c90454d3d2dfdb (diff)
downloadchromium_src-c121c2269073e9249c982d9ba7c3301cb6e778a7.zip
chromium_src-c121c2269073e9249c982d9ba7c3301cb6e778a7.tar.gz
chromium_src-c121c2269073e9249c982d9ba7c3301cb6e778a7.tar.bz2
Make the scripting OOP PDF API easier to use (take 2)
This mainly removes the need to call setParentWindow before using the API but it also delays more messages from being received until the document is loaded which makes the API easier to use. BUG=415858 Review URL: https://codereview.chromium.org/870453002 Cr-Commit-Position: refs/heads/master@{#312722}
Diffstat (limited to 'pdf/out_of_process_instance.h')
-rw-r--r--pdf/out_of_process_instance.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/pdf/out_of_process_instance.h b/pdf/out_of_process_instance.h
index bcd507d..eb30458 100644
--- a/pdf/out_of_process_instance.h
+++ b/pdf/out_of_process_instance.h
@@ -339,10 +339,6 @@ class OutOfProcessInstance : public pp::Instance,
// zooming the plugin so that flickering doesn't occur while zooming.
bool stop_scrolling_;
- // If a print command comes in before the document has loaded, we set
- // |delay_print_| to true and print after the document has loaded.
- bool delay_print_;
-
// The callback for receiving the password from the page.
scoped_ptr<pp::CompletionCallbackWithOutput<pp::Var> > password_callback_;
};