Index: pdf/out_of_process_instance.h |
diff --git a/pdf/out_of_process_instance.h b/pdf/out_of_process_instance.h |
index 8a841bf251eadb8540ad6a473b4bc3c29a8b4cfa..bcd507dd3da3231a891272ef873e2303ba1b101a 100644 |
--- a/pdf/out_of_process_instance.h |
+++ b/pdf/out_of_process_instance.h |
@@ -236,7 +236,6 @@ class OutOfProcessInstance : public pp::Instance, |
double zoom_; // Current zoom factor. |
float device_scale_; // Current device scale factor. |
- bool printing_enabled_; |
// True if the plugin is full-page. |
bool full_; |
@@ -340,6 +339,10 @@ 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_; |
}; |