| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "chrome/browser/dom_ui/options/startup_page_manager_handler.h" | 5 #include "chrome/browser/dom_ui/options/startup_page_manager_handler.h" |
| 6 | 6 |
| 7 #include "app/l10n_util.h" | 7 #include "app/l10n_util.h" |
| 8 #include "base/values.h" | 8 #include "base/values.h" |
| 9 #include "grit/generated_resources.h" | 9 #include "grit/generated_resources.h" |
| 10 #include "grit/locale_settings.h" | 10 #include "grit/locale_settings.h" |
| 11 | 11 |
| 12 StartupPageManagerHandler::StartupPageManagerHandler() { | 12 StartupPageManagerHandler::StartupPageManagerHandler() { |
| 13 } | 13 } |
| 14 | 14 |
| 15 StartupPageManagerHandler::~StartupPageManagerHandler() { | 15 StartupPageManagerHandler::~StartupPageManagerHandler() { |
| 16 } | 16 } |
| 17 | 17 |
| 18 void StartupPageManagerHandler::GetLocalizedValues( | 18 void StartupPageManagerHandler::GetLocalizedValues( |
| 19 DictionaryValue* localized_strings) { | 19 DictionaryValue* localized_strings) { |
| 20 DCHECK(localized_strings); | 20 DCHECK(localized_strings); |
| 21 | 21 |
| 22 localized_strings->SetString("startupAddButton", | 22 localized_strings->SetString("startupAddButton", |
| 23 l10n_util::GetStringUTF16(IDS_OPTIONS_STARTUP_ADD_BUTTON)); | 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", | 24 localized_strings->SetString("startupPageManagerPage", |
| 27 l10n_util::GetStringUTF16(IDS_STARTUP_PAGE_SUBPAGE_TITLE)); | 25 l10n_util::GetStringUTF16(IDS_STARTUP_PAGE_SUBPAGE_TITLE)); |
| 28 localized_strings->SetString("startupManagePages", | 26 localized_strings->SetString("startupManagePages", |
| 29 l10n_util::GetStringUTF16(IDS_OPTIONS_STARTUP_MANAGE_BUTTON)); | 27 l10n_util::GetStringUTF16(IDS_OPTIONS_STARTUP_MANAGE_BUTTON)); |
| 30 } | 28 } |
| OLD | NEW |