Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(90)

Unified Diff: pdf/pdf_engine.h

Issue 2855953003: Handle long press in PDF documents. (Closed)
Patch Set: Review feedback Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: pdf/pdf_engine.h
diff --git a/pdf/pdf_engine.h b/pdf/pdf_engine.h
index 2688f25a4943cae92f2449331ab0d8df8d99809e..8410aaf318d4861ccaa45705df8db9ac54d5c7bd 100644
--- a/pdf/pdf_engine.h
+++ b/pdf/pdf_engine.h
@@ -142,6 +142,9 @@ class PDFEngine {
// Calls the client's OnCallback() function in delay_in_ms with the given
// id.
virtual void ScheduleCallback(int id, int delay_in_ms) = 0;
+ // Calls the client's OnTouchTimerCallback() function in delay_in_ms with
Lei Zhang 2017/05/04 19:29:26 Refer to |variable_name| per style guide. Fix the
dsinclair 2017/05/04 20:26:18 Done.
+ // the given id.
+ virtual void ScheduleTouchTimerCallback(int id, int delay_in_ms) = 0;
// Searches the given string for "term" and returns the results. Unicode-
// aware.
@@ -250,6 +253,8 @@ class PDFEngine {
virtual void SetGrayscale(bool grayscale) = 0;
// Callback for timer that's set with ScheduleCallback().
virtual void OnCallback(int id) = 0;
+ // Callback for timer that's set with ScheduleTouchTimerCallback().
+ virtual void OnTouchTimerCallback(int id) = 0;
// Get the number of characters on a given page.
virtual int GetCharCount(int page_index) = 0;
// Get the bounds in page pixels of a character on a given page.

Powered by Google App Engine
This is Rietveld 408576698