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

Unified Diff: ui/views/widget/root_view.cc

Issue 2681613002: Avoid two targeting phases in aura client-lib and EventProcessor. (Closed)
Patch Set: test and doc 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
« ui/events/event_processor.cc ('K') | « ui/views/widget/root_view.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/widget/root_view.cc
diff --git a/ui/views/widget/root_view.cc b/ui/views/widget/root_view.cc
index d2455488a7870c1f7a8cf6b19bb97bc009ccb303..a9926a687c85156f522c08e1707e821f85c817e1 100644
--- a/ui/views/widget/root_view.cc
+++ b/ui/views/widget/root_view.cc
@@ -252,10 +252,14 @@ View* RootView::GetFocusTraversableParentView() {
////////////////////////////////////////////////////////////////////////////////
// RootView, ui::EventProcessor overrides:
-ui::EventTarget* RootView::GetRootTarget() {
+ui::EventTarget* RootView::GetRootForEvent(ui::Event* event) {
return this;
}
+ui::EventTargeter* RootView::GetDefaultEventTargeter() {
+ return this->GetEventTargeter();
+}
+
void RootView::OnEventProcessingStarted(ui::Event* event) {
if (!event->IsGestureEvent())
return;
« ui/events/event_processor.cc ('K') | « ui/views/widget/root_view.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698