Add new certificateProvider extension API.
[chromium-blink-merge.git] / chrome / browser / resources / pdf / elements / viewer-bookmark / viewer-bookmark.html
blob32b1d75dcc4d4f118c728710323a3f7dc65cab36
1 <link rel="import" href="chrome://resources/polymer/v1_0/polymer/polymer.html">
2 <link rel="import" href="chrome://resources/polymer/v1_0/paper-ripple/paper-ripple.html">
3 <link rel="import" href="chrome://resources/polymer/v1_0/paper-styles/paper-styles.html">
5 <dom-module id="viewer-bookmark" attributes="bookmark">
6 <link rel="import" type="css" href="viewer-bookmark.css">
7 <template>
8 <div id="item" on-click="onClick">
9 <paper-ripple></paper-ripple>
10 <iron-icon id="expand" icon="chevron-right" on-click="toggleChildren">
11 </iron-icon>
12 <span id="title">{{bookmark.title}}</span>
13 </div>
14 <div class="sub-bookmark" hidden$="{{!childrenShown_}}">
15 <!-- The sub-bookmarks will only be created after the parent bookmark has
16 finished initializing and childDepth is available. -->
17 <template is="dom-repeat" items="{{bookmark.children}}">
18 <viewer-bookmark bookmark="{{item}}" depth="{{childDepth}}">
19 </viewer-bookmark>
20 </template>
21 </div>
22 </template>
23 </dom-module>
24 <script src="viewer-bookmark.js"></script>