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

Unified Diff: ui/aura/mus/window_tree_client.cc

Issue 2712963003: mustash: Use ui::chromeos::EventRewriter in mus (Closed)
Patch Set: Rebase and 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
Index: ui/aura/mus/window_tree_client.cc
diff --git a/ui/aura/mus/window_tree_client.cc b/ui/aura/mus/window_tree_client.cc
index 9b93c51aa52c4206e39da9f44e89475a51a30b5f..33792507dd9bb7bba0257734354ac6f0422b5f39 100644
--- a/ui/aura/mus/window_tree_client.cc
+++ b/ui/aura/mus/window_tree_client.cc
@@ -161,11 +161,11 @@ void ConvertEventLocationToDip(int64_t display_id, ui::LocatedEvent* event) {
}
// Set the |target| to be the target window of this |event| and send it to
-// the EventProcessor.
+// the EventSink.
void DispatchEventToTarget(ui::Event* event, WindowMus* target) {
ui::Event::DispatcherApi dispatch_helper(event);
dispatch_helper.set_target(target->GetWindow());
- GetWindowTreeHostMus(target)->SendEventToProcessor(event);
+ GetWindowTreeHostMus(target)->SendEventToSink(event);
}
} // namespace

Powered by Google App Engine
This is Rietveld 408576698