| Index: pdf/out_of_process_instance.h
|
| diff --git a/pdf/out_of_process_instance.h b/pdf/out_of_process_instance.h
|
| index 0842d33bde12371729a40d223757931d066b80a1..8df8d484367f462f8309d3d7df9585c3b49d12ff 100644
|
| --- a/pdf/out_of_process_instance.h
|
| +++ b/pdf/out_of_process_instance.h
|
| @@ -222,9 +222,17 @@ class OutOfProcessInstance : public pp::Instance,
|
| // there are 10 pages, the height will be 8000).
|
| pp::Size document_size_;
|
|
|
| - double zoom_; // Current zoom factor.
|
| -
|
| - float device_scale_; // Current device scale factor.
|
| + // Current zoom factor.
|
| + double zoom_;
|
| + double old_zoom_, initial_zoom_delta_;
|
| + // True if we request a new bitmap rendering.
|
| + bool do_render_;
|
| + // Scroll at the begining of zooming.
|
| + pp::FloatPoint last_current_scroll_;
|
| + // True if last bitmap was smaller than screen.
|
| + bool was_smaller_;
|
| + // Current device scale factor.
|
| + float device_scale_;
|
| // True if the plugin is full-page.
|
| bool full_;
|
|
|
|
|