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

Unified Diff: ui/base/ime/ime_engine_handler_interface.h

Issue 1528483002: Add chrome.input.ime.activate and chrome.input.ime.deactivate API (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed Devlin's comments. Created 4 years, 11 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: ui/base/ime/ime_engine_handler_interface.h
diff --git a/ui/base/ime/ime_engine_handler_interface.h b/ui/base/ime/ime_engine_handler_interface.h
index 6290841b3bd529f8df41d1c6c3ba52412d88553f..eb7cefaa911c185a70745bf21f8565e1b35b18ef 100644
--- a/ui/base/ime/ime_engine_handler_interface.h
+++ b/ui/base/ime/ime_engine_handler_interface.h
@@ -270,6 +270,10 @@ class UI_BASE_IME_EXPORT IMEEngineHandlerInterface {
// Hides the input view window (from API call).
virtual void HideInputView() = 0;
+#elif defined(OS_LINUX) || defined(OS_WIN)
+
+ // Get the id of the activated extension
+ virtual std::string GetExtensionId() const = 0;
#endif // defined(OS_CHROMEOS)
protected:
« chrome/common/extensions/api/input_ime.json ('K') | « tools/metrics/histograms/histograms.xml ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698