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

Unified Diff: ui/aura/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 | « ui/aura/window_tree_host_platform.cc ('k') | ui/events/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/window_tree_host_x11.cc
diff --git a/ui/aura/window_tree_host_x11.cc b/ui/aura/window_tree_host_x11.cc
index b5a095fc8c9410c8d342691fccad1cb06681d598..efee254eddd6b8ec9204a0a0f83fae2b64745c5f 100644
--- a/ui/aura/window_tree_host_x11.cc
+++ b/ui/aura/window_tree_host_x11.cc
@@ -246,7 +246,7 @@ uint32_t WindowTreeHostX11::DispatchEvent(const ui::PlatformEvent& event) {
case ui::ET_KEY_PRESSED:
case ui::ET_KEY_RELEASED: {
ui::KeyEvent keydown_event(xev);
- SendEventToProcessor(&keydown_event);
+ SendEventToSink(&keydown_event);
break;
}
case ui::ET_MOUSE_MOVED:
@@ -535,13 +535,13 @@ void WindowTreeHostX11::DispatchXI2Event(const base::NativeEvent& event) {
case ui::ET_SCROLL_FLING_CANCEL:
case ui::ET_SCROLL: {
ui::ScrollEvent scrollev(xev);
- SendEventToProcessor(&scrollev);
+ SendEventToSink(&scrollev);
break;
}
case ui::ET_KEY_PRESSED:
case ui::ET_KEY_RELEASED: {
ui::KeyEvent key_event(xev);
- SendEventToProcessor(&key_event);
+ SendEventToSink(&key_event);
break;
}
case ui::ET_UMA_DATA:
@@ -565,7 +565,7 @@ void WindowTreeHostX11::OnConfigureNotify() {}
void WindowTreeHostX11::TranslateAndDispatchLocatedEvent(
ui::LocatedEvent* event) {
- SendEventToProcessor(event);
+ SendEventToSink(event);
}
// static
« no previous file with comments | « ui/aura/window_tree_host_platform.cc ('k') | ui/events/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698