Chromium Code Reviews| Index: pdf/pdf_engine.h |
| diff --git a/pdf/pdf_engine.h b/pdf/pdf_engine.h |
| index b81494f02fa8c287ce169871e7844422d0f0cd8a..cd4cde8ab4c17a221675e109299b4766aa7c7953 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_array.h" |
| namespace pp { |
| class InputEvent; |
| @@ -246,6 +247,14 @@ class PDFEngine { |
| // Returns number of copies to be printed. |
| virtual int GetCopiesToPrint() = 0; |
| + // Returns a VarArray of Bookmarks, each a VarDictionary |
| + // containing the following key/values: |
|
raymes
2015/01/16 02:44:23
nit: Make sure you fill the full 80chars before ad
Alexandre Carlton
2015/01/16 03:01:40
Done.
|
| + // - "title" of type Var(std::string) |
| + // - "page" of type Var(int) |
|
raymes
2015/01/16 02:44:23
nit:
-"title" - a string Var.
-"page" - an int Var
Alexandre Carlton
2015/01/16 03:01:40
Done.
|
| + // - "children" of type VarArray(), with each entry containing a |
| + // VarDictionary of the same structure. |
| + virtual pp::VarArray 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; |