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 7d31abf4bb05c0a60cfb95ed2f7c621bf3a2f022..8b3b7d7e1e4d8c46b840e8b90940bdcd99423c67 100644 |
--- a/chrome/browser/chromeos/input_method/input_method_util.h |
+++ b/chrome/browser/chromeos/input_method/input_method_util.h |
@@ -57,6 +57,8 @@ class InputMethodUtil { |
const InputMethodDescriptor& input_method) const; |
base::string16 GetInputMethodMediumName( |
const InputMethodDescriptor& input_method) const; |
+ base::string16 GetInputMethodLongNameStripped( |
+ const InputMethodDescriptor& input_method) const; |
base::string16 GetInputMethodLongName( |
const InputMethodDescriptor& input_method) const; |
@@ -177,6 +179,12 @@ class InputMethodUtil { |
bool TranslateStringInternal(const std::string& english_string, |
base::string16 *out_string) const; |
+ // Get long name of the given input method. |short_name| is to specify whether |
+ // to get the long name for OOBE screen, because OOBE screen displays shorter |
+ // name (e.g. 'US' instead of 'US keyboard'). |
+ base::string16 GetInputMethodLongNameInternal( |
+ const InputMethodDescriptor& input_method, bool short_name) const; |
+ |
// Map from language code to associated input method IDs, etc. |
typedef std::multimap<std::string, std::string> LanguageCodeToIdsMap; |