DescriptionDo not show a tooltip same as the previous one.
If a tooltip is closed by a keyboard event and the mouse cursor was
not moved, the same tooltip was shown again after some delay only on
Windows. Blink receives native mousemove events repeatedly on Windows
even if the mouse cursor is not moved.
ChromeClient saves the last tooltip string and the last mouse position, and
do not call virtual setToolTip() if they are not changed. This CL not only
fixes the bug, but also reduces unnecessary IPC messages for tooltip.
BUG=557660
TEST=automated
Committed: https://crrev.com/91db68e8cb2080d1e9e07858efea3f7e198112a9
Cr-Commit-Position: refs/heads/master@{#363174}
Patch Set 1 #
Messages
Total messages: 10 (5 generated)
|