Fire an error if a pref used in the UI is missing once all prefs are fetched.
[chromium-blink-merge.git] / chrome / browser / resources / settings / settings_ui / settings_ui.html
blobdff62a0758bf97fba3448b645729aa6207212553
1 <link rel="import" href="chrome://resources/polymer/core-drawer-panel/core-drawer-panel.html">
2 <link rel="import" href="chrome://resources/polymer/core-icon-button/core-icon-button.html">
3 <link rel="import" href="chrome://md-settings/settings_drawer/settings_drawer.html">
4 <link rel="import" href="chrome://md-settings/settings_main/settings_main.html">
6 <polymer-element name="cr-settings-ui">
7 <template>
8 <link rel="stylesheet" href="settings_ui.css">
9 <core-drawer-panel drawerWidth="280px">
10 <cr-settings-drawer drawer id="drawer" pages="{{pages}}"
11 selectedId="{{selectedPageId}}">
12 </cr-settings-drawer>
13 <cr-settings-main main pages="{{pages}}" prefs="{{prefs}}"
14 selectedPageId="{{selectedPageId}}">
15 <core-icon-button icon="menu" core-drawer-toggle></core-icon-button>
16 </cr-settings-main>
17 </core-drawer-panel>
18 </template>
19 <script src="settings_ui.js"></script>
20 </polymer-element>