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

Side by Side Diff: chrome/browser/ui/webui/options2/chromeos/language_pinyin_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_pinyin_handler2.h" 5 #include "chrome/browser/ui/webui/options2/chromeos/language_pinyin_handler.h"
6 6
7 #include "base/values.h" 7 #include "base/values.h"
8 #include "chrome/browser/chromeos/language_preferences.h" 8 #include "chrome/browser/chromeos/language_preferences.h"
9 #include "chrome/browser/ui/webui/options2/chromeos/language_options_util2.h" 9 #include "chrome/browser/ui/webui/options2/chromeos/language_options_util.h"
10 #include "grit/generated_resources.h" 10 #include "grit/generated_resources.h"
11 #include "ui/base/l10n/l10n_util.h" 11 #include "ui/base/l10n/l10n_util.h"
12 12
13 namespace { 13 namespace {
14 const char kI18nPrefix[] = "Pinyin"; 14 const char kI18nPrefix[] = "Pinyin";
15 } // namespace 15 } // namespace
16 16
17 namespace chromeos { 17 namespace chromeos {
18 namespace options2 { 18 namespace options2 {
19 19
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 list_value->Append(option); 60 list_value->Append(option);
61 } 61 }
62 localized_strings->Set( 62 localized_strings->Set(
63 GetTemplateDataPropertyName(language_prefs::kPinyinDoublePinyinSchema, 63 GetTemplateDataPropertyName(language_prefs::kPinyinDoublePinyinSchema,
64 kI18nPrefix), 64 kI18nPrefix),
65 list_value); 65 list_value);
66 } 66 }
67 67
68 } // namespace options2 68 } // namespace options2
69 } // namespace chromeos 69 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698