| Index: chrome/browser/resources/options/browser_options.js
|
| diff --git a/chrome/browser/resources/options/browser_options.js b/chrome/browser/resources/options/browser_options.js
|
| index 929c4259bf33d88e74abb060cc8ba4e4981b37fd..6df0cff3b4c12fdec3733ff1ea50a62d73210f2b 100644
|
| --- a/chrome/browser/resources/options/browser_options.js
|
| +++ b/chrome/browser/resources/options/browser_options.js
|
| @@ -436,8 +436,6 @@ cr.define('options', function() {
|
| $('set-as-default-browser').onclick = function(event) {
|
| chrome.send('becomeDefaultBrowser');
|
| };
|
| -
|
| - $('auto-launch').onclick = this.handleAutoLaunchChanged_;
|
| }
|
|
|
| // Privacy section.
|
| @@ -1326,16 +1324,6 @@ cr.define('options', function() {
|
| return url.replace(/^http:\/\//, '');
|
| },
|
|
|
| - /**
|
| - * Shows the autoLaunch preference and initializes its checkbox value.
|
| - * @param {boolean} enabled Whether autolaunch is enabled or or not.
|
| - * @private
|
| - */
|
| - updateAutoLaunchState_: function(enabled) {
|
| - $('auto-launch-option').hidden = false;
|
| - $('auto-launch').checked = enabled;
|
| - },
|
| -
|
| /**
|
| * Called when the value of the download.default_directory preference
|
| * changes.
|
| @@ -1427,14 +1415,6 @@ cr.define('options', function() {
|
| }
|
| },
|
|
|
| - /**
|
| - * Sets or clear whether Chrome should Auto-launch on computer startup.
|
| - * @private
|
| - */
|
| - handleAutoLaunchChanged_: function() {
|
| - chrome.send('toggleAutoLaunch', [$('auto-launch').checked]);
|
| - },
|
| -
|
| /**
|
| * Get the selected profile item from the profile list. This also works
|
| * correctly if the list is not displayed.
|
|
|