| 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 "base/values.h" | |
| 8 #include "grit/generated_resources.h" | |
| 9 #include "grit/locale_settings.h" | |
| 10 #include "ui/base/l10n/l10n_util.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("startupPageManagerPage", | |
| 25 l10n_util::GetStringUTF16(IDS_STARTUP_PAGE_SUBPAGE_TITLE)); | |
| 26 localized_strings->SetString("startupManagePages", | |
| 27 l10n_util::GetStringUTF16(IDS_OPTIONS_STARTUP_MANAGE_BUTTON)); | |
| 28 } | |
| OLD | NEW |