Index: pdf/out_of_process_instance.h |
diff --git a/pdf/out_of_process_instance.h b/pdf/out_of_process_instance.h |
index ae1b8e16f519f9d0139869f05e26d1e19a213f84..57eb6ce740094090050de29b9ec9c66faed831d5 100644 |
--- a/pdf/out_of_process_instance.h |
+++ b/pdf/out_of_process_instance.h |
@@ -85,6 +85,7 @@ class OutOfProcessInstance : public pp::Instance, |
// Called when the timer is fired. |
void OnClientTimerFired(int32_t id); |
+ void OnClientTouchTimerFired(int32_t id); |
// Called to print without re-entrancy issues. |
void OnPrint(int32_t); |
@@ -121,6 +122,7 @@ class OutOfProcessInstance : public pp::Instance, |
std::string ShowFileSelectionDialog() override; |
pp::URLLoader CreateURLLoader() override; |
void ScheduleCallback(int id, int delay_in_ms) override; |
+ void ScheduleTouchTimerCallback(int id, int delay_in_ms) override; |
void SearchString(const base::char16* string, |
const base::char16* term, |
bool case_sensitive, |
@@ -235,6 +237,8 @@ class OutOfProcessInstance : public pp::Instance, |
// Size of entire document in pixels (i.e. if each page is 800 pixels high and |
// there are 10 pages, the height will be 8000). |
pp::Size document_size_; |
+ // The scroll offset |
+ pp::Point scroll_offset_; |
Lei Zhang
2017/05/03 01:52:53
BTW, there's another scroll offset below that's a
dsinclair
2017/05/03 14:18:41
The one below is used specifically for pinch zoomi
|
// Enumeration of pinch states. |
// This should match PinchPhase enum in |