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

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

Issue 10698140: Remove "2" suffixes from options2 code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix tests Created 8 years, 5 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
csilv 2012/07/11 00:45:49 nit: 2012
Dan Beam 2012/07/11 01:08:35 Done.
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_chewing_handler2.h" 5 #include "chrome/browser/ui/webui/options2/chromeos/language_chewing_handler.h"
6 6
7 #include <limits> 7 #include <limits>
8 8
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/string_number_conversions.h" 10 #include "base/string_number_conversions.h"
11 #include "base/utf_string_conversions.h" 11 #include "base/utf_string_conversions.h"
12 #include "base/values.h" 12 #include "base/values.h"
13 #include "chrome/browser/chromeos/language_preferences.h" 13 #include "chrome/browser/chromeos/language_preferences.h"
14 #include "chrome/browser/ui/webui/options2/chromeos/language_options_util2.h" 14 #include "chrome/browser/ui/webui/options2/chromeos/language_options_util.h"
15 #include "grit/generated_resources.h" 15 #include "grit/generated_resources.h"
16 #include "ui/base/l10n/l10n_util.h" 16 #include "ui/base/l10n/l10n_util.h"
17 17
18 namespace { 18 namespace {
19 const char kI18nPrefix[] = "Chewing_"; 19 const char kI18nPrefix[] = "Chewing_";
20 } // namespace 20 } // namespace
21 21
22 namespace chromeos { 22 namespace chromeos {
23 namespace options2 { 23 namespace options2 {
24 24
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 l10n_util::GetStringUTF16( 96 l10n_util::GetStringUTF16(
97 language_prefs::kChewingHsuSelKeyType.label_message_id)); 97 language_prefs::kChewingHsuSelKeyType.label_message_id));
98 localized_strings->Set( 98 localized_strings->Set(
99 GetTemplateDataPropertyName(language_prefs::kChewingHsuSelKeyType, 99 GetTemplateDataPropertyName(language_prefs::kChewingHsuSelKeyType,
100 kI18nPrefix), 100 kI18nPrefix),
101 CreateMultipleChoiceList(language_prefs::kChewingHsuSelKeyType)); 101 CreateMultipleChoiceList(language_prefs::kChewingHsuSelKeyType));
102 } 102 }
103 103
104 } // namespace options2 104 } // namespace options2
105 } // namespace chromeos 105 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698