Index: chrome/browser/resources/pdf/pdf.js |
diff --git a/chrome/browser/resources/pdf/pdf.js b/chrome/browser/resources/pdf/pdf.js |
index b82f9132842777c3bd55ae2556471b51762a743d..d387319f2fd3d0b99b7925f2355d7c837ca08fc7 100644 |
--- a/chrome/browser/resources/pdf/pdf.js |
+++ b/chrome/browser/resources/pdf/pdf.js |
@@ -613,5 +613,16 @@ PDFViewer.prototype = { |
*/ |
get viewport() { |
return this.viewport_; |
+ }, |
+ |
+ /** |
+ * Each bookmark is an Object containing a: |
+ * - title |
+ * - page |
Sam McNally
2015/01/18 23:56:57
Optional?
Alexandre Carlton
2015/01/19 00:42:47
Done.
|
+ * - array of children (themselves bookmarks) |
+ * @type {Array} the top-level bookmarks of the PDF. |
+ */ |
+ get bookmarks() { |
+ return this.bookmarks_; |
} |
}; |