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

Unified Diff: pdf/pdfium/pdfium_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 as per review comments. 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/pdfium/pdfium_engine.h
diff --git a/pdf/pdfium/pdfium_engine.h b/pdf/pdfium/pdfium_engine.h
index 960c5f2f7f3ae80c7badeccdd3ff729e3f071271..61185d8e1bfd3238dfbad6ba46bd137b3b65f14e 100644
--- a/pdf/pdfium/pdfium_engine.h
+++ b/pdf/pdfium/pdfium_engine.h
@@ -28,6 +28,7 @@
namespace pp {
class KeyboardInputEvent;
class MouseInputEvent;
+class VarDictionary;
}
namespace chrome_pdf {
@@ -104,6 +105,10 @@ class PDFiumEngine : public PDFEngine,
virtual void OnNewDataAvailable();
virtual void OnDocumentComplete();
+ virtual unsigned long GetNameDestCount();
+ virtual void GetNameDests(std::vector<std::string>* name_dest);
+ virtual void GetAllNameDests(pp::VarDictionary* named_destinations);
+
void UnsupportedFeature(int type);
std::string current_find_text() const { return current_find_text_; }

Powered by Google App Engine
This is Rietveld 408576698