Index: pdf/pdf_engine.h |
diff --git a/pdf/pdf_engine.h b/pdf/pdf_engine.h |
index cb53d3ec93be54d32ac0614b2f8363dc9e46be52..b34d655c4bca56310bc0771d3c2ee34aaf6b7f33 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,13 @@ class PDFEngine { |
// Returns number of copies to be printed. |
virtual int GetCopiesToPrint() = 0; |
+ // Returns a nested Dictionary of Bookmarks, containing: |
raymes
2014/12/16 23:35:53
nit "containing the following key/values:"
Alexandre Carlton
2014/12/17 00:51:13
Done.
|
+ // - "title" of type Var(std::string) |
+ // - "page" of type Var(int) |
+ // - "children" of type VarArray(), with each entry containing a |
+ // VarDictionary of the same structure. |
+ virtual pp::VarDictionary GetBookmarks() = 0; |
raymes
2014/12/16 23:35:53
Let's return a pp::VarArray here.
|
+ |
// 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; |