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

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

Issue 2077783002: Make limitations for input.ime.sendKeyEvents API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix chromeos error. Created 4 years, 6 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 | « ui/base/ime/dummy_input_method.cc ('k') | ui/base/ime/input_method.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/ime/ime_input_context_handler_interface.h
diff --git a/ui/base/ime/ime_input_context_handler_interface.h b/ui/base/ime/ime_input_context_handler_interface.h
index b8fbb2b358be9366e128c47a0e0293e387adef0a..17f621fc6bcb601646712f6e746fbe27d46d659e 100644
--- a/ui/base/ime/ime_input_context_handler_interface.h
+++ b/ui/base/ime/ime_input_context_handler_interface.h
@@ -9,6 +9,7 @@
#include <string>
#include "ui/base/ime/composition_text.h"
+#include "ui/base/ime/input_method.h"
#include "ui/base/ime/ui_base_ime_export.h"
#include "ui/events/event.h"
@@ -29,6 +30,9 @@ class UI_BASE_IME_EXPORT IMEInputContextHandlerInterface {
// Called when the engine sends a key event.
virtual void SendKeyEvent(KeyEvent* event) = 0;
+
+ // Gets the input method pointer.
+ virtual InputMethod* GetInputMethod() = 0;
};
} // namespace ui
« no previous file with comments | « ui/base/ime/dummy_input_method.cc ('k') | ui/base/ime/input_method.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698