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

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

Issue 6955010: Remove the Remoting Host component from Chrome. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove an errant include. Created 9 years, 7 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
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
« no previous file with comments | « chrome/browser/resources/options/advanced_options.html ('k') | chrome/browser/service/service_process_control.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698