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

Unified Diff: ui/views/view_targeter_unittest.cc

Issue 619183002: Move check for gesture end events out of RootViewTargeter (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comment removed Created 6 years, 2 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 | « no previous file | ui/views/widget/root_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/view_targeter_unittest.cc
diff --git a/ui/views/view_targeter_unittest.cc b/ui/views/view_targeter_unittest.cc
index b855161d542de582ef14636f21840def1ac67006..16773cb414d0da56197f82bc920610d2a65716d4 100644
--- a/ui/views/view_targeter_unittest.cc
+++ b/ui/views/view_targeter_unittest.cc
@@ -343,8 +343,7 @@ TEST_F(ViewTargeterTest, ViewTargeterForGestureEvents) {
EXPECT_EQ(grandchild, targeter->FindTargetForEvent(root_view, &scroll_begin));
// If no default gesture handler is currently set, GESTURE_END events
- // should never be targeted or re-targeted to any View.
- EXPECT_EQ(NULL, targeter->FindTargetForEvent(root_view, &end));
+ // should never be re-targeted to any View.
EXPECT_EQ(NULL, targeter->FindNextBestTarget(NULL, &end));
EXPECT_EQ(NULL, targeter->FindNextBestTarget(child, &end));
}
« no previous file with comments | « no previous file | ui/views/widget/root_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698