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

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

Issue 1257603006: Refactoring for the InputMethod & InputMethodDelegate interfaces. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: addressed Sadrul's comment. Created 5 years, 4 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/input_method_chromeos_unittest.cc ('k') | ui/base/ime/input_method_mac.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/ime/input_method_delegate.h
diff --git a/ui/base/ime/input_method_delegate.h b/ui/base/ime/input_method_delegate.h
index eed2724d2f557d91898eaa51780a1a75837db534..7bfa01a242adcca10850d8e21815f7b9cba20d65 100644
--- a/ui/base/ime/input_method_delegate.h
+++ b/ui/base/ime/input_method_delegate.h
@@ -6,6 +6,7 @@
#define UI_BASE_IME_INPUT_METHOD_DELEGATE_H_
#include "ui/base/ime/ui_base_ime_export.h"
+#include "ui/events/event_dispatcher.h"
namespace ui {
@@ -21,7 +22,8 @@ class UI_BASE_IME_EXPORT InputMethodDelegate {
// Dispatch a key event already processed by the input method.
// Returns true if the event was processed.
- virtual bool DispatchKeyEventPostIME(const ui::KeyEvent& key_event) = 0;
+ virtual ui::EventDispatchDetails DispatchKeyEventPostIME(
+ ui::KeyEvent* key_event) = 0;
};
} // namespace internal
« no previous file with comments | « ui/base/ime/input_method_chromeos_unittest.cc ('k') | ui/base/ime/input_method_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698