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

Side by Side Diff: chrome/browser/dom_ui/options/startup_page_manager_handler.cc

Issue 5594006: DOMUI Prefs: Add a subpage for startup page management. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Re-add changes lost during merge to trunk 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "chrome/browser/dom_ui/options/startup_page_manager_handler.h"
6
7 #include "app/l10n_util.h"
8 #include "base/values.h"
9 #include "grit/generated_resources.h"
10 #include "grit/locale_settings.h"
11
12 StartupPageManagerHandler::StartupPageManagerHandler() {
13 }
14
15 StartupPageManagerHandler::~StartupPageManagerHandler() {
16 }
17
18 void StartupPageManagerHandler::GetLocalizedValues(
19 DictionaryValue* localized_strings) {
20 DCHECK(localized_strings);
21
22 localized_strings->SetString("startupAddButton",
23 l10n_util::GetStringUTF16(IDS_OPTIONS_STARTUP_ADD_BUTTON));
24 localized_strings->SetString("startupRemoveButton",
25 l10n_util::GetStringUTF16(IDS_OPTIONS_STARTUP_REMOVE_BUTTON));
26 localized_strings->SetString("startupPageManagerPage",
27 l10n_util::GetStringUTF16(IDS_STARTUP_PAGE_SUBPAGE_TITLE));
28 localized_strings->SetString("startupManagePages",
29 l10n_util::GetStringUTF16(IDS_OPTIONS_STARTUP_MANAGE_BUTTON));
30 }
OLDNEW
« no previous file with comments | « chrome/browser/dom_ui/options/startup_page_manager_handler.h ('k') | chrome/browser/resources/options/browser_options.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698