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

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: Fixing nameddest directory. 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..af7ce1ff0039bc86b594a8839bf7fada12b66bc7 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,11 @@ class PDFiumEngine : public PDFEngine,
virtual void OnNewDataAvailable();
virtual void OnDocumentComplete();
+ virtual inline unsigned long GetNameDestCount() {
+ return FPDF_CountNamedDests(doc_);
+ }
raymes 2015/01/14 00:19:01 We can remove this
Deepak 2015/01/14 06:29:01 Done.
+ virtual pp::VarDictionary GetAllNamedDestinations();
+
void UnsupportedFeature(int type);
std::string current_find_text() const { return current_find_text_; }

Powered by Google App Engine
This is Rietveld 408576698