Chromium Code Reviews
DescriptionAdd heuristics to limit showing of new backspace UI bubble.
This restricts the bubble to showing 5 times, and only showing when users
trigger backspace twice within three seconds (which likely indicates "hey, why
isn't the browser going back").
The bubble is also immediately hidden (by fading out) if the user successfully
navigates back or forward (by any means) while it's showing.
BUG=610039, 615760
TEST=New "press alt-left to go back" UI should not appear when pressing backspace (to attempt to go back) unless backspace is pressed twice within three seconds. After the UI is shown 5 times, it should not appear again.
TBR=phajdan.jr
Committed: https://crrev.com/36aa72944195f579454c1d3abea5045219fd685a
Cr-Commit-Position: refs/heads/master@{#399114}
Patch Set 1 #
Total comments: 6
Patch Set 2 : Fix Mac compile #
Total comments: 17
Patch Set 3 : Review comments #Messages
Total messages: 21 (10 generated)
|