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

Unified Diff: pdf/pdf_engine.h

Issue 810623003: Add functions to collect bookmarks from Pdfium (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove empty line Created 6 years 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 cb53d3ec93be54d32ac0614b2f8363dc9e46be52..2bd46a25482bd552d62214ec0a64cd3fc6ec3881 100644
--- a/pdf/pdf_engine.h
+++ b/pdf/pdf_engine.h
@@ -24,6 +24,7 @@
#include "ppapi/cpp/rect.h"
#include "ppapi/cpp/size.h"
#include "ppapi/cpp/url_loader.h"
+#include "ppapi/cpp/var_dictionary.h"
namespace pp {
class InputEvent;
@@ -247,6 +248,9 @@ class PDFEngine {
// Returns number of copies to be printed.
virtual int GetCopiesToPrint() = 0;
+ // Returns a nested Dictionary of Bookmarks
Sam McNally 2014/12/16 05:58:34 Document the structure of the dictionary.
Alexandre Carlton 2014/12/16 22:14:51 Done.
+ virtual pp::VarDictionary GetBookmarks() = 0;
+
// Append blank pages to make a 1-page document to a |num_pages| document.
// Always retain the first page data.
virtual void AppendBlankPages(int num_pages) = 0;

Powered by Google App Engine
This is Rietveld 408576698