| Index: chromeos/ime/extension_ime_util.h
|
| diff --git a/chromeos/ime/extension_ime_util.h b/chromeos/ime/extension_ime_util.h
|
| index e8a3ba1674e50c50b0fd80a5d5c851aa9bc1937f..0155d04a7ee5a229eb85943ed593a2bdd18916ab 100644
|
| --- a/chromeos/ime/extension_ime_util.h
|
| +++ b/chromeos/ime/extension_ime_util.h
|
| @@ -81,6 +81,12 @@ bool CHROMEOS_EXPORT IsMemberOfExtension(const std::string& input_method_id,
|
| bool CHROMEOS_EXPORT IsKeyboardLayoutExtension(
|
| const std::string& input_method_id);
|
|
|
| +// Returns input method component id from the extension-based InputMethodID
|
| +// for component IME extensions. This function does not check that
|
| +// |input_method_id| is installed.
|
| +std::string CHROMEOS_EXPORT
|
| + GetComponentIDByInputMethodID(const std::string& input_method_id);
|
| +
|
| // Gets legacy xkb id (e.g. xkb:us::eng) from the new extension based xkb id
|
| // (e.g. _comp_ime_...xkb:us::eng). If the given id is not prefixed with
|
| // 'xkb:', just return the same as the given id.
|
|
|