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

Unified Diff: ash/host/ash_window_tree_host_x11.cc

Issue 1209913002: InputMethod should stop TextInputClient::InsertChar/InsertText calls when the event is stopped prop… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixed test failures. Created 5 years, 6 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: ash/host/ash_window_tree_host_x11.cc
diff --git a/ash/host/ash_window_tree_host_x11.cc b/ash/host/ash_window_tree_host_x11.cc
index 979db19261d8f28c66f464acb82592d91796416a..9ac9d15f7837c30799822d947429840a0c1b5092 100644
--- a/ash/host/ash_window_tree_host_x11.cc
+++ b/ash/host/ash_window_tree_host_x11.cc
@@ -241,7 +241,7 @@ bool AshWindowTreeHostX11::DispatchKeyEventPostIME(const ui::KeyEvent& event) {
input_method_handler()->SetPostIME(true);
ui::EventSource::DeliverEventToProcessor(&event_copy);
input_method_handler()->SetPostIME(false);
- return event_copy.handled();
+ return event_copy.stopped_propagation();
}
ui::EventDispatchDetails AshWindowTreeHostX11::DeliverEventToProcessor(

Powered by Google App Engine
This is Rietveld 408576698