Chromium Code Reviews| Index: chromeos/ime/extension_ime_util.h |
| diff --git a/chromeos/ime/extension_ime_util.h b/chromeos/ime/extension_ime_util.h |
| index a8e293366ef935cd347eb1636cca03f5efdeb8f7..21a31c1046d9479209b31ea19037e516e9ad3a26 100644 |
| --- a/chromeos/ime/extension_ime_util.h |
| +++ b/chromeos/ime/extension_ime_util.h |
| @@ -81,6 +81,11 @@ bool CHROMEOS_EXPORT IsMemberOfExtension(const std::string& input_method_id, |
| bool CHROMEOS_EXPORT IsKeyboardLayoutExtension( |
| const std::string& input_method_id); |
| +// Returns legacy engine id from the extension-based InputMethodID. This |
|
Shu Chen
2014/07/02 02:29:04
s/legacy//
and mention only support component IME
michaelpg
2014/07/10 00:46:01
Done.
|
| +// function does not check that |input_method_id| is installed. |
| +std::string CHROMEOS_EXPORT GetEngineIDByInputMethodID( |
| + 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. |