Index: pdf/out_of_process_instance.h |
diff --git a/pdf/out_of_process_instance.h b/pdf/out_of_process_instance.h |
index bd70be2c4ed724253649347e93397dd4b77b0ffb..d8aa2a7cce81301f9d3a3d1512193c12a6bd0bf4 100644 |
--- a/pdf/out_of_process_instance.h |
+++ b/pdf/out_of_process_instance.h |
@@ -26,7 +26,6 @@ |
#include "ppapi/cpp/instance.h" |
#include "ppapi/cpp/private/find_private.h" |
#include "ppapi/cpp/private/uma_private.h" |
-#include "ppapi/cpp/private/var_private.h" |
#include "ppapi/cpp/url_loader.h" |
#include "ppapi/utility/completion_callback_factory.h" |
@@ -284,10 +283,6 @@ class OutOfProcessInstance : public pp::Instance, |
DocumentLoadState document_load_state_; |
DocumentLoadState preview_document_load_state_; |
- // JavaScript interface to control this instance. |
- // This wraps a PDFScriptableObject in a pp::Var. |
- pp::VarPrivate instance_object_; |
- |
// A UMA resource for histogram reporting. |
pp::UMAPrivate uma_; |
@@ -333,6 +328,11 @@ class OutOfProcessInstance : public pp::Instance, |
// document finishes loading. |
bool did_call_start_loading_; |
+ // If this is true, then don't scroll the plugin in response to DidChangeView |
+ // messages. This will be true when the extension page is in the process of |
+ // zooming the plugin so that flickering doesn't occur while zooming. |
+ bool stop_scrolling_; |
+ |
// The callback for receiving the password from the page. |
scoped_ptr<pp::CompletionCallbackWithOutput<pp::Var> > password_callback_; |
}; |