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

Side by Side Diff: chrome/browser/chromeos/dom_ui/language_hangul_options_handler.cc

Issue 3058027: Add #include utf_string_conversions.h to all files that use ASCIIToWide and... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: 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 | Annotate | Revision Log
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/chromeos/dom_ui/language_hangul_options_handler.h" 5 #include "chrome/browser/chromeos/dom_ui/language_hangul_options_handler.h"
6 6
7 #include "app/l10n_util.h" 7 #include "app/l10n_util.h"
8 #include "base/utf_string_conversions.h"
8 #include "base/values.h" 9 #include "base/values.h"
9 #include "chrome/browser/chromeos/language_preferences.h" 10 #include "chrome/browser/chromeos/language_preferences.h"
10 #include "grit/generated_resources.h" 11 #include "grit/generated_resources.h"
11 12
12 LanguageHangulOptionsHandler::LanguageHangulOptionsHandler() { 13 LanguageHangulOptionsHandler::LanguageHangulOptionsHandler() {
13 } 14 }
14 15
15 LanguageHangulOptionsHandler::~LanguageHangulOptionsHandler() { 16 LanguageHangulOptionsHandler::~LanguageHangulOptionsHandler() {
16 } 17 }
17 18
(...skipping 12 matching lines...) Expand all
30 for (size_t i = 0; i < arraysize(chromeos::kHangulKeyboardNameIDPairs); ++i) { 31 for (size_t i = 0; i < arraysize(chromeos::kHangulKeyboardNameIDPairs); ++i) {
31 ListValue* option = new ListValue(); 32 ListValue* option = new ListValue();
32 option->Append(Value::CreateStringValue(ASCIIToWide( 33 option->Append(Value::CreateStringValue(ASCIIToWide(
33 chromeos::kHangulKeyboardNameIDPairs[i].keyboard_id))); 34 chromeos::kHangulKeyboardNameIDPairs[i].keyboard_id)));
34 option->Append(Value::CreateStringValue(l10n_util::GetString( 35 option->Append(Value::CreateStringValue(l10n_util::GetString(
35 chromeos::kHangulKeyboardNameIDPairs[i].message_id))); 36 chromeos::kHangulKeyboardNameIDPairs[i].message_id)));
36 keyboard_layout_list->Append(option); 37 keyboard_layout_list->Append(option);
37 } 38 }
38 return keyboard_layout_list; 39 return keyboard_layout_list;
39 } 40 }
OLDNEW
« no previous file with comments | « chrome/browser/character_encoding.cc ('k') | chrome/browser/chromeos/dom_ui/language_options_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698