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/font_settings_handler.h" | 5 #include "chrome/browser/dom_ui/font_settings_handler.h" |
6 | 6 |
7 #include "app/l10n_util.h" | 7 #include "app/l10n_util.h" |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "base/values.h" | 9 #include "base/values.h" |
10 #include "grit/chromium_strings.h" | 10 #include "grit/chromium_strings.h" |
11 #include "grit/generated_resources.h" | 11 #include "grit/generated_resources.h" |
12 | 12 |
13 FontSettingsHandler::FontSettingsHandler() { | 13 FontSettingsHandler::FontSettingsHandler() { |
14 } | 14 } |
15 | 15 |
16 FontSettingsHandler::~FontSettingsHandler() { | 16 FontSettingsHandler::~FontSettingsHandler() { |
17 } | 17 } |
18 | 18 |
19 void FontSettingsHandler::GetLocalizedValues( | 19 void FontSettingsHandler::GetLocalizedValues( |
20 DictionaryValue* localized_strings) { | 20 DictionaryValue* localized_strings) { |
21 DCHECK(localized_strings); | 21 DCHECK(localized_strings); |
22 | 22 |
23 localized_strings->SetString(L"fontSettingsTitle", | 23 localized_strings->SetString("fontSettingsTitle", |
24 l10n_util::GetString(IDS_FONT_LANGUAGE_SETTING_FONT_TAB_TITLE)); | 24 l10n_util::GetStringUTF16(IDS_FONT_LANGUAGE_SETTING_FONT_TAB_TITLE)); |
25 } | 25 } |
26 | 26 |
OLD | NEW |