Chromium Code Reviews
Descriptionmac: Fix a newly introduced history swiping bug.
Attempting to 2-finger history swipe twice in quick succession would
fail to register the second swipe ~50% of the time. The NSEvent callback with
phase=NSEventPhaseBegan non-deterministically occurs before the event has been
registered as a gesture. This was causing the history_swiper to process the
event as part of the previous gesture.
BUG=138175
TEST=In a single tab, navigate to 5 different sites. Use a trackpad to 2-finger
swipe repeatedly in the same direction. Each swipe should register as a history
swipe, and cause the page to navigate in the appropriate direction. There
should be no jankiness, and the touches should not fail to register.
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=241918
Patch Set 1 #
Total comments: 2
Patch Set 2 : Add a unit test. #Patch Set 3 : typo #Patch Set 4 : Add a forward declaration. #
Messages
Total messages: 8 (0 generated)
|
|||||||||||||||||||||||||||||||||||||