| OLD | NEW |
| 1 <!-- Copyright 2015 The Chromium Authors. All rights reserved. | 1 <!-- Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 Use of this source code is governed by a BSD-style license that can be | 2 Use of this source code is governed by a BSD-style license that can be |
| 3 found in the LICENSE file. --> | 3 found in the LICENSE file. --> |
| 4 | 4 |
| 5 <link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/classe
s/iron-flex-layout.html"> | 5 <link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/classe
s/iron-flex-layout.html"> |
| 6 <link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/animatio
ns/fade-in-animation.html"> | 6 <link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/animatio
ns/fade-in-animation.html"> |
| 7 <link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/animatio
ns/fade-out-animation.html"> | 7 <link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/animatio
ns/fade-out-animation.html"> |
| 8 <link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/neon-ani
matable.html"> | 8 <link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/neon-ani
matable.html"> |
| 9 <link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/neon-ani
mated-pages.html"> | 9 <link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/neon-ani
mated-pages.html"> |
| 10 <link rel="import" href="chrome://resources/polymer/v1_0/paper-dialog/paper-dial
og.html"> | 10 <link rel="import" href="chrome://resources/polymer/v1_0/paper-dialog/paper-dial
og.html"> |
| (...skipping 19 matching lines...) Expand all Loading... |
| 30 'cancel' - Fired when user presses the X-button and then presses YES | 30 'cancel' - Fired when user presses the X-button and then presses YES |
| 31 in the cancel confirmation dialog. | 31 in the cancel confirmation dialog. |
| 32 | 32 |
| 33 Methods: | 33 Methods: |
| 34 'invalidate' - Mark password input as invalid. | 34 'invalidate' - Mark password input as invalid. |
| 35 'reset' - Reset element, switches to the first screen, closes | 35 'reset' - Reset element, switches to the first screen, closes |
| 36 the confirm dialog, displays the close button, | 36 the confirm dialog, displays the close button, |
| 37 empties password field and enables buttons. | 37 empties password field and enables buttons. |
| 38 'focus' - If the current card is the first one, focuses password input. | 38 'focus' - If the current card is the first one, focuses password input. |
| 39 --> | 39 --> |
| 40 <dom-module name="saml-confirm-password"> | 40 <dom-module id="saml-confirm-password"> |
| 41 <link rel="stylesheet" href="saml_confirm_password.css"> | 41 <link rel="stylesheet" href="saml_confirm_password.css"> |
| 42 | 42 |
| 43 <template> | 43 <template> |
| 44 <neon-animated-pages id="animatedPages" class="fit" | 44 <neon-animated-pages id="animatedPages" class="fit" |
| 45 entry-animation="fade-in-animation" exit-animation="fade-out-animation" | 45 entry-animation="fade-in-animation" exit-animation="fade-out-animation" |
| 46 on-neon-animation-finish="onAnimationFinish_" selected="0"> | 46 on-neon-animation-finish="onAnimationFinish_" selected="0"> |
| 47 <neon-animatable class="fit"> | 47 <neon-animatable class="fit"> |
| 48 <gaia-card id="confirmPasswordCard" class="fit"> | 48 <gaia-card id="confirmPasswordCard" class="fit"> |
| 49 <gaia-header class="header flex" email="[[email]]"> | 49 <gaia-header class="header flex" email="[[email]]"> |
| 50 </gaia-header> | 50 </gaia-header> |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 83 i18n-content="accountSetupCancelDialogNo"> | 83 i18n-content="accountSetupCancelDialogNo"> |
| 84 </gaia-button> | 84 </gaia-button> |
| 85 <gaia-button type="dialog" dialog-confirm on-tap="onConfirmCancel_" | 85 <gaia-button type="dialog" dialog-confirm on-tap="onConfirmCancel_" |
| 86 i18n-content="accountSetupCancelDialogYes"> | 86 i18n-content="accountSetupCancelDialogYes"> |
| 87 </gaia-button> | 87 </gaia-button> |
| 88 </div> | 88 </div> |
| 89 </paper-dialog> | 89 </paper-dialog> |
| 90 | 90 |
| 91 </template> | 91 </template> |
| 92 </dom-module> | 92 </dom-module> |
| OLD | NEW |