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

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

Issue 3020021: DOMUI prefs: Add and wire up a stub overlay for adding a startup page. (Closed)
Patch Set: Addresses review comments Created 10 years, 5 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/browser_options.js
diff --git a/chrome/browser/resources/options/browser_options.js b/chrome/browser/resources/options/browser_options.js
index 82b8b40adcbcabd4acdcea31a001299fda9fc5be..9d9d412b32db9d66799ecd4d1ef69cb619899d5a 100644
--- a/chrome/browser/resources/options/browser_options.js
+++ b/chrome/browser/resources/options/browser_options.js
@@ -25,7 +25,7 @@ BrowserOptions.prototype = {
// Wire up buttons.
$('startupAddButton').onclick = function(event) {
- // TODO(stuartmorgan): Spawn add sub-dialog.
+ OptionsPage.showOverlay('addStartupPageOverlay');
};
$('startupRemoveButton').onclick = function(event) {
// TODO(stuartmorgan): Remove selected element(s).
« no previous file with comments | « chrome/browser/resources/options/browser_options.html ('k') | chrome/browser/resources/options/options_page.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698