| OLD | NEW |
| 1 <!-- Copyright 2016 The Chromium Authors. All rights reserved. | 1 <!-- Copyright 2016 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/network/cr_network_icon.
html"> | 5 <link rel="import" href="chrome://resources/cr_elements/network/cr_network_icon.
html"> |
| 6 <link rel="import" href="chrome://resources/cr_elements/network/cr_network_selec
t.html"> | 6 <link rel="import" href="chrome://resources/cr_elements/network/cr_network_selec
t.html"> |
| 7 <link rel="import" href="chrome://resources/cr_elements/network/cr_onc_types.htm
l"> | 7 <link rel="import" href="chrome://resources/cr_elements/network/cr_onc_types.htm
l"> |
| 8 <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/iron-flex-layout/classe
s/iron-flex-layout.html"> |
| 9 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icon/iron-icon.htm
l"> | 9 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icon/iron-icon.htm
l"> |
| 10 <link rel="import" href="chrome://resources/polymer/v1_0/iron-iconset-svg/iron-i
conset-svg.html"> | 10 <link rel="import" href="chrome://resources/polymer/v1_0/iron-iconset-svg/iron-i
conset-svg.html"> |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 64 on-timezone-button-clicked="onWelcomeTimezoneButtonClicked_" | 64 on-timezone-button-clicked="onWelcomeTimezoneButtonClicked_" |
| 65 on-next-button-clicked="onWelcomeNextButtonClicked_" | 65 on-next-button-clicked="onWelcomeNextButtonClicked_" |
| 66 timezone-button-visible="[[isTimezoneButtonVisible_(highlightStrength)]]
" | 66 timezone-button-visible="[[isTimezoneButtonVisible_(highlightStrength)]]
" |
| 67 debugging-link-visible="[[debuggingLinkVisible]]" | 67 debugging-link-visible="[[debuggingLinkVisible]]" |
| 68 > | 68 > |
| 69 </oobe-welcome-dialog> | 69 </oobe-welcome-dialog> |
| 70 <oobe-dialog id="languageScreen" hidden="[[!languageSelectionScreenShown]]" | 70 <oobe-dialog id="languageScreen" hidden="[[!languageSelectionScreenShown]]" |
| 71 has-buttons> | 71 has-buttons> |
| 72 <iron-icon icon="icons:language" class="oobe-icon"></iron-icon> | 72 <iron-icon icon="icons:language" class="oobe-icon"></iron-icon> |
| 73 <div class="header"> | 73 <div class="header"> |
| 74 <h1 class="title">$i18n{languageSectionTitle}</h1> | 74 <h1 class="title" i18n-content="languageSectionTitle"></h1> |
| 75 </div> | 75 </div> |
| 76 <div class="footer layout vertical"> | 76 <div class="footer layout vertical"> |
| 77 <template is="dom-if" if="[[enabled]]"> | 77 <template is="dom-if" if="[[enabled]]"> |
| 78 <div id="languageDropdownContainer" | 78 <div id="languageDropdownContainer" |
| 79 class="flex layout horizontal justified language-selection-entry"> | 79 class="flex layout horizontal justified language-selection-entry"> |
| 80 <div class="language-selection-title layout vertical center-justifie
d"> | 80 <div class="language-selection-title layout vertical center-justifie
d" |
| 81 $i18n{languageDropdownTitle} | 81 i18n-content="languageDropdownTitle"> |
| 82 </div> | 82 </div> |
| 83 <oobe-i18n-dropdown id="languageSelect" items="[[languages]]" | 83 <oobe-i18n-dropdown id="languageSelect" items="[[languages]]" |
| 84 on-select-item="onLanguageSelected_" | 84 on-select-item="onLanguageSelected_" |
| 85 aria-label="[[formatMessage_('languageDropdownLabel', | 85 aria-label="[[formatMessage_('languageDropdownLabel', |
| 86 currentLanguage)]]"> | 86 currentLanguage)]]"> |
| 87 </oobe-i18n-dropdown> | 87 </oobe-i18n-dropdown> |
| 88 </div> | 88 </div> |
| 89 <div id="keyboardDropdownContainer" | 89 <div id="keyboardDropdownContainer" |
| 90 class="flex layout horizontal justified language-selection-entry"> | 90 class="flex layout horizontal justified language-selection-entry"> |
| 91 <div class="language-selection-title layout vertical center-justifie
d"> | 91 <div class="language-selection-title layout vertical center-justifie
d" |
| 92 $i18n{keyboardDropdownTitle} | 92 i18n-content="keyboardDropdownTitle"> |
| 93 </div> | 93 </div> |
| 94 <oobe-i18n-dropdown id="keyboardSelect" items="[[keyboards]]" | 94 <oobe-i18n-dropdown id="keyboardSelect" items="[[keyboards]]" |
| 95 on-select-item="onKeyboardSelected_" | 95 on-select-item="onKeyboardSelected_" |
| 96 aria-label="[[formatMessage_('keyboardDropdownLabel', | 96 aria-label="[[formatMessage_('keyboardDropdownLabel', |
| 97 currentKeyboard)]]"> | 97 currentKeyboard)]]"> |
| 98 </oobe-i18n-dropdown> | 98 </oobe-i18n-dropdown> |
| 99 </div> | 99 </div> |
| 100 </template> | 100 </template> |
| 101 </div> | 101 </div> |
| 102 <div class="bottom-buttons layout horizontal end-justified"> | 102 <div class="bottom-buttons layout horizontal end-justified"> |
| 103 <oobe-text-button inverse on-tap="closeLanguageSection_"> | 103 <oobe-text-button inverse on-tap="closeLanguageSection_"> |
| 104 <div>$i18n{oobeOKButtonText}</div> | 104 <div i18n-content="oobeOKButtonText"></div> |
| 105 </oobe-text-button> | 105 </oobe-text-button> |
| 106 </div> | 106 </div> |
| 107 </oobe-dialog> | 107 </oobe-dialog> |
| 108 <oobe-dialog id="accessibilityScreen" | 108 <oobe-dialog id="accessibilityScreen" |
| 109 hidden="[[!accessibilityOptionsScreenShown]]" has-buttons> | 109 hidden="[[!accessibilityOptionsScreenShown]]" has-buttons> |
| 110 <iron-icon icon="icons:accessibility" class="oobe-icon"></iron-icon> | 110 <iron-icon icon="icons:accessibility" class="oobe-icon"></iron-icon> |
| 111 <div class="header"> | 111 <div class="header"> |
| 112 <h1 class="title">$i18n{accessibilitySectionTitle}</h1> | 112 <h1 class="title" i18n-content="accessibilitySectionTitle"></h1> |
| 113 <div class="subtitle">$i18n{accessibilitySectionHint}</div> | 113 <div class="subtitle" i18n-content="accessibilitySectionHint"></div> |
| 114 </div> | 114 </div> |
| 115 <div class="footer layout vertical"> | 115 <div class="footer layout vertical"> |
| 116 <oobe-a11y-option checked="[[a11yStatus.spokenFeedbackEnabled]]" | 116 <oobe-a11y-option checked="[[a11yStatus.spokenFeedbackEnabled]]" |
| 117 on-change="onA11yOptionChanged_" | 117 on-change="onA11yOptionChanged_" |
| 118 chrome-message="enableSpokenFeedback" | 118 chrome-message="enableSpokenFeedback" |
| 119 aria-label="$i18n{spokenFeedbackOption}"> | 119 aria-label="[[formatMessage_('spokenFeedbackOption')]]"> |
| 120 <span class="title">$i18n{spokenFeedbackOption}</span> | 120 <span class="title" i18n-content="spokenFeedbackOption"></span> |
| 121 <span class="checked-value">$i18n{spokenFeedbackOptionOn}</span> | 121 <span class="checked-value" i18n-content="spokenFeedbackOptionOn"> |
| 122 <span class="unchecked-value">$i18n{spokenFeedbackOptionOff}</span> | 122 </span> |
| 123 <span class="unchecked-value" i18n-content="spokenFeedbackOptionOff"> |
| 124 </span> |
| 123 </oobe-a11y-option> | 125 </oobe-a11y-option> |
| 124 <oobe-a11y-option checked="[[a11yStatus.largeCursorEnabled]]" | 126 <oobe-a11y-option checked="[[a11yStatus.largeCursorEnabled]]" |
| 125 on-change="onA11yOptionChanged_" | 127 on-change="onA11yOptionChanged_" |
| 126 chrome-message="enableLargeCursor" | 128 chrome-message="enableLargeCursor" |
| 127 aria-label="$i18n{largeCursorOption}"> | 129 aria-label="[[formatMessage_('largeCursorOption')]]"> |
| 128 <span class="title">$i18n{largeCursorOption}</span> | 130 <span class="title" i18n-content="largeCursorOption"></span> |
| 129 <span class="checked-value">$i18n{largeCursorOptionOn}</span> | 131 <span class="checked-value" i18n-content="largeCursorOptionOn"> |
| 130 <span class="unchecked-value">$i18n{largeCursorOptionOff}</span> | 132 </span> |
| 133 <span class="unchecked-value" i18n-content="largeCursorOptionOff"> |
| 134 </span> |
| 131 </oobe-a11y-option> | 135 </oobe-a11y-option> |
| 132 <oobe-a11y-option checked="[[a11yStatus.highContrastEnabled]]" | 136 <oobe-a11y-option checked="[[a11yStatus.highContrastEnabled]]" |
| 133 on-change="onA11yOptionChanged_" | 137 on-change="onA11yOptionChanged_" |
| 134 chrome-message="enableHighContrast" | 138 chrome-message="enableHighContrast" |
| 135 aria-label="$i18n{highContrastOption}"> | 139 aria-label="[[formatMessage_('highContrastOption')]]"> |
| 136 <span class="title">$i18n{highContrastOption}</span> | 140 <span class="title" i18n-content="highContrastOption"></span> |
| 137 <span class="checked-value">$i18n{highContrastOptionOn}</span> | 141 <span class="checked-value" i18n-content="highContrastOptionOn"> |
| 138 <span class="unchecked-value">$i18n{highContrastOptionOff}</span> | 142 </span> |
| 143 <span class="unchecked-value" i18n-content="highContrastOptionOff"> |
| 144 </span> |
| 139 </oobe-a11y-option> | 145 </oobe-a11y-option> |
| 140 <oobe-a11y-option checked="[[a11yStatus.screenMagnifierEnabled]]" | 146 <oobe-a11y-option checked="[[a11yStatus.screenMagnifierEnabled]]" |
| 141 on-change="onA11yOptionChanged_" | 147 on-change="onA11yOptionChanged_" |
| 142 chrome-message="enableScreenMagnifier" | 148 chrome-message="enableScreenMagnifier" |
| 143 aria-label="$i18n{screenMagnifierOption}"> | 149 aria-label="[[formatMessage_('screenMagnifierOption')]]"> |
| 144 <span class="title">$i18n{screenMagnifierOption}</span> | 150 <span class="title" i18n-content="screenMagnifierOption"></span> |
| 145 <span class="checked-value">$i18n{screenMagnifierOptionOn}</span> | 151 <span class="checked-value" i18n-content="screenMagnifierOptionOn"> |
| 146 <span class="unchecked-value">$i18n{screenMagnifierOptionOff}</span> | 152 </span> |
| 153 <span class="unchecked-value" i18n-content="screenMagnifierOptionOff"> |
| 154 </span> |
| 147 </oobe-a11y-option> | 155 </oobe-a11y-option> |
| 148 <oobe-a11y-option checked="[[a11yStatus.virtualKeyboardEnabled]]" | 156 <oobe-a11y-option checked="[[a11yStatus.virtualKeyboardEnabled]]" |
| 149 on-change="onA11yOptionChanged_" | 157 on-change="onA11yOptionChanged_" |
| 150 chrome-message="enableVirtualKeyboard" | 158 chrome-message="enableVirtualKeyboard" |
| 151 aria-label="$i18n{virtualKeyboardOption}"> | 159 aria-label="[[formatMessage_('virtualKeyboardOption')]]"> |
| 152 <span class="title">$i18n{virtualKeyboardOption}</span> | 160 <span class="title" i18n-content="virtualKeyboardOption"></span> |
| 153 <span class="checked-value">$i18n{virtualKeyboardOptionOn}</span> | 161 <span class="checked-value" i18n-content="virtualKeyboardOptionOn"> |
| 154 <span class="unchecked-value">$i18n{virtualKeyboardOptionOff}</span> | 162 </span> |
| 163 <span class="unchecked-value" i18n-content="virtualKeyboardOptionOff"> |
| 164 </span> |
| 155 </oobe-a11y-option> | 165 </oobe-a11y-option> |
| 156 </div> | 166 </div> |
| 157 <div class="bottom-buttons layout horizontal end-justified"> | 167 <div class="bottom-buttons layout horizontal end-justified"> |
| 158 <oobe-text-button inverse on-tap="closeAccessibilitySection_"> | 168 <oobe-text-button inverse on-tap="closeAccessibilitySection_"> |
| 159 <div>$i18n{oobeOKButtonText}</div> | 169 <div i18n-content="oobeOKButtonText"></div> |
| 160 </oobe-text-button> | 170 </oobe-text-button> |
| 161 </div> | 171 </div> |
| 162 </oobe-dialog> | 172 </oobe-dialog> |
| 163 <oobe-dialog id="timezoneScreen" hidden="[[!timezoneScreenShown]]" | 173 <oobe-dialog id="timezoneScreen" hidden="[[!timezoneScreenShown]]" |
| 164 has-buttons> | 174 has-buttons> |
| 165 <iron-icon icon="oobe-welcome-64:timezone" class="oobe-icon"></iron-icon> | 175 <iron-icon icon="oobe-welcome-64:timezone" class="oobe-icon"></iron-icon> |
| 166 <div class="header"> | 176 <div class="header"> |
| 167 <h1 class="title">$i18n{timezoneSectionTitle}</h1> | 177 <h1 class="title" i18n-content="timezoneSectionTitle"></h1> |
| 168 </div> | 178 </div> |
| 169 <div class="footer layout vertical"> | 179 <div class="footer layout vertical"> |
| 170 <div class="flex layout horizontal justified timezone-selection-entry"> | 180 <div class="flex layout horizontal justified timezone-selection-entry"> |
| 171 <div class="timezone-selection-title layout vertical center-justified"
> | 181 <div class="timezone-selection-title layout vertical center-justified" |
| 172 $i18n{timezoneDropdownTitle} | 182 i18n-content="timezoneDropdownTitle"> |
| 173 </div> | 183 </div> |
| 174 <oobe-i18n-dropdown id="timezoneSelect" items="[[timezones]]" | 184 <oobe-i18n-dropdown id="timezoneSelect" items="[[timezones]]" |
| 175 on-select-item="onTimezoneSelected_" | 185 on-select-item="onTimezoneSelected_" |
| 176 aria-label="$i18n{timezoneDropdownTitle}"> | 186 aria-label="[[formatMessage_('timezoneDropdownTitle')]]"> |
| 177 </oobe-i18n-dropdown> | 187 </oobe-i18n-dropdown> |
| 178 </div> | 188 </div> |
| 179 </div> | 189 </div> |
| 180 <div class="bottom-buttons layout horizontal end-justified"> | 190 <div class="bottom-buttons layout horizontal end-justified"> |
| 181 <oobe-text-button inverse on-tap="closeTimezoneSection_"> | 191 <oobe-text-button inverse on-tap="closeTimezoneSection_"> |
| 182 <div>$i18n{oobeOKButtonText}</div> | 192 <div i18n-content="oobeOKButtonText"></div> |
| 183 </oobe-text-button> | 193 </oobe-text-button> |
| 184 </div> | 194 </div> |
| 185 </oobe-dialog> | 195 </oobe-dialog> |
| 186 <oobe-dialog id="networkSelectionScreen" | 196 <oobe-dialog id="networkSelectionScreen" |
| 187 hidden="[[!networkSelectionScreenShown]]" has-buttons> | 197 hidden="[[!networkSelectionScreenShown]]" has-buttons> |
| 188 <iron-icon icon="oobe-welcome:wifi" class="oobe-icon"></iron-icon> | 198 <iron-icon icon="oobe-welcome:wifi" class="oobe-icon"></iron-icon> |
| 189 <div class="header"> | 199 <div class="header"> |
| 190 <h1 class="title">$i18n{networkSectionTitle}</h1> | 200 <h1 class="title" i18n-content="networkSectionTitle"></h1> |
| 191 <div class="subtitle">$i18n{networkSectionHint}</div> | 201 <div class="subtitle" i18n-content="networkSectionHint"></div> |
| 192 </div> | 202 </div> |
| 193 <div class="footer layout vertical"> | 203 <div class="footer layout vertical"> |
| 194 <cr-network-select id="networkSelect" | 204 <cr-network-select id="networkSelect" |
| 195 on-default-network-changed="onDefaultNetworkChanged_" | 205 on-default-network-changed="onDefaultNetworkChanged_" |
| 196 on-network-item-selected="onNetworkListNetworkItemSelected_" | 206 on-network-item-selected="onNetworkListNetworkItemSelected_" |
| 197 on-custom-item-selected="onNetworkListCustomItemSelected_" | 207 on-custom-item-selected="onNetworkListCustomItemSelected_" |
| 198 custom-items="[[_getNetworkCustomItems()]]" | 208 custom-items="[[_getNetworkCustomItems()]]" |
| 199 no-bottom-scroll-border> | 209 no-bottom-scroll-border> |
| 200 </cr-network-select> | 210 </cr-network-select> |
| 201 </div> | 211 </div> |
| 202 <div class="bottom-buttons layout horizontal justified"> | 212 <div class="bottom-buttons layout horizontal justified"> |
| 203 <oobe-back-button on-tap="onNetworkSelectionBackButtonPressed_"> | 213 <oobe-back-button on-tap="onNetworkSelectionBackButtonPressed_"> |
| 204 </oobe-back-button> | 214 </oobe-back-button> |
| 205 <oobe-next-button disabled="[[!isConnected_]]" | 215 <oobe-next-button disabled="[[!isConnected_]]" |
| 206 on-tap="onSelectedNetworkConnected_"> | 216 on-tap="onSelectedNetworkConnected_"> |
| 207 </oobe-next-button> | 217 </oobe-next-button> |
| 208 </div> | 218 </div> |
| 209 </oobe-dialog> | 219 </oobe-dialog> |
| 210 </template> | 220 </template> |
| 211 </dom-module> | 221 </dom-module> |
| OLD | NEW |