| 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/slide-from-left-animation.html"> | 6 <link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/animatio
ns/slide-from-left-animation.html"> |
| 7 <link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/animatio
ns/slide-from-right-animation.html"> | 7 <link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/animatio
ns/slide-from-right-animation.html"> |
| 8 <link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/animatio
ns/slide-left-animation.html"> | 8 <link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/animatio
ns/slide-left-animation.html"> |
| 9 <link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/animatio
ns/slide-right-animation.html"> | 9 <link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/animatio
ns/slide-right-animation.html"> |
| 10 <link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/neon-ani
matable.html"> | 10 <link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/neon-ani
matable.html"> |
| (...skipping 23 matching lines...) Expand all Loading... |
| 34 'password': <typed password> } | 34 'password': <typed password> } |
| 35 If user did not type domain |email| will be added by | 35 If user did not type domain |email| will be added by |
| 36 "@gmail.com" or by 'emailDomain' if it is set. | 36 "@gmail.com" or by 'emailDomain' if it is set. |
| 37 Methods: | 37 Methods: |
| 38 'focus' - focuses current screen (email input or password input); | 38 'focus' - focuses current screen (email input or password input); |
| 39 'setEmail' - accepts an argument |email|. If |email| is empty it sets | 39 'setEmail' - accepts an argument |email|. If |email| is empty it sets |
| 40 current screen to the email input, otherwise it sets current | 40 current screen to the email input, otherwise it sets current |
| 41 screen to password input and shows error that previously | 41 screen to password input and shows error that previously |
| 42 entered password is incorrect. | 42 entered password is incorrect. |
| 43 --> | 43 --> |
| 44 <dom-module name="offline-gaia"> | 44 <dom-module id="offline-gaia"> |
| 45 <link rel="stylesheet" href="offline_gaia.css"> | 45 <link rel="stylesheet" href="offline_gaia.css"> |
| 46 | 46 |
| 47 <template> | 47 <template> |
| 48 <neon-animated-pages id="animatedPages" class="fit" attr-for-selected="id" | 48 <neon-animated-pages id="animatedPages" class="fit" attr-for-selected="id" |
| 49 entry-animation="slide-from-right-animation" | 49 entry-animation="slide-from-right-animation" |
| 50 exit-animation="slide-to-left-animation" | 50 exit-animation="slide-to-left-animation" |
| 51 on-neon-animation-finish="onAnimationFinish_" selected="emailSection"> | 51 on-neon-animation-finish="onAnimationFinish_" selected="emailSection"> |
| 52 | 52 |
| 53 <neon-animatable id="emailSection" class="fit"> | 53 <neon-animatable id="emailSection" class="fit"> |
| 54 <gaia-card class="fit"> | 54 <gaia-card class="fit"> |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 97 on-iron-overlay-closed="onDialogOverlayClosed_"> | 97 on-iron-overlay-closed="onDialogOverlayClosed_"> |
| 98 <p i18n-content="offlineLoginForgotPasswordDlg"></p> | 98 <p i18n-content="offlineLoginForgotPasswordDlg"></p> |
| 99 <div class="buttons"> | 99 <div class="buttons"> |
| 100 <gaia-button type="dialog" dialog-confirm autofocus | 100 <gaia-button type="dialog" dialog-confirm autofocus |
| 101 i18n-content="offlineLoginCloseBtn"> | 101 i18n-content="offlineLoginCloseBtn"> |
| 102 </gaia-button> | 102 </gaia-button> |
| 103 </div> | 103 </div> |
| 104 </paper-dialog> | 104 </paper-dialog> |
| 105 </template> | 105 </template> |
| 106 </dom-module> | 106 </dom-module> |
| OLD | NEW |