Only grant permissions to new extensions from sync if they have the expected version
[chromium-blink-merge.git] / chrome / browser / resources / settings / settings_main / settings_main.html
blobfcb0a8412e664831a4920a7058d072908980cdf3
1 <link rel="import" href="chrome://resources/polymer/v1_0/polymer/polymer.html">
2 <link rel="import" href="chrome://resources/polymer/v1_0/iron-pages/iron-pages.html">
3 <link rel="import" href="chrome://md-settings/advanced_page/advanced_page.html">
4 <link rel="import" href="chrome://md-settings/basic_page/basic_page.html">
6 <if expr="chromeos">
7 <link rel="import" href="chrome://md-settings/internet_page/internet_detail_page.html">
8 <link rel="import" href="chrome://md-settings/internet_page/internet_known_networks_page.html">
9 </if>
11 <dom-module id="cr-settings-main">
12 <link rel="import" type="css" href="settings_main.css">
13 <template>
14 <div id="mainContainer">
15 <content select="paper-icon-button"></content>
16 <iron-pages id="pageContainer" attr-for-selected="data-route-page"
17 selected="[[getSelectedPage_(currentRoute)]]">
18 <cr-settings-basic-page data-route-page="basic" prefs="{{prefs}}"
19 expand-container="{{expandContainer}}"
20 current-route="{{currentRoute}}">
21 </cr-settings-basic-page>
22 <cr-settings-advanced-page data-route-page="advanced" prefs="{{prefs}}"
23 expand-container="{{expandContainer}}"
24 current-route="{{currentRoute}}">
25 </cr-settings-advanced-page>
26 <if expr="chromeos">
27 <!-- TODO(tommycli): Move these to be subpages of Internet. -->
28 <cr-settings-internet-detail-page data-route-page="internet-detail"
29 subpage="true" guid="[[params.guid]]"
30 selected-page="[[selectedPage]]">
31 </cr-settings-internet-detail-page>
32 <cr-settings-internet-known-networks-page
33 data-route-page="internet-known-networks"
34 subpage="true" network-type="[[params.type]]"
35 selected-page="[[selectedPage]]">
36 </cr-settings-internet-known-networks-page>
37 </if>
38 </iron-pages>
39 </div>
40 </template>
41 <script src="settings_main.js"></script>
42 </dom-module>