Only grant permissions to new extensions from sync if they have the expected version
[chromium-blink-merge.git] / chrome / browser / resources / settings / languages_page / languages_page.html
blobfcb0ebbbaef56549c87a6ce13afe2fd476457bfa
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">
15 <template>
16 <h2 i18n-content="languagesListTitle"></h2>
17 <div class="item-list">
18 <template is="dom-repeat" items="{{dummyLanguages_}}">
19 <paper-item>
20 <div class="flex">[[item.displayName]]</div>
21 <iron-icon icon="done"
22 hidden$="[[
23 !isUILanguage_(item.code, dummyAppLocale_)]]">
24 </iron-icon>
25 <paper-icon-button icon="settings"></paper-icon-button>
26 </paper-item>
27 </template>
28 </div>
29 <div class="manage">
30 <paper-button i18n-content="manageLanguages"></paper-button>
31 </div>
32 <if expr="chromeos">
33 <h2 i18n-content="inputMethodsListTitle"></h2>
34 <div class="item-list">
35 <template is="dom-repeat" items="{{dummyInputMethods_}}">
36 <paper-item>
37 <div class="flex">[[item.name]]</div>
38 <iron-icon icon="done"
39 hidden$="[[
40 !isCurrentInputMethod_(item.id, dummyCurrentInputMethod_)]]">
41 </iron-icon>
42 <paper-icon-button icon="settings"></paper-icon-button>
43 </paper-item>
44 </template>
45 </div>
46 <div class="manage">
47 <paper-button i18n-content="manageInputMethods"></paper-button>
48 </div>
49 </if>
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>
57 </template>
58 </div>
59 <div class="manage">
60 <paper-button>Custom spelling</paper-button>
61 </div>
62 </template>
63 <script src="languages_page.js"></script>
64 </dom-module>