Chromium Code Reviews| Index: chrome/browser/resources/pdf/elements/viewer-password-screen/viewer-password-screen.html |
| diff --git a/chrome/browser/resources/pdf/elements/viewer-password-screen/viewer-password-screen.html b/chrome/browser/resources/pdf/elements/viewer-password-screen/viewer-password-screen.html |
| index 4bcff598e009331d2da958ee76e70e07015e5b7c..02f628e58e2d605e0ada0883e1fa37221a1df0a7 100644 |
| --- a/chrome/browser/resources/pdf/elements/viewer-password-screen/viewer-password-screen.html |
| +++ b/chrome/browser/resources/pdf/elements/viewer-password-screen/viewer-password-screen.html |
| @@ -1,5 +1,5 @@ |
| <link rel="import" href="chrome://resources/html/polymer.html"> |
| -<link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/iron-flex-layout.html"> |
| +<link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/iron-flex-layout-classes.html"> |
| <link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/animations/fade-in-animation.html"> |
| <link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/animations/fade-out-animation.html"> |
| <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-button.html"> |
| @@ -8,6 +8,7 @@ |
| <dom-module id="viewer-password-screen"> |
| <template> |
| + <style include="iron-flex iron-flex-alignment"></style> |
|
raymes
2016/06/27 01:36:03
More magic! I wouldn't know if this is the right w
tsergeant
2016/06/27 01:47:08
Adding Chris for Polymer knowledge.
|
| <paper-dialog id="dialog" modal no-cancel-on-esc-key |
| entry-animation="fade-in-animation" exit-animation="fade-out-animation"> |
| <div id="message" i18n-content="passwordPrompt"></div> |
| @@ -17,8 +18,7 @@ |
| <input is="iron-input" id="password" type="password" size="20" |
| on-keypress="handleKey" autofocus> |
| </input> |
| - <paper-input-error hidden$="[[!invalid]]" |
|
tsergeant
2016/06/24 04:31:38
This hidden seems to be unnecessary -- the paper-i
|
| - i18n-content="passwordInvalid"></paper-input-error> |
| + <paper-input-error i18n-content="passwordInvalid"></paper-input-error> |
| </paper-input-container> |
| <paper-button id="submit" on-click="submit" |
| i18n-content="passwordSubmit"></paper-button> |