Add functions to collect bookmarks from Pdfium
TraverseBookmarks() collects the bookmarks into a VarDictionary, with the following key/values:
- title
- page (if one is available)
- children, a VarArray of bookmarks (each a VarDictionary with the same structure)
BUG=
110020
Committed:
https://crrev.com/6a36d4d1cc5e7d31d578c077bbf92a84d02a7578
Cr-Commit-Position: refs/heads/master@{#312059}