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

Unified Diff: pdf/pdf_engine.h

Issue 830433002: Navigation to relative fragments does not work correctly for OOP pdf. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Changes after taking all nameddest at load time. Created 5 years, 11 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 b81494f02fa8c287ce169871e7844422d0f0cd8a..f047f9c1465c635ae205495947d6cc93920c1633 100644
--- a/pdf/pdf_engine.h
+++ b/pdf/pdf_engine.h
@@ -260,6 +260,9 @@ class PDFEngine {
virtual void SetScrollPosition(const pp::Point& position) = 0;
virtual bool IsProgressiveLoad() = 0;
+
+ virtual unsigned long GetNameDestCount() = 0;
+ virtual void GetNameDests(std::vector<std::string>* name_dest) = 0;
};
// Interface for exports that wrap the PDF engine.

Powered by Google App Engine
This is Rietveld 408576698