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

Unified Diff: ash/host/ash_window_tree_host_x11.cc

Issue 2712963003: mustash: Use ui::chromeos::EventRewriter in mus (Closed)
Patch Set: Fix build issues. Created 3 years, 9 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
« no previous file with comments | « ash/host/ash_window_tree_host_unified.cc ('k') | ash/wm/window_manager_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 6010b03c8bedce963b1bca96eea05a206aecc868..6733d78f82ab8d4f494435ff6685c7c73c2b342e 100644
--- a/ash/host/ash_window_tree_host_x11.cc
+++ b/ash/host/ash_window_tree_host_x11.cc
@@ -210,14 +210,13 @@ bool AshWindowTreeHostX11::CanDispatchEvent(const ui::PlatformEvent& event) {
void AshWindowTreeHostX11::TranslateAndDispatchLocatedEvent(
ui::LocatedEvent* event) {
TranslateLocatedEvent(event);
- SendEventToProcessor(event);
+ SendEventToSink(event);
}
ui::EventDispatchDetails AshWindowTreeHostX11::DispatchKeyEventPostIME(
ui::KeyEvent* event) {
input_method_handler()->SetPostIME(true);
- ui::EventDispatchDetails details =
- event_processor()->OnEventFromSource(event);
+ ui::EventDispatchDetails details = event_sink()->OnEventFromSource(event);
if (!details.dispatcher_destroyed)
input_method_handler()->SetPostIME(false);
return details;
« no previous file with comments | « ash/host/ash_window_tree_host_unified.cc ('k') | ash/wm/window_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698