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">
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">
11 <dom-module id=
"cr-settings-main">
12 <link rel=
"import" type=
"css" href=
"settings_main.css">
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>
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>
41 <script src=
"settings_main.js"></script>