Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(117)

Unified Diff: chromeos/ime/extension_ime_util.h

Issue 312023002: Sync starting language and input method preferences (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase and dzhioev's comments Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..2a158e566755703830dc0b340d83738a40fe24ef 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 engine 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 GetEngineIDByInputMethodID(
Shu Chen 2014/08/07 14:58:51 You can remove this function now. The ToT now alre
michaelpg 2014/10/20 23:47:27 Acknowledged.
+ 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.

Powered by Google App Engine
This is Rietveld 408576698