Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(100)

Side by Side Diff: chrome/browser/resources/pdf/elements/viewer-bookmark/viewer-bookmark.html

Issue 1162563004: Upgrade to 1.0 and switch clients to dom-repeat where needed. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix a layout import and remove the gzipped webanimation in reproduce.sh Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 <link rel="import" href="chrome://resources/polymer/v0_8/polymer/polymer.html"> 1 <link rel="import" href="chrome://resources/polymer/v0_8/polymer/polymer.html">
2 <link rel="import" href="chrome://resources/polymer/v0_8/paper-item/paper-item.h tml"> 2 <link rel="import" href="chrome://resources/polymer/v0_8/paper-item/paper-item.h tml">
3 3
4 <dom-module id="viewer-bookmark" attributes="bookmark"> 4 <dom-module id="viewer-bookmark" attributes="bookmark">
5 <link rel="import" type="css" href="viewer-bookmark.css"> 5 <link rel="import" type="css" href="viewer-bookmark.css">
6 <template> 6 <template>
7 <paper-item on-click="onClick">{{bookmark.title}}</paper-item> 7 <paper-item on-click="onClick">{{bookmark.title}}</paper-item>
8 <div class="sub-bookmark"> 8 <div class="sub-bookmark">
9 <template is="x-repeat" items="{{bookmark.children}}"> 9 <template is="dom-repeat" items="{{bookmark.children}}">
10 <viewer-bookmark bookmark="{{item}}"></viewer-bookmark> 10 <viewer-bookmark bookmark="{{item}}"></viewer-bookmark>
11 </template> 11 </template>
12 </div> 12 </div>
13 </template> 13 </template>
14 </dom-module> 14 </dom-module>
15 <script src="viewer-bookmark.js"></script> 15 <script src="viewer-bookmark.js"></script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698