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

Unified Diff: chrome/browser/resources/options/advanced_options.js

Issue 3132030: dom-ui options: Setup proxy settings UI accordingly if an Extension is managi... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years, 4 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
Index: chrome/browser/resources/options/advanced_options.js
===================================================================
--- chrome/browser/resources/options/advanced_options.js (revision 56863)
+++ chrome/browser/resources/options/advanced_options.js (working copy)
@@ -82,19 +82,20 @@
//
// Set the download path.
- AdvancedOptions.SetDownloadLocationPath = function (path) {
+ AdvancedOptions.SetDownloadLocationPath = function(path) {
if (!cr.isChromeOS)
$('downloadLocationPath').value = path;
};
// Set the enabled state for the autoOpenFileTypesResetToDefault button.
- AdvancedOptions.SetAutoOpenFileTypesDisabledAttribute = function (disabled) {
+ AdvancedOptions.SetAutoOpenFileTypesDisabledAttribute = function(disabled) {
$('autoOpenFileTypesResetToDefault').disabled = disabled;
};
// Set the enabled state for the proxy settings button.
- AdvancedOptions.SetProxySettingsDisabledAttribute = function (disabled) {
+ AdvancedOptions.SetupProxySettingsSection = function(disabled, label) {
$('proxiesConfigureButton').disabled = disabled;
+ $('proxiesLabel').textContent = label;
};
// Set the checked state for the sslCheckRevocation checkbox.

Powered by Google App Engine
This is Rietveld 408576698