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

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

Issue 1432033003: Delete the auto-launch trial. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: +line break Created 5 years, 1 month 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/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.
« no previous file with comments | « chrome/browser/resources/options/browser_options.html ('k') | chrome/browser/ui/startup/autolaunch_prompt.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698