| OLD | NEW |
| 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_chewing_handler.h" | 5 #include "chrome/browser/ui/webui/options/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_util.h" | 14 #include "chrome/browser/ui/webui/options/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 options { | 23 namespace options { |
| 24 | 24 |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 options | 104 } // namespace options |
| 105 } // namespace chromeos | 105 } // namespace chromeos |
| OLD | NEW |