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

Side by Side Diff: chrome/browser/resources/options/chromeos/internet_detail.js

Issue 12560002: Change var blah_blah -> blahBlah. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 9 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 cr.define('options.internet', function() { 5 cr.define('options.internet', function() {
6 var OptionsPage = options.OptionsPage; 6 var OptionsPage = options.OptionsPage;
7 /** @const */ var ArrayDataModel = cr.ui.ArrayDataModel; 7 /** @const */ var ArrayDataModel = cr.ui.ArrayDataModel;
8 /** @const */ var IPAddressField = options.internet.IPAddressField; 8 /** @const */ var IPAddressField = options.internet.IPAddressField;
9 9
10 /** 10 /**
(...skipping 431 matching lines...) Expand 10 before | Expand all | Expand 10 after
442 442
443 /** 443 /**
444 * Handler for selecting a radio button that will enable the manual 444 * Handler for selecting a radio button that will enable the manual
445 * controls. 445 * controls.
446 * @private 446 * @private
447 * @param {Event} e Click event. 447 * @param {Event} e Click event.
448 */ 448 */
449 enableManualProxy_: function(e) { 449 enableManualProxy_: function(e) {
450 $('advanced-config').hidden = false; 450 $('advanced-config').hidden = false;
451 $('ignored-host-list').redraw(); 451 $('ignored-host-list').redraw();
452 var all_disabled = $('manual-proxy').disabled; 452 var allDisabled = $('manual-proxy').disabled;
453 $('new-host').disabled = all_disabled; 453 $('new-host').disabled = allDisabled;
454 $('remove-host').disabled = all_disabled; 454 $('remove-host').disabled = allDisabled;
455 $('add-host').disabled = all_disabled; 455 $('add-host').disabled = allDisabled;
456 $('proxy-all-protocols').disabled = all_disabled; 456 $('proxy-all-protocols').disabled = allDisabled;
457 $('proxy-host-name').disabled = all_disabled; 457 $('proxy-host-name').disabled = allDisabled;
458 $('proxy-host-port').disabled = all_disabled; 458 $('proxy-host-port').disabled = allDisabled;
459 $('proxy-host-single-name').disabled = all_disabled; 459 $('proxy-host-single-name').disabled = allDisabled;
460 $('proxy-host-single-port').disabled = all_disabled; 460 $('proxy-host-single-port').disabled = allDisabled;
461 $('secure-proxy-host-name').disabled = all_disabled; 461 $('secure-proxy-host-name').disabled = allDisabled;
462 $('secure-proxy-port').disabled = all_disabled; 462 $('secure-proxy-port').disabled = allDisabled;
463 $('ftp-proxy').disabled = all_disabled; 463 $('ftp-proxy').disabled = allDisabled;
464 $('ftp-proxy-port').disabled = all_disabled; 464 $('ftp-proxy-port').disabled = allDisabled;
465 $('socks-host').disabled = all_disabled; 465 $('socks-host').disabled = allDisabled;
466 $('socks-port').disabled = all_disabled; 466 $('socks-port').disabled = allDisabled;
467 $('proxy-config').disabled = true; 467 $('proxy-config').disabled = true;
468 }, 468 },
469 }; 469 };
470 470
471 /** 471 /**
472 * Enables or Disables all buttons that provide operations on the cellular 472 * Enables or Disables all buttons that provide operations on the cellular
473 * network. 473 * network.
474 */ 474 */
475 DetailsInternetPage.changeCellularButtonsState = function(disable) { 475 DetailsInternetPage.changeCellularButtonsState = function(disable) {
476 var buttonsToDisableList = 476 var buttonsToDisableList =
(...skipping 634 matching lines...) Expand 10 before | Expand all | Expand 10 after
1111 1111
1112 // Don't show page name in address bar and in history to prevent people 1112 // Don't show page name in address bar and in history to prevent people
1113 // navigate here by hand and solve issue with page session restore. 1113 // navigate here by hand and solve issue with page session restore.
1114 OptionsPage.showPageByName('detailsInternetPage', false); 1114 OptionsPage.showPageByName('detailsInternetPage', false);
1115 }; 1115 };
1116 1116
1117 return { 1117 return {
1118 DetailsInternetPage: DetailsInternetPage 1118 DetailsInternetPage: DetailsInternetPage
1119 }; 1119 };
1120 }); 1120 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698