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

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

Issue 1801363005: Fix bug of input.ime.onKeyEvent on Linux. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 | ui/base/ime/input_method_auralinux.cc » ('j') | ui/base/ime/input_method_auralinux.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/ime/input_method_auralinux.h
diff --git a/ui/base/ime/input_method_auralinux.h b/ui/base/ime/input_method_auralinux.h
index 7436ceab801755bfe4ca657df00fe1dcfb70f4c6..244858e78dfed025464b1b8c0107d5ee9350005d 100644
--- a/ui/base/ime/input_method_auralinux.h
+++ b/ui/base/ime/input_method_auralinux.h
@@ -57,9 +57,17 @@ class UI_BASE_IME_EXPORT InputMethodAuraLinux
void UpdateContextFocusState();
void ResetContext();
- // Callback function for IMEEngineHandlerInterface::ProcessKeyEvent.
+ // Processes the key event after passing to extension.
void ProcessKeyEventDone(ui::KeyEvent* event, bool filtered, bool is_handled);
+ // Callback function for IMEEngineHandlerInterface::ProcessKeyEvent.
+ void ProcessKeyEventByEngineDone(ui::KeyEvent* event,
Shu Chen 2016/03/17 06:37:08 please add comment why this method is necessary.
Azure Wei 2016/03/17 07:02:37 Done.
+ bool filtered,
+ bool composition_changed,
+ const ui::CompositionText& composition,
+ const base::string16& result_text,
+ bool is_handled);
+
scoped_ptr<LinuxInputMethodContext> context_;
scoped_ptr<LinuxInputMethodContext> context_simple_;
« no previous file with comments | « no previous file | ui/base/ime/input_method_auralinux.cc » ('j') | ui/base/ime/input_method_auralinux.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698