OLD | NEW |
(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 } |
OLD | NEW |