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

Unified Diff: chromeos/ime/extension_ime_util.h

Issue 177093002: [IME] Loads chromeos-xkb extension and add the extension based xkb keyboards in the chrome://settin… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 10 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 446e59e05b19feb031b5839e13b0cf1ffd357391..bdcc896c631f321bd0bc72a315d2183e04c39c2d 100644
--- a/chromeos/ime/extension_ime_util.h
+++ b/chromeos/ime/extension_ime_util.h
@@ -48,6 +48,11 @@ bool CHROMEOS_EXPORT IsComponentExtensionIME(
bool CHROMEOS_EXPORT IsMemberOfExtension(const std::string& input_method_id,
const std::string& extension_id);
+// Returns true if the |input_method_id| is the extension based xkb keyboard,
+// otherwise returns false.
+bool CHROMEOS_EXPORT IsKeyboardLayoutExtension(
+ const std::string& input_method_id);
+
} // namespace extension_ime_util
} // namespace chromeos

Powered by Google App Engine
This is Rietveld 408576698