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

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

Issue 2123983003: PDF: Replace usage of i18nTemplate with Polymer data binding (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Tweak comment Created 4 years, 5 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/html/polymer.html"> 1 <link rel="import" href="chrome://resources/html/polymer.html">
2 <link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/web-anim ations.html"> 2 <link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/web-anim ations.html">
3 <link rel="import" href="chrome://resources/polymer/v1_0/paper-material/paper-ma terial.html"> 3 <link rel="import" href="chrome://resources/polymer/v1_0/paper-material/paper-ma terial.html">
4 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper -icon-button.html"> 4 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper -icon-button.html">
5 <link rel="import" href="chrome://resources/cr_elements/icons.html"> 5 <link rel="import" href="chrome://resources/cr_elements/icons.html">
6 6
7 <dom-module id="viewer-toolbar-dropdown"> 7 <dom-module id="viewer-toolbar-dropdown">
8 <link rel="import" type="css" href="../shared-icon-style.css"> 8 <link rel="import" type="css" href="../shared-icon-style.css">
9 <link rel="import" type="css" href="viewer-toolbar-dropdown.css"> 9 <link rel="import" type="css" href="viewer-toolbar-dropdown.css">
10 <template> 10 <template>
11 <div on-click="toggleDropdown" id="icon"> 11 <div on-click="toggleDropdown" id="icon">
12 <paper-icon-button id="main-icon" icon="[[dropdownIcon]]" 12 <paper-icon-button id="main-icon" icon="[[dropdownIcon]]"
13 aria-label="{{header}}" title="{{header}}"> 13 aria-label$="{{header}}" title$="{{header}}">
14 </paper-icon-button> 14 </paper-icon-button>
15 <iron-icon icon="cr:arrow-drop-down" id="arrow"></iron-icon> 15 <iron-icon icon="cr:arrow-drop-down" id="arrow"></iron-icon>
16 </div> 16 </div>
17 17
18 <div id="container"> 18 <div id="container">
19 <paper-material id="dropdown" style="display: none"> 19 <paper-material id="dropdown" style="display: none">
20 <h1>{{header}}</h1> 20 <h1>{{header}}</h1>
21 <div id="scroll-container"> 21 <div id="scroll-container">
22 <content></content> 22 <content></content>
23 </div> 23 </div>
24 </paper-material> 24 </paper-material>
25 </div> 25 </div>
26 </template> 26 </template>
27 </dom-module> 27 </dom-module>
28 28
29 <script src="viewer-toolbar-dropdown.js"></script> 29 <script src="viewer-toolbar-dropdown.js"></script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698