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

Unified Diff: pdf/pdfium/pdfium_engine.h

Issue 1552833003: Remove some dead PDF code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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 88a25752e44cbcd51ba1bbcad4253cec92af76d7..e0b8af5bb8a07bdff68a99087b402e5fe6710d15 100644
--- a/pdf/pdfium/pdfium_engine.h
+++ b/pdf/pdfium/pdfium_engine.h
@@ -77,19 +77,16 @@ class PDFiumEngine : public PDFEngine,
void RotateCounterclockwise() override;
std::string GetSelectedText() override;
std::string GetLinkAtPosition(const pp::Point& point) override;
- bool IsSelecting() override;
bool HasPermission(DocumentPermission permission) const override;
void SelectAll() override;
int GetNumberOfPages() override;
pp::VarArray GetBookmarks() override;
int GetNamedDestinationPage(const std::string& destination) override;
- int GetFirstVisiblePage() override;
int GetMostVisiblePage() override;
pp::Rect GetPageRect(int index) override;
pp::Rect GetPageContentsRect(int index) override;
pp::Rect GetPageScreenRect(int page_index) const override;
int GetVerticalScrollbarYPosition() override { return position_.y(); }
- void PaintThumbnail(pp::ImageData* image_data, int index) override;
void SetGrayscale(bool grayscale) override;
void OnCallback(int id) override;
std::string GetPageAsJSON(int index) override;
@@ -670,10 +667,6 @@ class PDFiumEngine : public PDFEngine,
// Holds the page index of the last page that the mouse clicked on.
int last_page_mouse_down_;
- // Holds the page index of the first visible page; refreshed by calling
- // CalculateVisiblePages()
- int first_visible_page_;
-
// Holds the page index of the most visible page; refreshed by calling
// CalculateVisiblePages()
int most_visible_page_;
« 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