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

Unified Diff: chromeos/ime/extension_ime_util.h

Issue 12583012: Introduce IsMemberOfExtension function into ExtensionIMEUtil. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressing comments Created 7 years, 9 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
« no previous file with comments | « no previous file | chromeos/ime/extension_ime_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/ime/extension_ime_util.h
diff --git a/chromeos/ime/extension_ime_util.h b/chromeos/ime/extension_ime_util.h
index fd8505c971a55978e0d3b919301fe3f5fcbc5442..f439ec466836d49ec073fb264c08eb2285a6dc08 100644
--- a/chromeos/ime/extension_ime_util.h
+++ b/chromeos/ime/extension_ime_util.h
@@ -21,6 +21,11 @@ std::string CHROMEOS_EXPORT GetInputMethodID(const std::string& extension_id,
// Returns true if the |input_method_id| is extension ime.
bool CHROMEOS_EXPORT IsExtensionIME(const std::string& input_method_id);
+// Returns true if the |input_method| is member of |extension_id|, otherwise
+// return false.
+bool CHROMEOS_EXPORT IsMemberOfExtension(const std::string& input_method_id,
+ const std::string& extension_id);
+
} // extension_ime_util
} // namespace chromeos
« no previous file with comments | « no previous file | chromeos/ime/extension_ime_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698