| OLD | NEW |
| 1 <!-- Copyright 2017 The Chromium Authors. All rights reserved. | 1 <!-- Copyright 2017 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/cr_elements/icons.html"> | 5 <link rel="import" href="chrome://resources/cr_elements/icons.html"> |
| 6 <link rel="import" href="chrome://resources/html/i18n_behavior.html"> | 6 <link rel="import" href="chrome://resources/html/i18n_behavior.html"> |
| 7 <link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/classe
s/iron-flex-layout.html"> | 7 <link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/classe
s/iron-flex-layout.html"> |
| 8 <link rel="import" href="chrome://resources/polymer/v1_0/paper-progress/paper-pr
ogress.html"> | 8 <link rel="import" href="chrome://resources/polymer/v1_0/paper-progress/paper-pr
ogress.html"> |
| 9 <link rel="import" href="chrome://resources/polymer/v1_0/paper-styles/color.html
"> | 9 <link rel="import" href="chrome://resources/polymer/v1_0/paper-styles/color.html
"> |
| 10 <link rel="import" href="chrome://oobe/custom_elements.html"> | 10 <link rel="import" href="chrome://oobe/custom_elements.html"> |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 <h1 class="title">$i18n{migrationReadyTitle}</h1> | 23 <h1 class="title">$i18n{migrationReadyTitle}</h1> |
| 24 <div class="subtitle">$i18n{migrationReadyDescription}</div> | 24 <div class="subtitle">$i18n{migrationReadyDescription}</div> |
| 25 </div> | 25 </div> |
| 26 <template is="dom-if" if="[[isEnoughBattery]]"> | 26 <template is="dom-if" if="[[isEnoughBattery]]"> |
| 27 <div class="footer layout vertical center"> | 27 <div class="footer layout vertical center"> |
| 28 <img srcset="images/security_update_1x.png 1x, | 28 <img srcset="images/security_update_1x.png 1x, |
| 29 images/security_update_2x.png 2x"> | 29 images/security_update_2x.png 2x"> |
| 30 </div> | 30 </div> |
| 31 </template> | 31 </template> |
| 32 <template is="dom-if" if="[[!isEnoughBattery]]"> | 32 <template is="dom-if" if="[[!isEnoughBattery]]"> |
| 33 <div class="footer layout vertical"> | 33 <div class="footer layout vertical" aria-live="polite"> |
| 34 <div class="warning"> | 34 <div class="warning"> |
| 35 [[computeBatteryWarningLabel_(batteryPercent)]] | 35 [[computeBatteryWarningLabel_(batteryPercent)]] |
| 36 </div> | 36 </div> |
| 37 <template is="dom-if" if="[[isCharging]]"> | 37 <template is="dom-if" if="[[isCharging]]"> |
| 38 <div>$i18n{migrationChargingLabel}</div> | 38 <div>$i18n{migrationChargingLabel}</div> |
| 39 </template> | 39 </template> |
| 40 <template is="dom-if" if="[[!isCharging]]"> | 40 <template is="dom-if" if="[[!isCharging]]"> |
| 41 <div>$i18n{migrationAskChargeMessage}</div> | 41 <div>$i18n{migrationAskChargeMessage}</div> |
| 42 </template> | 42 </template> |
| 43 <div>[[computeNecessaryBatteryLevelLabel_()]]</div> | 43 <div>[[computeNecessaryBatteryLevelLabel_()]]</div> |
| (...skipping 19 matching lines...) Expand all Loading... |
| 63 <iron-icon class="oobe-icon chrome-logo"></iron-icon> | 63 <iron-icon class="oobe-icon chrome-logo"></iron-icon> |
| 64 <div class="header"> | 64 <div class="header"> |
| 65 <h1 class="title">$i18n{migrationMigratingTitle}</h1> | 65 <h1 class="title">$i18n{migrationMigratingTitle}</h1> |
| 66 <div class="subtitle">$i18n{migrationMigratingDescription}</div> | 66 <div class="subtitle">$i18n{migrationMigratingDescription}</div> |
| 67 </div> | 67 </div> |
| 68 <div class="footer flex layout vertical"> | 68 <div class="footer flex layout vertical"> |
| 69 <paper-progress value="[[progress]]" max="1" step="0.001" | 69 <paper-progress value="[[progress]]" max="1" step="0.001" |
| 70 indeterminate="[[isProgressIndeterminate_(progress)]]"> | 70 indeterminate="[[isProgressIndeterminate_(progress)]]"> |
| 71 </paper-progress> | 71 </paper-progress> |
| 72 <template is="dom-if" if="[[!isProgressIndeterminate_(progress)]]"> | 72 <template is="dom-if" if="[[!isProgressIndeterminate_(progress)]]"> |
| 73 <div>[[computeProgressLabel_(progress)]]</div> | 73 <div aria-live="polite">[[computeProgressLabel_(progress)]]</div> |
| 74 </template> | 74 </template> |
| 75 </div> | 75 </div> |
| 76 </oobe-dialog> | 76 </oobe-dialog> |
| 77 </template> | 77 </template> |
| 78 <template is="dom-if" if="[[isMigrationFailed_(uiState)]]"> | 78 <template is="dom-if" if="[[isMigrationFailed_(uiState)]]"> |
| 79 <oobe-dialog tabindex="0" has-buttons> | 79 <oobe-dialog tabindex="0" has-buttons> |
| 80 <iron-icon icon="cr:warning" class="oobe-icon warning"></iron-icon> | 80 <iron-icon icon="cr:warning" class="oobe-icon warning"></iron-icon> |
| 81 <div class="header"> | 81 <div class="header"> |
| 82 <h1 class="title">$i18n{migrationFailedTitle}</h1> | 82 <h1 class="title">$i18n{migrationFailedTitle}</h1> |
| 83 <div class="subtitle">$i18n{migrationFailedSubtitle}</div> | 83 <div class="subtitle">$i18n{migrationFailedSubtitle}</div> |
| (...skipping 12 matching lines...) Expand all Loading... |
| 96 </div> | 96 </div> |
| 97 </oobe-dialog> | 97 </oobe-dialog> |
| 98 </template> | 98 </template> |
| 99 <template is="dom-if" if="[[isNotEnoughSpace_(uiState)]]"> | 99 <template is="dom-if" if="[[isNotEnoughSpace_(uiState)]]"> |
| 100 <oobe-dialog tabindex="0" has-buttons> | 100 <oobe-dialog tabindex="0" has-buttons> |
| 101 <iron-icon class="oobe-icon chrome-logo"></iron-icon> | 101 <iron-icon class="oobe-icon chrome-logo"></iron-icon> |
| 102 <div class="header"> | 102 <div class="header"> |
| 103 <h1 class="title">$i18n{migrationReadyTitle}</h1> | 103 <h1 class="title">$i18n{migrationReadyTitle}</h1> |
| 104 <div class="subtitle">$i18n{migrationReadyDescription}</div> | 104 <div class="subtitle">$i18n{migrationReadyDescription}</div> |
| 105 </div> | 105 </div> |
| 106 <div class="footer layout vertical"> | 106 <div class="footer layout vertical" aria-live="polite"> |
| 107 <div class="warning">$i18n{migrationNospaceWarningLabel}</div> | 107 <div class="warning">$i18n{migrationNospaceWarningLabel}</div> |
| 108 <div>$i18n{migrationAskFreeSpaceMessage}</div> | 108 <div>$i18n{migrationAskFreeSpaceMessage}</div> |
| 109 <div>[[computeAvailableSpaceLabel_(availableSpaceInString)]]</div> | 109 <div>[[computeAvailableSpaceLabel_(availableSpaceInString)]]</div> |
| 110 <div>[[computeNecessarySpaceLabel_(necessarySpaceInString)]]</div> | 110 <div>[[computeNecessarySpaceLabel_(necessarySpaceInString)]]</div> |
| 111 </div> | 111 </div> |
| 112 <div class="bottom-buttons flex layout horizontal"> | 112 <div class="bottom-buttons flex layout horizontal"> |
| 113 <div class="flex"></div> | 113 <div class="flex"></div> |
| 114 <template is="dom-if" if="[[!isResuming]]"> | 114 <template is="dom-if" if="[[!isResuming]]"> |
| 115 <oobe-text-button inverse on-tap="onSkip_"> | 115 <oobe-text-button inverse on-tap="onSkip_"> |
| 116 <div>$i18n{migrationButtonContinue}</div> | 116 <div>$i18n{migrationButtonContinue}</div> |
| 117 </oobe-text-button> | 117 </oobe-text-button> |
| 118 </template> | 118 </template> |
| 119 <template is="dom-if" if="[[isResuming]]"> | 119 <template is="dom-if" if="[[isResuming]]"> |
| 120 <oobe-text-button inverse on-tap="onRestart_"> | 120 <oobe-text-button inverse on-tap="onRestart_"> |
| 121 <div>$i18n{migrationButtonRestart}</div> | 121 <div>$i18n{migrationButtonRestart}</div> |
| 122 </oobe-text-button> | 122 </oobe-text-button> |
| 123 </template> | 123 </template> |
| 124 </div> | 124 </div> |
| 125 </oobe-dialog> | 125 </oobe-dialog> |
| 126 </template> | 126 </template> |
| 127 </template> | 127 </template> |
| 128 </dom-module> | 128 </dom-module> |
| OLD | NEW |