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

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: Add TODO 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
« no previous file with comments | « pdf/pdf_engine.h ('k') | pdf/pdfium/pdfium_engine.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pdf/pdfium/pdfium_engine.h
diff --git a/pdf/pdfium/pdfium_engine.h b/pdf/pdfium/pdfium_engine.h
index 017bbdccbba98bb011254df573cf03e10bd4f9a2..c9095358294c8c425dbded1b1257d71e52b94d56 100644
--- a/pdf/pdfium/pdfium_engine.h
+++ b/pdf/pdfium/pdfium_engine.h
@@ -668,11 +668,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') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698