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

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

Issue 2506323002: MD Settings: show an extension-controlled-indicator for proxy (Closed)
Patch Set: -@private Created 4 years, 1 month 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/resources/settings/system_page/system_page.html ('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.js
diff --git a/chrome/browser/resources/settings/system_page/system_page.js b/chrome/browser/resources/settings/system_page/system_page.js
index 8656b29abab66238a917a17cd3e5a090711ce377..d076182bcb83d747cc6f77f1c5e382093ec5d944 100644
--- a/chrome/browser/resources/settings/system_page/system_page.js
+++ b/chrome/browser/resources/settings/system_page/system_page.js
@@ -33,6 +33,16 @@ Polymer({
},
/** @private */
+ onExtensionDisable_: function() {
+ // TODO(dbeam): this is a pretty huge bummer. It means there are things
+ // (inputs) that our prefs system is not observing. And that changes from
+ // other sources (i.e. disabling/enabling an extension from
+ // chrome://extensions or from the omnibox directly) will not update
+ // |this.prefs.proxy| directly (nor the UI). We should fix this eventually.
+ this.fire('refresh-pref', 'proxy');
+ },
+
+ /** @private */
onRestartTap_: function() {
// TODO(dbeam): we should prompt before restarting the browser.
settings.LifetimeBrowserProxyImpl.getInstance().restart();
« no previous file with comments | « chrome/browser/resources/settings/system_page/system_page.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698