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

Unified Diff: ui/events/gestures/gesture_provider_aura_unittest.cc

Issue 1987343002: Drag and drop cleans up touch sequences from the source window. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2704
Patch Set: Created 4 years, 7 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/events/gestures/gesture_provider_aura.cc ('k') | ui/events/gestures/gesture_recognizer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/gestures/gesture_provider_aura_unittest.cc
diff --git a/ui/events/gestures/gesture_provider_aura_unittest.cc b/ui/events/gestures/gesture_provider_aura_unittest.cc
index 74f21832795d70d5571cab8b1365f9dfb31c87da..bf678bce1eec877608a95e5e2cc8d528ba5ddd30 100644
--- a/ui/events/gestures/gesture_provider_aura_unittest.cc
+++ b/ui/events/gestures/gesture_provider_aura_unittest.cc
@@ -42,11 +42,7 @@ TEST_F(GestureProviderAuraTest, IgnoresExtraPressEvents) {
time += base::TimeDelta::FromMilliseconds(10);
TouchEvent press2(ET_TOUCH_PRESSED, gfx::Point(30, 40), 0, time);
- // TODO(tdresser): this redundant press with same id should be
- // ignored; however, there is at least one case where we need to
- // allow a touch press from a currently used touch id. See
- // crbug.com/373125 for details.
- EXPECT_TRUE(provider()->OnTouchEvent(&press2));
+ EXPECT_FALSE(provider()->OnTouchEvent(&press2));
}
TEST_F(GestureProviderAuraTest, IgnoresExtraMoveOrReleaseEvents) {
« no previous file with comments | « ui/events/gestures/gesture_provider_aura.cc ('k') | ui/events/gestures/gesture_recognizer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698