diff options
author | tkent <tkent@chromium.org> | 2015-12-04 01:25:52 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-12-04 09:26:36 +0000 |
commit | 91db68e8cb2080d1e9e07858efea3f7e198112a9 (patch) | |
tree | 3bb4e20908ccc8290572fc08c49ca40ca1eb3a5f /gpu/command_buffer/service/gles2_cmd_decoder_unittest_extensions.cc | |
parent | 9836863217881492da2ff68a74dd66323d11768a (diff) | |
download | chromium_src-91db68e8cb2080d1e9e07858efea3f7e198112a9.zip chromium_src-91db68e8cb2080d1e9e07858efea3f7e198112a9.tar.gz chromium_src-91db68e8cb2080d1e9e07858efea3f7e198112a9.tar.bz2 |
Do 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
Review URL: https://codereview.chromium.org/1500813004
Cr-Commit-Position: refs/heads/master@{#363174}
Diffstat (limited to 'gpu/command_buffer/service/gles2_cmd_decoder_unittest_extensions.cc')
0 files changed, 0 insertions, 0 deletions