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

Unified Diff: chrome/browser/resources/options.html

Issue 5594006: DOMUI Prefs: Add a subpage for startup page management. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removed empty handler methods Created 10 years 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.html
diff --git a/chrome/browser/resources/options.html b/chrome/browser/resources/options.html
index 92b3b12456e9f0643de6f3a3d7e2844b3c5016a0..e2c55e50d2566322a2a7e09f084c956ef62ac8f2 100644
--- a/chrome/browser/resources/options.html
+++ b/chrome/browser/resources/options.html
@@ -29,6 +29,7 @@
<link rel="stylesheet" href="options/import_data_overlay.css">
<link rel="stylesheet" href="options/search_engine_manager.css">
<link rel="stylesheet" href="options/search_page.css">
+<link rel="stylesheet" href="options/startup_page_manager.css">
<link rel="stylesheet" href="options/subpages_tab_controls.css">
<if expr="pp_ifdef('chromeos')">
<link rel="stylesheet" href="options/about_page.css">
@@ -125,6 +126,7 @@
<script src="options/search_engine_manager.js"></script>
<script src="options/search_engine_manager_engine_list.js"></script>
<script src="options/search_page.js"></script>
+<script src="options/startup_page_manager.js"></script>
<script src="options/sync_options.js"></script>
<script>
@@ -148,6 +150,7 @@ var PersonalOptions = options.PersonalOptions;
var Preferences = options.Preferences;
var SearchEngineManager = options.SearchEngineManager;
var SearchPage = options.SearchPage;
+var StartupPageManager = options.StartupPageManager;
var ProxyOptions = options.ProxyOptions;
var SyncOptions = options.SyncOptions;
@@ -168,6 +171,8 @@ function load() {
OptionsPage.register(BrowserOptions.getInstance());
OptionsPage.registerSubPage(SearchEngineManager.getInstance(),
BrowserOptions.getInstance());
+ OptionsPage.registerSubPage(StartupPageManager.getInstance(),
+ BrowserOptions.getInstance());
OptionsPage.register(PersonalOptions.getInstance());
OptionsPage.registerSubPage(AutoFillOptions.getInstance(),
PersonalOptions.getInstance());
@@ -358,6 +363,7 @@ window.onpopstate = function(e) {
<include src="options/font_settings.html">
<include src="options/passwords_exceptions.html">
<include src="options/search_engine_manager.html">
+ <include src="options/startup_page_manager.html">
<include src="options/sync_options.html">
</div>
</div>

Powered by Google App Engine
This is Rietveld 408576698