1 <link rel=
"import" href=
"chrome://resources/polymer/v1_0/polymer/polymer.html">
2 <link rel=
"import" href=
"chrome://resources/polymer/v1_0/iron-flex-layout/iron-flex-layout.html">
3 <link rel=
"import" href=
"chrome://resources/polymer/v1_0/iron-icon/iron-icon.html">
4 <link rel=
"import" href=
"chrome://resources/polymer/v1_0/iron-icons/iron-icons.html">
5 <link rel=
"import" href=
"chrome://resources/polymer/v1_0/paper-button/paper-button.html">
6 <link rel=
"import" href=
"chrome://resources/polymer/v1_0/paper-icon-button/paper-icon-button.html">
7 <link rel=
"import" href=
"chrome://resources/polymer/v1_0/paper-item/paper-item.html">
8 <link rel=
"import" href=
"chrome://resources/html/assert.html">
9 <link rel=
"import" href=
"chrome://resources/html/cr.html">
11 <dom-module id=
"cr-settings-languages-page">
12 <link rel=
"import" type=
"css"
13 href=
"chrome://md-settings/settings_page/settings_page.css">
14 <link rel=
"import" type=
"css" href=
"languages_page.css">
16 <h2 i18n-content=
"languagesListTitle"></h2>
17 <div class=
"item-list">
18 <template is=
"dom-repeat" items=
"{{dummyLanguages_}}">
20 <div class=
"flex">[[item.displayName]]
</div>
21 <iron-icon icon=
"done"
23 !isUILanguage_(item.code, dummyAppLocale_)]]">
25 <paper-icon-button icon=
"settings"></paper-icon-button>
30 <paper-button i18n-content=
"manageLanguages"></paper-button>
33 <h2 i18n-content=
"inputMethodsListTitle"></h2>
34 <div class=
"item-list">
35 <template is=
"dom-repeat" items=
"{{dummyInputMethods_}}">
37 <div class=
"flex">[[item.name]]
</div>
38 <iron-icon icon=
"done"
40 !isCurrentInputMethod_(item.id, dummyCurrentInputMethod_)]]">
42 <paper-icon-button icon=
"settings"></paper-icon-button>
47 <paper-button i18n-content=
"manageInputMethods"></paper-button>
50 <h2 i18n-content=
"spellCheckListTitle"></h2>
51 <div class=
"layout vertical">
52 <template is=
"dom-repeat"
53 items=
"{{getSpellcheckLanguages_(dummyLanguages_)}}">
54 <paper-checkbox checked=
"{{isSpellcheckEnabled_(item.code,
55 dummySpellcheckDictionaries_)}}"
56 >[[item.displayName]]
</paper-checkbox>
60 <paper-button>Custom spelling
</paper-button>
63 <script src=
"languages_page.js"></script>