OLD | NEW |
| 1 <link rel="import" href="chrome://resources/html/polymer.html"> |
| 2 |
1 <link rel="import" href="chrome://resources/cr_elements/icons.html"> | 3 <link rel="import" href="chrome://resources/cr_elements/icons.html"> |
2 <link rel="import" href="chrome://resources/html/polymer.html"> | |
3 <link rel="import" href="chrome://resources/polymer/v1_0/paper-ripple/paper-ripp
le.html"> | 4 <link rel="import" href="chrome://resources/polymer/v1_0/paper-ripple/paper-ripp
le.html"> |
4 <link rel="import" href="chrome://resources/polymer/v1_0/paper-styles/color.html
"> | 5 <link rel="import" href="chrome://resources/polymer/v1_0/paper-styles/color.html
"> |
5 | 6 |
6 <dom-module id="viewer-bookmark" attributes="bookmark"> | 7 <dom-module id="viewer-bookmark" attributes="bookmark"> |
7 <template> | 8 <template> |
8 <style> | 9 <style> |
9 #item { | 10 #item { |
10 @apply(--layout-center); | 11 @apply(--layout-center); |
11 @apply(--layout-horizontal); | 12 @apply(--layout-horizontal); |
12 cursor: pointer; | 13 cursor: pointer; |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 are opened. --> | 65 are opened. --> |
65 <template is="dom-if" if="{{childrenShown}}" id="sub-bookmarks"> | 66 <template is="dom-if" if="{{childrenShown}}" id="sub-bookmarks"> |
66 <template is="dom-repeat" items="{{bookmark.children}}"> | 67 <template is="dom-repeat" items="{{bookmark.children}}"> |
67 <viewer-bookmark bookmark="{{item}}" depth="{{childDepth}}"> | 68 <viewer-bookmark bookmark="{{item}}" depth="{{childDepth}}"> |
68 </viewer-bookmark> | 69 </viewer-bookmark> |
69 </template> | 70 </template> |
70 </template> | 71 </template> |
71 </template> | 72 </template> |
72 <script src="viewer-bookmark.js"></script> | 73 <script src="viewer-bookmark.js"></script> |
73 </dom-module> | 74 </dom-module> |
OLD | NEW |