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

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: fix test failures on windows. Created 5 years, 5 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/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

Powered by Google App Engine
This is Rietveld 408576698