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

Unified Diff: ash/host/ash_window_tree_host_unified.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_unified.cc
diff --git a/ash/host/ash_window_tree_host_unified.cc b/ash/host/ash_window_tree_host_unified.cc
index 4b98f729520bd03e4e5169d226364a55b3fd1e2d..fcdf6b75d3263ff018101a66ec87a00f149cf600 100644
--- a/ash/host/ash_window_tree_host_unified.cc
+++ b/ash/host/ash_window_tree_host_unified.cc
@@ -188,7 +188,7 @@ bool AshWindowTreeHostUnified::DispatchKeyEventPostIME(
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 AshWindowTreeHostUnified::DeliverEventToProcessor(

Powered by Google App Engine
This is Rietveld 408576698