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

Unified Diff: pdf/pdfium/pdfium_engine.h

Issue 2252963007: PDF rotation should maintain current page. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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/pdfium/pdfium_engine.h
diff --git a/pdf/pdfium/pdfium_engine.h b/pdf/pdfium/pdfium_engine.h
index c7a1b74af4be01edabee0ed3426aaf0b0f6fa10e..d69c12a4a5a8d5b5c1a7b8ca8bd883d1a174a85e 100644
--- a/pdf/pdfium/pdfium_engine.h
+++ b/pdf/pdfium/pdfium_engine.h
@@ -670,11 +670,11 @@ class PDFiumEngine : public PDFEngine,
std::map<int, std::pair<int, TimerCallback> > timers_;
int next_timer_id_;
- // Holds the page index of the last page that the mouse clicked on.
+ // Holds the zero-based page index of the last page that the mouse clicked on.
int last_page_mouse_down_;
- // Holds the page index of the most visible page; refreshed by calling
- // CalculateVisiblePages()
+ // Holds the zero-based page index of the most visible page; refreshed by
+ // calling CalculateVisiblePages()
int most_visible_page_;
// Set to true after FORM_DoDocumentJSAction/FORM_DoDocumentOpenAction have
« no previous file with comments | « pdf/pdf_engine.h ('k') | pdf/pdfium/pdfium_engine.cc » ('j') | pdf/pdfium/pdfium_engine.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698