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

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

Issue 2426863002: MD Settings: don't allow supervised users to switch to GTK+ theme (Closed)
Patch Set: split tests Created 4 years, 2 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
OLDNEW
1 <link rel="import" href="chrome://resources/html/i18n_behavior.html"> 1 <link rel="import" href="chrome://resources/html/i18n_behavior.html">
2 <link rel="import" href="chrome://resources/html/polymer.html"> 2 <link rel="import" href="chrome://resources/html/polymer.html">
3 <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/iron-flex-layout/classe s/iron-flex-layout.html">
4 <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/neon-animation/neon-ani matable.html">
5 <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-butt on.html"> 5 <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-butt on.html">
6 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper -icon-button-light.html"> 6 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper -icon-button-light.html">
7 <link rel="import" href="/appearance_page/appearance_browser_proxy.html"> 7 <link rel="import" href="/appearance_page/appearance_browser_proxy.html">
8 <link rel="import" href="/controls/controlled_radio_button.html"> 8 <link rel="import" href="/controls/controlled_radio_button.html">
9 <link rel="import" href="/controls/settings_dropdown_menu.html"> 9 <link rel="import" href="/controls/settings_dropdown_menu.html">
10 <link rel="import" href="/controls/settings_input.html"> 10 <link rel="import" href="/controls/settings_input.html">
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 <template is="dom-if" if="[[prefs.extensions.theme.id.value]]"> 60 <template is="dom-if" if="[[prefs.extensions.theme.id.value]]">
61 <div class="secondary-action"> 61 <div class="secondary-action">
62 <paper-button id="useDefault" on-tap="onUseDefaultTap_" 62 <paper-button id="useDefault" on-tap="onUseDefaultTap_"
63 class="secondary-button"> 63 class="secondary-button">
64 $i18n{resetToDefaultTheme} 64 $i18n{resetToDefaultTheme}
65 </paper-button> 65 </paper-button>
66 </div> 66 </div>
67 </template> 67 </template>
68 </if> 68 </if>
69 <if expr="is_linux and not chromeos"> 69 <if expr="is_linux and not chromeos">
70 <div class="secondary-action"> 70 <div class="secondary-action" hidden="[[!showThemesSecondary_(
71 prefs.extensions.theme.id.value, useSystemTheme_)]]">
71 <template is="dom-if" if="[[showUseClassic_( 72 <template is="dom-if" if="[[showUseClassic_(
72 prefs.extensions.theme.id.value, useSystemTheme_)]]" restamp> 73 prefs.extensions.theme.id.value, useSystemTheme_)]]" restamp>
73 <paper-button id="useDefault" on-tap="onUseDefaultTap_" 74 <paper-button id="useDefault" on-tap="onUseDefaultTap_"
74 class="secondary-button"> 75 class="secondary-button">
75 $i18n{useClassicTheme} 76 $i18n{useClassicTheme}
76 </paper-button> 77 </paper-button>
77 </template> 78 </template>
78 <template is="dom-if" if="[[showUseSystem_( 79 <template is="dom-if" if="[[showUseSystem_(
79 prefs.extensions.theme.id.value, useSystemTheme_)]]" restamp> 80 prefs.extensions.theme.id.value, useSystemTheme_)]]" restamp>
80 <paper-button id="useSystem" on-tap="onUseSystemTap_" 81 <paper-button id="useSystem" on-tap="onUseSystemTap_"
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 associated-control="[[$$('#customize-fonts-subpage-trigger')]]" 164 associated-control="[[$$('#customize-fonts-subpage-trigger')]]"
164 page-title="$i18n{customizeFonts}"> 165 page-title="$i18n{customizeFonts}">
165 <settings-appearance-fonts-page prefs="{{prefs}}"> 166 <settings-appearance-fonts-page prefs="{{prefs}}">
166 </settings-appearance-fonts-page> 167 </settings-appearance-fonts-page>
167 </settings-subpage> 168 </settings-subpage>
168 </template> 169 </template>
169 </settings-animated-pages> 170 </settings-animated-pages>
170 </template> 171 </template>
171 <script src="appearance_page.js"></script> 172 <script src="appearance_page.js"></script>
172 </dom-module> 173 </dom-module>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698