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

Unified Diff: services/ui/public/interfaces/ime/ime.mojom

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: services/ui/public/interfaces/ime/ime.mojom
diff --git a/services/ui/public/interfaces/ime/ime.mojom b/services/ui/public/interfaces/ime/ime.mojom
index 8251ac636656f528560698967060ebffc293b87f..4a69e2350b1fc6f2073d9aa215ff76b39cff2347 100644
--- a/services/ui/public/interfaces/ime/ime.mojom
+++ b/services/ui/public/interfaces/ime/ime.mojom
@@ -184,6 +184,9 @@ interface TextInputClient {
// for more details.
InsertChar(ui.mojom.Event event);
+ // Dispatch a key event skipping IME. Returns true if event was consumed.
+ DispatchKeyEventPostIME(ui.mojom.Event event) => (bool stopped_propagation);
+
// TODO(moshayedi): Add functions corresponding to ui::TextInputClient for:
// - Input context information
// - Document content operations

Powered by Google App Engine
This is Rietveld 408576698