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

Side by Side Diff: chrome/browser/resources/pdf/elements/viewer-password-screen/viewer-password-screen.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/iron-flex-layout/iron-f lex-layout-classes.html"> 2 <link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/iron-f lex-layout-classes.html">
3 <link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/animatio ns/fade-in-animation.html"> 3 <link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/animatio ns/fade-in-animation.html">
4 <link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/animatio ns/fade-out-animation.html"> 4 <link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/animatio ns/fade-out-animation.html">
5 <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-butt on.html"> 5 <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-butt on.html">
6 <link rel="import" href="chrome://resources/polymer/v1_0/paper-dialog/paper-dial og.html"> 6 <link rel="import" href="chrome://resources/polymer/v1_0/paper-dialog/paper-dial og.html">
7 <link rel="import" href="chrome://resources/polymer/v1_0/paper-input/paper-input .html"> 7 <link rel="import" href="chrome://resources/polymer/v1_0/paper-input/paper-input .html">
8 8
9 <dom-module id="viewer-password-screen"> 9 <dom-module id="viewer-password-screen">
10 <template> 10 <template>
11 <style include="iron-flex iron-flex-alignment"></style> 11 <style include="iron-flex iron-flex-alignment"></style>
12 <paper-dialog id="dialog" modal no-cancel-on-esc-key 12 <paper-dialog id="dialog" modal no-cancel-on-esc-key
13 entry-animation="fade-in-animation" exit-animation="fade-out-animation"> 13 entry-animation="fade-in-animation" exit-animation="fade-out-animation">
14 <div id="message" i18n-content="passwordPrompt"></div> 14 <div id="message">{{strings.passwordPrompt}}</div>
15 <div class="horizontal layout start"> 15 <div class="horizontal layout start">
16 <paper-input-container id="password-container" class="flex" 16 <paper-input-container id="password-container" class="flex"
17 no-label-float invalid="[[invalid]]"> 17 no-label-float invalid="[[invalid]]">
18 <input is="iron-input" id="password" type="password" size="20" 18 <input is="iron-input" id="password" type="password" size="20"
19 on-keypress="handleKey" autofocus> 19 on-keypress="handleKey" autofocus>
20 </input> 20 </input>
21 <paper-input-error i18n-content="passwordInvalid"></paper-input-error> 21 <paper-input-error>{{strings.passwordInvalid}}</paper-input-error>
22 </paper-input-container> 22 </paper-input-container>
23 <paper-button id="submit" on-click="submit" 23 <paper-button id="submit" on-click="submit">
24 i18n-content="passwordSubmit"></paper-button> 24 {{strings.passwordSubmit}}
25 </paper-button>
25 </div> 26 </div>
26 </paper-dialog> 27 </paper-dialog>
27 </template> 28 </template>
28 </dom-module> 29 </dom-module>
29 <script src="viewer-password-screen.js"></script> 30 <script src="viewer-password-screen.js"></script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698