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

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

Issue 2700113004: MD-Settings: Don't show advanced settings in guest mode (Closed)
Patch Set: Created 3 years, 10 months 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <link rel="import" href="chrome://resources/cr_elements/icons.html"> 1 <link rel="import" href="chrome://resources/cr_elements/icons.html">
2 <link rel="import" href="chrome://resources/html/assert.html"> 2 <link rel="import" href="chrome://resources/html/assert.html">
3 <link rel="import" href="chrome://resources/html/polymer.html"> 3 <link rel="import" href="chrome://resources/html/polymer.html">
4 <link rel="import" href="chrome://resources/polymer/v1_0/iron-collapse/iron-coll apse.html"> 4 <link rel="import" href="chrome://resources/polymer/v1_0/iron-collapse/iron-coll apse.html">
5 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icon/iron-icon.htm l"> 5 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icon/iron-icon.htm l">
6 <link rel="import" href="chrome://resources/polymer/v1_0/iron-selector/iron-sele ctor.html"> 6 <link rel="import" href="chrome://resources/polymer/v1_0/iron-selector/iron-sele ctor.html">
7 <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-butt on.html"> 7 <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-butt on.html">
8 <link rel="import" href="../icons.html"> 8 <link rel="import" href="../icons.html">
9 <link rel="import" href="../route.html"> 9 <link rel="import" href="../route.html">
10 <link rel="import" href="../settings_shared_css.html"> 10 <link rel="import" href="../settings_shared_css.html">
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 <a href="/defaultBrowser" hidden="[[!pageVisibility.defaultBrowser]]"> 119 <a href="/defaultBrowser" hidden="[[!pageVisibility.defaultBrowser]]">
120 <iron-icon icon="settings:web"></iron-icon> 120 <iron-icon icon="settings:web"></iron-icon>
121 $i18n{defaultBrowser} 121 $i18n{defaultBrowser}
122 </a> 122 </a>
123 </if> 123 </if>
124 <a href="/onStartup" hidden="[[!pageVisibility.onStartup]]"> 124 <a href="/onStartup" hidden="[[!pageVisibility.onStartup]]">
125 <iron-icon icon="settings:power-settings-new"></iron-icon> 125 <iron-icon icon="settings:power-settings-new"></iron-icon>
126 $i18n{onStartup} 126 $i18n{onStartup}
127 </a> 127 </a>
128 <paper-button toggles id="advancedButton" 128 <paper-button toggles id="advancedButton"
129 aria-active-attribute="aria-expanded" active="{{advancedOpened}}"> 129 aria-active-attribute="aria-expanded" active="{{advancedOpened}}"
130 hidden="[[!pageVisibility.advancedSettings]]">
130 <span>$i18n{advancedPageTitle}</span> 131 <span>$i18n{advancedPageTitle}</span>
131 <iron-icon icon="[[arrowState_(advancedOpened)]]"> 132 <iron-icon icon="[[arrowState_(advancedOpened)]]">
132 </iron-icon></paper-button> 133 </iron-icon></paper-button>
133 <iron-collapse id="advancedSubmenu" opened="[[advancedOpened]]"> 134 <iron-collapse id="advancedSubmenu" opened="[[advancedOpened]]"
135 hidden="[[!pageVisibility.advancedSettings]]">
134 <iron-selector id="subMenu" selectable="a" attr-for-selected="href" 136 <iron-selector id="subMenu" selectable="a" attr-for-selected="href"
135 on-iron-activate="onSelectorActivate_"> 137 on-iron-activate="onSelectorActivate_">
136 <if expr="chromeos"> 138 <if expr="chromeos">
137 <a href="/dateTime"> 139 <a href="/dateTime">
138 <iron-icon icon="settings:access-time"></iron-icon> 140 <iron-icon icon="settings:access-time"></iron-icon>
139 $i18n{dateTimePageTitle} 141 $i18n{dateTimePageTitle}
140 </a> 142 </a>
141 </if> 143 </if>
142 <a href="/privacy"> 144 <a href="/privacy">
143 <iron-icon icon="settings:security"></iron-icon> 145 <iron-icon icon="settings:security"></iron-icon>
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
175 $i18n{resetPageTitle} 177 $i18n{resetPageTitle}
176 </a> 178 </a>
177 </iron-selector> 179 </iron-selector>
178 </iron-collapse> 180 </iron-collapse>
179 <div class="separator"></div> 181 <div class="separator"></div>
180 <a id="about-menu" href="/help">$i18n{aboutPageTitle}</a> 182 <a id="about-menu" href="/help">$i18n{aboutPageTitle}</a>
181 </iron-selector> 183 </iron-selector>
182 </template> 184 </template>
183 <script src="settings_menu.js"></script> 185 <script src="settings_menu.js"></script>
184 </dom-module> 186 </dom-module>
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698