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

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 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/pdf_engine.h
diff --git a/pdf/pdf_engine.h b/pdf/pdf_engine.h
index b81494f02fa8c287ce169871e7844422d0f0cd8a..49f0bee99cf2c21bc199f0cb180c311a6176cc6e 100644
--- a/pdf/pdf_engine.h
+++ b/pdf/pdf_engine.h
@@ -27,6 +27,7 @@
namespace pp {
class InputEvent;
+class VarDictionary;
}
const uint32 kBackgroundColor = 0xFFCCCCCC;
@@ -260,6 +261,10 @@ 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;
+ virtual void GetAllNameDests(pp::VarDictionary* named_destinations) = 0;
raymes 2015/01/13 01:59:31 nit: Let's make it verbose: GetAllNamedDestination
Deepak 2015/01/13 08:29:07 Done.
};
// Interface for exports that wrap the PDF engine.

Powered by Google App Engine
This is Rietveld 408576698