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

Unified Diff: ui/aura/window_tree_host.cc

Issue 2681613002: Avoid two targeting phases in aura client-lib and EventProcessor. (Closed)
Patch Set: early return Created 3 years, 10 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_targeter.h ('k') | ui/events/event_processor.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/window_tree_host.cc
diff --git a/ui/aura/window_tree_host.cc b/ui/aura/window_tree_host.cc
index 039ec6daecec959a69aafabba001c85f4b746c5a..e624728fb926b8ddee0e7a5d8da5e4cec74773c1 100644
--- a/ui/aura/window_tree_host.cc
+++ b/ui/aura/window_tree_host.cc
@@ -260,8 +260,6 @@ void WindowTreeHost::CreateCompositor(const cc::FrameSinkId& frame_sink_id) {
window()->Init(ui::LAYER_NOT_DRAWN);
window()->set_host(this);
window()->SetName("RootWindow");
- window()->SetEventTargeter(
- std::unique_ptr<ui::EventTargeter>(new WindowTargeter()));
dispatcher_.reset(new WindowEventDispatcher(this));
}
}
« no previous file with comments | « ui/aura/window_targeter.h ('k') | ui/events/event_processor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698