| OLD | NEW |
| 1 <link rel="import" href="chrome://resources/html/assert.html"> | 1 <link rel="import" href="chrome://resources/html/assert.html"> |
| 2 <link rel="import" href="chrome://resources/html/cr.html"> | 2 <link rel="import" href="chrome://resources/html/cr.html"> |
| 3 <link rel="import" href="chrome://resources/html/i18n_behavior.html"> | 3 <link rel="import" href="chrome://resources/html/i18n_behavior.html"> |
| 4 <link rel="import" href="chrome://resources/html/polymer.html"> | 4 <link rel="import" href="chrome://resources/html/polymer.html"> |
| 5 <link rel="import" href="chrome://resources/polymer/v1_0/iron-collapse/iron-coll
apse.html"> | 5 <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-icon/iron-icon.htm
l"> | 6 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icon/iron-icon.htm
l"> |
| 7 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icons/iron-icons.h
tml"> | 7 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icons/iron-icons.h
tml"> |
| 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/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/cr_elements/cr_expand_button/cr_expa
nd_button.html"> | 10 <link rel="import" href="chrome://resources/cr_elements/cr_expand_button/cr_expa
nd_button.html"> |
| (...skipping 21 matching lines...) Expand all Loading... |
| 32 <div class="secondary"> | 32 <div class="secondary"> |
| 33 [[getProspectiveUILanguageName_( | 33 [[getProspectiveUILanguageName_( |
| 34 languages, prefs.intl.app_locale.value)]] | 34 languages, prefs.intl.app_locale.value)]] |
| 35 </div> | 35 </div> |
| 36 </div> | 36 </div> |
| 37 <cr-expand-button expanded="{{languagesOpened_}}"> | 37 <cr-expand-button expanded="{{languagesOpened_}}"> |
| 38 </cr-expand-button> | 38 </cr-expand-button> |
| 39 </div> | 39 </div> |
| 40 <iron-collapse id="languagesCollapse" opened="[[languagesOpened_]]"> | 40 <iron-collapse id="languagesCollapse" opened="[[languagesOpened_]]"> |
| 41 <div class="list-frame vertical-list"> | 41 <div class="list-frame vertical-list"> |
| 42 <template is="dom-repeat" items="{{languages.enabledLanguages}}"> | 42 <template is="dom-repeat" items="{{languages.enabled}}"> |
| 43 <div class$="list-item [[getLanguageItemClass_( | 43 <div class$="list-item [[getLanguageItemClass_( |
| 44 item.language.code, prefs.intl.app_locale.value)]]" | 44 item.language.code, prefs.intl.app_locale.value)]]" |
| 45 on-tap="onLanguageTap_"> | 45 on-tap="onLanguageTap_"> |
| 46 <if expr="not chromeos and not is_win"> | 46 <if expr="not chromeos and not is_win"> |
| 47 <div class="start" title="[[item.language.nativeDisplayName]]"> | 47 <div class="start" title="[[item.language.nativeDisplayName]]"> |
| 48 [[item.language.displayName]] | 48 [[item.language.displayName]] |
| 49 </div> | 49 </div> |
| 50 </if> | 50 </if> |
| 51 <if expr="chromeos or is_win"> | 51 <if expr="chromeos or is_win"> |
| 52 <div title="[[item.language.nativeDisplayName]]"> | 52 <div title="[[item.language.nativeDisplayName]]"> |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 104 <div class="start"> | 104 <div class="start"> |
| 105 <div i18n-content="spellCheckListTitle"></div> | 105 <div i18n-content="spellCheckListTitle"></div> |
| 106 <div class="secondary">[[spellCheckSecondary_]]</div> | 106 <div class="secondary">[[spellCheckSecondary_]]</div> |
| 107 </div> | 107 </div> |
| 108 <cr-expand-button expanded="{{spellCheckOpened_}}"> | 108 <cr-expand-button expanded="{{spellCheckOpened_}}"> |
| 109 </cr-expand-button> | 109 </cr-expand-button> |
| 110 </div> | 110 </div> |
| 111 <iron-collapse id="spellCheckCollapse" opened="[[spellCheckOpened_]]"> | 111 <iron-collapse id="spellCheckCollapse" opened="[[spellCheckOpened_]]"> |
| 112 <div class="list-frame vertical-list"> | 112 <div class="list-frame vertical-list"> |
| 113 <template is="dom-repeat" | 113 <template is="dom-repeat" |
| 114 items="[[spellCheckLanguages_(languages.enabledLanguages.*)]]"> | 114 items="[[spellCheckLanguages_(languages.enabled.*)]]"> |
| 115 <div class="list-item"> | 115 <div class="list-item"> |
| 116 <div class="start"> | 116 <div class="start"> |
| 117 <paper-checkbox | 117 <paper-checkbox |
| 118 checked="[[item.state.spellCheckEnabled]]" | 118 checked="[[item.spellCheckEnabled]]" |
| 119 on-change="onSpellCheckChange_"> | 119 on-change="onSpellCheckChange_"> |
| 120 [[item.language.displayName]] | 120 [[item.language.displayName]] |
| 121 </paper-checkbox> | 121 </paper-checkbox> |
| 122 </div> | 122 </div> |
| 123 <paper-icon-button icon="settings" | 123 <paper-icon-button icon="settings" |
| 124 on-tap="onShowLanguageDetailTap_"></paper-icon-button> | 124 on-tap="onShowLanguageDetailTap_"></paper-icon-button> |
| 125 </div> | 125 </div> |
| 126 </template> | 126 </template> |
| 127 <div class="list-item list-button" i18n-content="manageSpellCheck" | 127 <div class="list-item list-button" i18n-content="manageSpellCheck" |
| 128 on-tap="onEditDictionaryTap_"> | 128 on-tap="onEditDictionaryTap_"> |
| (...skipping 20 matching lines...) Expand all Loading... |
| 149 <template is="dom-if" name="edit-dictionary"> | 149 <template is="dom-if" name="edit-dictionary"> |
| 150 <settings-subpage page-title="[[i18n('editDictionaryPageTitle')]]"> | 150 <settings-subpage page-title="[[i18n('editDictionaryPageTitle')]]"> |
| 151 <settings-edit-dictionary-page></settings-edit-dictionary-page> | 151 <settings-edit-dictionary-page></settings-edit-dictionary-page> |
| 152 </settings-subpage> | 152 </settings-subpage> |
| 153 </template> | 153 </template> |
| 154 </if> | 154 </if> |
| 155 </settings-animated-pages> | 155 </settings-animated-pages> |
| 156 </template> | 156 </template> |
| 157 <script src="languages_page.js"></script> | 157 <script src="languages_page.js"></script> |
| 158 </dom-module> | 158 </dom-module> |
| OLD | NEW |