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

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

Issue 2957173004: Make DispatchKeyEventPostIME() asynchronous.
Patch Set: cleanup. Created 3 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 7bfa01a242adcca10850d8e21815f7b9cba20d65..0617afa664949d93f47bc06caacffe620d1a202e 100644
--- a/ui/base/ime/input_method_delegate.h
+++ b/ui/base/ime/input_method_delegate.h
@@ -24,6 +24,10 @@ class UI_BASE_IME_EXPORT InputMethodDelegate {
// Returns true if the event was processed.
virtual ui::EventDispatchDetails DispatchKeyEventPostIME(
ui::KeyEvent* key_event) = 0;
+
+ virtual ui::EventDispatchDetails DispatchKeyEventPostIME(
Shu Chen 2017/07/06 03:38:42 Anything makes you decide not to keep InputMethodD
+ ui::KeyEvent* key_event,
+ std::unique_ptr<base::Callback<void(bool)>> ack_callback);
};
} // namespace internal

Powered by Google App Engine
This is Rietveld 408576698