| Index: chrome/browser/resources/options/advanced_options.js
|
| diff --git a/chrome/browser/resources/options/advanced_options.js b/chrome/browser/resources/options/advanced_options.js
|
| index 394ce65eb14339a25202b66c0ed61f3dc2419915..fa845a86da0b158683cc286aaf0a273fd5cb5afe 100644
|
| --- a/chrome/browser/resources/options/advanced_options.js
|
| +++ b/chrome/browser/resources/options/advanced_options.js
|
| @@ -133,14 +133,6 @@ var OptionsPage = options.OptionsPage;
|
| };
|
| }
|
|
|
| - if ($('remotingSetupButton')) {
|
| - $('remotingSetupButton').onclick = function(event) {
|
| - chrome.send('showRemotingSetupDialog');
|
| - }
|
| - $('remotingStopButton').onclick = function(event) {
|
| - chrome.send('disableRemoting');
|
| - }
|
| - }
|
| }
|
| };
|
|
|
| @@ -270,31 +262,6 @@ var OptionsPage = options.OptionsPage;
|
| }
|
| };
|
|
|
| - AdvancedOptions.SetRemotingStatus = function(enabled, configured, status) {
|
| - if (configured) {
|
| - $('remotingSetupButton').style.display = 'none';
|
| - $('remotingStopButton').style.display = 'inline';
|
| - } else {
|
| - $('remotingSetupButton').style.display = 'inline';
|
| - $('remotingStopButton').style.display = 'none';
|
| - }
|
| -
|
| - $('remotingSetupButton').disabled = !enabled;
|
| - $('remotingStopButton').disabled = !enabled;
|
| - if (!enabled) {
|
| - $('remotingSetupButton').style.display = 'none';
|
| - $('remotingStopButton').style.display = 'none';
|
| - }
|
| -
|
| - $('remotingStatus').textContent = status;
|
| - };
|
| -
|
| - AdvancedOptions.RemoveRemotingSection = function() {
|
| - var proxySectionElm = $('remoting-section');
|
| - if (proxySectionElm)
|
| - proxySectionElm.parentNode.removeChild(proxySectionElm);
|
| - };
|
| -
|
| // Export
|
| return {
|
| AdvancedOptions: AdvancedOptions
|
|
|