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

Side by Side Diff: chrome/browser/dom_ui/font_settings_handler.cc

Issue 3037052: Convert browser/dom_ui/f*.cc to not use wstrings/wchar_t*s. (Closed)
Patch Set: changed per thestig Created 10 years, 4 months 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
« no previous file with comments | « chrome/browser/dom_ui/filebrowse_ui.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
OLDNEW
« no previous file with comments | « chrome/browser/dom_ui/filebrowse_ui.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698