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

Side by Side Diff: chrome/browser/ui/webui/options2/chromeos/language_mozc_handler.cc

Issue 10857071: Options: Rename options2 namespace to options. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Review fix. Created 8 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/ui/webui/options2/chromeos/language_mozc_handler.h" 5 #include "chrome/browser/ui/webui/options2/chromeos/language_mozc_handler.h"
6 6
7 #include "base/string_number_conversions.h" 7 #include "base/string_number_conversions.h"
8 #include "base/utf_string_conversions.h" 8 #include "base/utf_string_conversions.h"
9 #include "base/values.h" 9 #include "base/values.h"
10 #include "chrome/browser/chromeos/language_preferences.h" 10 #include "chrome/browser/chromeos/language_preferences.h"
11 #include "chrome/browser/ui/webui/options2/chromeos/language_options_util.h" 11 #include "chrome/browser/ui/webui/options2/chromeos/language_options_util.h"
12 #include "grit/generated_resources.h" 12 #include "grit/generated_resources.h"
13 #include "ui/base/l10n/l10n_util.h" 13 #include "ui/base/l10n/l10n_util.h"
14 14
15 namespace { 15 namespace {
16 const char kI18nPrefix[] = "mozc_"; 16 const char kI18nPrefix[] = "mozc_";
17 } // namespace 17 } // namespace
18 18
19 namespace chromeos { 19 namespace chromeos {
20 namespace options2 { 20 namespace options {
21 21
22 LanguageMozcHandler::LanguageMozcHandler() { 22 LanguageMozcHandler::LanguageMozcHandler() {
23 } 23 }
24 24
25 LanguageMozcHandler::~LanguageMozcHandler() { 25 LanguageMozcHandler::~LanguageMozcHandler() {
26 } 26 }
27 27
28 void LanguageMozcHandler::GetLocalizedValues( 28 void LanguageMozcHandler::GetLocalizedValues(
29 DictionaryValue* localized_strings) { 29 DictionaryValue* localized_strings) {
30 DCHECK(localized_strings); 30 DCHECK(localized_strings);
(...skipping 30 matching lines...) Expand all
61 ListValue* option = new ListValue(); 61 ListValue* option = new ListValue();
62 option->Append(CreateValue(j)); 62 option->Append(CreateValue(j));
63 option->Append(CreateValue(j)); 63 option->Append(CreateValue(j));
64 list_value->Append(option); 64 list_value->Append(option);
65 } 65 }
66 localized_strings->Set(GetTemplateDataPropertyName(preference, kI18nPrefix), 66 localized_strings->Set(GetTemplateDataPropertyName(preference, kI18nPrefix),
67 list_value); 67 list_value);
68 } 68 }
69 } 69 }
70 70
71 } // namespace options2 71 } // namespace options
72 } // namespace chromeos 72 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698