Chromium Code Reviews| Index: chrome/browser/chromeos/input_method/input_method_util.h |
| diff --git a/chrome/browser/chromeos/input_method/input_method_util.h b/chrome/browser/chromeos/input_method/input_method_util.h |
| index 04db1905f377e4cc9b79b0fb91ca9e25dd4bdc91..78883aeaaf42a2163df153dadfa823f248776cab 100644 |
| --- a/chrome/browser/chromeos/input_method/input_method_util.h |
| +++ b/chrome/browser/chromeos/input_method/input_method_util.h |
| @@ -96,10 +96,17 @@ std::string GetInputMethodDisplayNameFromId(const std::string& input_method_id); |
| // Converts a language code to a language display name, using the |
| // current application locale. MaybeRewriteLanguageName() is called |
| // internally. |
| -// Examples: "fr" => "French" |
| +// Examples: "fi" => "French" |
|
Yusuke Sato
2010/08/05 08:52:36
French -> Finnish
satorux1
2010/08/05 08:54:29
Done.
|
| // "en-US" => "English (United States)" |
| std::wstring GetLanguageDisplayNameFromCode(const std::string& language_code); |
| +// Converts a language code to a language native display name. |
| +// MaybeRewriteLanguageName() is called internally. |
| +// Examples: "fi" => "suomi" (rather than Finnish) |
| +// "en-US" => "English (United States)" |
| +std::wstring GetLanguageNativeDisplayNameFromCode( |
| + const std::string& language_code); |
| + |
| // Sorts the given language codes by their corresponding language names, |
| // using the unicode string comparator. Uses unstable sorting. |
| void SortLanguageCodesByNames(std::vector<std::string>* language_codes); |