| OLD | NEW |
| 1 <link rel="import" href="chrome://resources/html/action_link.html"> | 1 <link rel="import" href="chrome://resources/html/action_link.html"> |
| 2 <link rel="import" href="chrome://resources/html/action_link_css.html"> | 2 <link rel="import" href="chrome://resources/html/action_link_css.html"> |
| 3 <link rel="import" href="chrome://resources/html/assert.html"> | 3 <link rel="import" href="chrome://resources/html/assert.html"> |
| 4 <link rel="import" href="chrome://resources/html/cr.html"> | 4 <link rel="import" href="chrome://resources/html/cr.html"> |
| 5 <link rel="import" href="chrome://resources/html/polymer.html"> | 5 <link rel="import" href="chrome://resources/html/polymer.html"> |
| 6 <link rel="import" href="chrome://resources/polymer/v1_0/iron-collapse/iron-coll
apse.html"> | 6 <link rel="import" href="chrome://resources/polymer/v1_0/iron-collapse/iron-coll
apse.html"> |
| 7 <link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/neon-ani
matable.html"> | 7 <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/paper-checkbox/paper-ch
eckbox.html"> | 8 <link rel="import" href="chrome://resources/polymer/v1_0/paper-checkbox/paper-ch
eckbox.html"> |
| 9 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper
-icon-button.html"> | 9 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper
-icon-button.html"> |
| 10 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper
-icon-button-light.html"> |
| 10 <link rel="import" href="chrome://resources/cr_elements/cr_action_menu/cr_action
_menu.html"> | 11 <link rel="import" href="chrome://resources/cr_elements/cr_action_menu/cr_action
_menu.html"> |
| 11 <link rel="import" href="chrome://resources/cr_elements/cr_expand_button/cr_expa
nd_button.html"> | 12 <link rel="import" href="chrome://resources/cr_elements/cr_expand_button/cr_expa
nd_button.html"> |
| 12 <link rel="import" href="chrome://resources/cr_elements/cr_lazy_render/cr_lazy_r
ender.html"> | 13 <link rel="import" href="chrome://resources/cr_elements/cr_lazy_render/cr_lazy_r
ender.html"> |
| 13 <link rel="import" href="chrome://resources/cr_elements/icons.html"> | 14 <link rel="import" href="chrome://resources/cr_elements/icons.html"> |
| 14 <link rel="import" href="add_languages_dialog.html"> | 15 <link rel="import" href="add_languages_dialog.html"> |
| 15 <link rel="import" href="languages.html"> | 16 <link rel="import" href="languages.html"> |
| 16 <link rel="import" href="../lifetime_browser_proxy.html"> | 17 <link rel="import" href="../lifetime_browser_proxy.html"> |
| 17 <link rel="import" href="../route.html"> | 18 <link rel="import" href="../route.html"> |
| 18 <link rel="import" href="../settings_page/settings_animated_pages.html"> | 19 <link rel="import" href="../settings_page/settings_animated_pages.html"> |
| 19 <link rel="import" href="../settings_page/settings_subpage.html"> | 20 <link rel="import" href="../settings_page/settings_subpage.html"> |
| (...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 171 item.id, languages.inputMethods.currentId)]]"> | 172 item.id, languages.inputMethods.currentId)]]"> |
| 172 $i18n{inputMethodEnabled} | 173 $i18n{inputMethodEnabled} |
| 173 </div> | 174 </div> |
| 174 </div> | 175 </div> |
| 175 <paper-icon-button icon="cr:settings_icon" | 176 <paper-icon-button icon="cr:settings_icon" |
| 176 on-tap="onInputMethodOptionsTap_" | 177 on-tap="onInputMethodOptionsTap_" |
| 177 hidden="[[!item.hasOptionsPage]]"> | 178 hidden="[[!item.hasOptionsPage]]"> |
| 178 </paper-icon-button> | 179 </paper-icon-button> |
| 179 </div> | 180 </div> |
| 180 </template> | 181 </template> |
| 181 <div class="list-item"> | 182 <div class="list-item" on-tap="onManageInputMethodsTap_" actionable> |
| 182 <a is="action-link" class="list-button" | 183 <div class="start" id="manageInputMethods"> |
| 183 id="manageInputMethods" | |
| 184 on-tap="onManageInputMethodsTap_"> | |
| 185 $i18n{manageInputMethods} | 184 $i18n{manageInputMethods} |
| 186 </a> | 185 </div> |
| 186 <button class="subpage-arrow" is="paper-icon-button-light" |
| 187 aria-label="$i18n{manageInputMethods}" |
| 188 aria-describedby="customSpelling"></button> |
| 187 </div> | 189 </div> |
| 188 </div> | 190 </div> |
| 189 <div class="settings-box"> | 191 <div class="settings-box"> |
| 190 <settings-toggle-button class="start" | 192 <settings-toggle-button class="start" |
| 191 pref="{{prefs.settings.language.ime_menu_activated}}" | 193 pref="{{prefs.settings.language.ime_menu_activated}}" |
| 192 label="$i18n{showImeMenu}"> | 194 label="$i18n{showImeMenu}"> |
| 193 </settings-toggle-button> | 195 </settings-toggle-button> |
| 194 </div> | 196 </div> |
| 195 </iron-collapse> | 197 </iron-collapse> |
| 196 </if> | 198 </if> |
| (...skipping 18 matching lines...) Expand all Loading... |
| 215 actionable$="[[item.language.supportsSpellcheck]]"> | 217 actionable$="[[item.language.supportsSpellcheck]]"> |
| 216 [[item.language.displayName]] | 218 [[item.language.displayName]] |
| 217 </div> | 219 </div> |
| 218 <paper-toggle-button on-change="onSpellCheckChange_" | 220 <paper-toggle-button on-change="onSpellCheckChange_" |
| 219 disabled="[[!item.language.supportsSpellcheck]]" | 221 disabled="[[!item.language.supportsSpellcheck]]" |
| 220 checked="[[item.spellCheckEnabled]]" | 222 checked="[[item.spellCheckEnabled]]" |
| 221 aria-label$="[[item.language.displayName]]"> | 223 aria-label$="[[item.language.displayName]]"> |
| 222 </paper-toggle-button> | 224 </paper-toggle-button> |
| 223 </div> | 225 </div> |
| 224 </template> | 226 </template> |
| 225 <div class="list-item"> | 227 <div class="list-item" on-tap="onEditDictionaryTap_" actionable> |
| 226 <a is="action-link" class="list-button" | 228 <div class="start" id="customSpelling"> |
| 227 on-tap="onEditDictionaryTap_"> | |
| 228 $i18n{manageSpellCheck} | 229 $i18n{manageSpellCheck} |
| 229 </a> | 230 </div> |
| 231 <button class="subpage-arrow" is="paper-icon-button-light" |
| 232 aria-label="$i18n{manageSpellCheck}" |
| 233 aria-describedby="customSpelling"></button> |
| 230 </div> | 234 </div> |
| 231 </div> | 235 </div> |
| 232 </iron-collapse> | 236 </iron-collapse> |
| 233 </if> | 237 </if> |
| 234 <template is="cr-lazy-render" id="menu"> | 238 <template is="cr-lazy-render" id="menu"> |
| 235 <dialog is="cr-action-menu" | 239 <dialog is="cr-action-menu" |
| 236 class$="[[getMenuClass_(prefs.translate.enabled.value)]]"> | 240 class$="[[getMenuClass_(prefs.translate.enabled.value)]]"> |
| 237 <if expr="chromeos or is_win"> | 241 <if expr="chromeos or is_win"> |
| 238 <paper-checkbox id="uiLanguageItem" class="dropdown-item" | 242 <paper-checkbox id="uiLanguageItem" class="dropdown-item" |
| 239 checked="[[isProspectiveUILanguage_( | 243 checked="[[isProspectiveUILanguage_( |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 301 </if> | 305 </if> |
| 302 </settings-animated-pages> | 306 </settings-animated-pages> |
| 303 <template is="dom-if" if="[[showAddLanguagesDialog_]]" restamp> | 307 <template is="dom-if" if="[[showAddLanguagesDialog_]]" restamp> |
| 304 <settings-add-languages-dialog languages="{{languages}}" | 308 <settings-add-languages-dialog languages="{{languages}}" |
| 305 language-helper="[[languageHelper]]"> | 309 language-helper="[[languageHelper]]"> |
| 306 </settings-add-languages-dialog> | 310 </settings-add-languages-dialog> |
| 307 </template> | 311 </template> |
| 308 </template> | 312 </template> |
| 309 <script src="languages_page.js"></script> | 313 <script src="languages_page.js"></script> |
| 310 </dom-module> | 314 </dom-module> |
| OLD | NEW |