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

Unified Diff: chrome/browser/resources/settings/system_page/system_page.html

Issue 2180393002: MD Settings: made proxy button respect policy (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@controlled-button
Patch Set: Created 4 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/extensions/api/settings_private/prefs_util.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/settings/system_page/system_page.html
diff --git a/chrome/browser/resources/settings/system_page/system_page.html b/chrome/browser/resources/settings/system_page/system_page.html
index 844b4dbe57312a4aee018898d78c2aa242e3bbbf..530b7c60927163c0872a251cde047af49ced367c 100644
--- a/chrome/browser/resources/settings/system_page/system_page.html
+++ b/chrome/browser/resources/settings/system_page/system_page.html
@@ -1,5 +1,6 @@
<link rel="import" href="chrome://resources/html/polymer.html">
<link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-button.html">
+<link rel="import" href="/controls/controlled_button.html">
<link rel="import" href="/controls/settings_checkbox.html">
<link rel="import" href="/lifetime_browser_proxy.html">
<link rel="import" href="/prefs/prefs.html">
@@ -37,9 +38,10 @@
</div>
</div>
<div class="settings-box">
- <paper-button class="primary-button" on-tap="onChangeProxySettingsTap_">
+ <controlled-button class="primary-button" pref="[[prefs.proxy]]"
+ on-tap="onChangeProxySettingsTap_">
$i18n{changeProxySettings}
- </paper-button>
+ </controlled-button>
stevenjb 2016/07/27 16:47:32 This is *so* much better than what we have in opti
Dan Beam 2016/07/29 03:46:51 just imagine how great everything will be the THIR
</div>
</template>
<script src="/system_page/system_page.js"></script>
« no previous file with comments | « chrome/browser/extensions/api/settings_private/prefs_util.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698