Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(514)

Side by Side Diff: chrome/browser/resources/settings/on_startup_page/on_startup_page.html

Issue 1477773003: Use dom-if to hide settings pages and show explicitly. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 <link rel="import" href="chrome://resources/polymer/v1_0/polymer/polymer.html"> 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/classe s/iron-flex-layout.html"> 2 <link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/classe s/iron-flex-layout.html">
3 <link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/neon-ani matable.html"> 3 <link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/neon-ani matable.html">
4 <link rel="import" href="chrome://resources/polymer/v1_0/paper-radio-button/pape r-radio-button.html"> 4 <link rel="import" href="chrome://resources/polymer/v1_0/paper-radio-button/pape r-radio-button.html">
5 <link rel="import" href="chrome://md-settings/controls/settings_radio_group.html "> 5 <link rel="import" href="chrome://md-settings/controls/settings_radio_group.html ">
6 <link rel="import" href="chrome://md-settings/on_startup_page/startup_urls_page. html"> 6 <link rel="import" href="chrome://md-settings/on_startup_page/startup_urls_page. html">
7 <link rel="import" href="chrome://md-settings/settings_page/settings_animated_pa ges.html"> 7 <link rel="import" href="chrome://md-settings/settings_page/settings_animated_pa ges.html">
8 <link rel="import" href="chrome://md-settings/settings_page/settings_subheader.h tml"> 8 <link rel="import" href="chrome://md-settings/settings_page/settings_subheader.h tml">
9 9
10 <dom-module id="settings-on-startup-page"> 10 <dom-module id="settings-on-startup-page">
11 <link rel="import" type="css" 11 <link rel="import" type="css"
12 href="chrome://md-settings/settings_shared.css"> 12 href="chrome://md-settings/settings_shared.css">
13 <link rel="import" type="css" href="on_startup_shared.css"> 13 <link rel="import" type="css" href="on_startup_shared.css">
14 <template> 14 <template>
15 <settings-animated-pages id="pages" current-route="{{currentRoute}}" 15 <settings-animated-pages id="pages" current-route="{{currentRoute}}"
16 section="on-startup"> 16 section="onStartup">
Dan Beam 2015/12/08 02:55:27 please try to stop writing these: https://en.wikip
stevenjb 2015/12/08 20:07:37 https://codereview.chromium.org/1505113005
17 <neon-animatable id="main"> 17 <neon-animatable id="main">
18 <div class="settings-box"> 18 <div class="settings-box">
19 <div id="locationLabel" i18n-content="onStartup"></div> 19 <div id="locationLabel" i18n-content="onStartup"></div>
20 <settings-radio-group pref="{{prefs.session.restore_on_startup}}"> 20 <settings-radio-group pref="{{prefs.session.restore_on_startup}}">
21 <paper-radio-button name="[[prefValues_.OPEN_NEW_TAB]]" 21 <paper-radio-button name="[[prefValues_.OPEN_NEW_TAB]]"
22 i18n-content="onStartupOpenNewTab"> 22 i18n-content="onStartupOpenNewTab">
23 </paper-radio-button> 23 </paper-radio-button>
24 <paper-radio-button name="[[prefValues_.CONTINUE]]" 24 <paper-radio-button name="[[prefValues_.CONTINUE]]"
25 i18n-content="onStartupContinue"> 25 i18n-content="onStartupContinue">
26 </paper-radio-button> 26 </paper-radio-button>
(...skipping 11 matching lines...) Expand all
38 <neon-animatable id="startup-urls"> 38 <neon-animatable id="startup-urls">
39 <settings-subheader i18n-values="page-title:onStartupSetPages"> 39 <settings-subheader i18n-values="page-title:onStartupSetPages">
40 </settings-subheader> 40 </settings-subheader>
41 <settings-startup-urls-page prefs="{{prefs}}"> 41 <settings-startup-urls-page prefs="{{prefs}}">
42 </settings-startup-urls-page> 42 </settings-startup-urls-page>
43 </neon-animatable> 43 </neon-animatable>
44 </settings-animated-pages> 44 </settings-animated-pages>
45 </template> 45 </template>
46 <script src="on_startup_page.js"></script> 46 <script src="on_startup_page.js"></script>
47 </dom-module> 47 </dom-module>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698