Small optimization for <webview> tooltips.
commite80cfc998098de11ac8cb637eabc0c4f19041a35
authorpaulmeyer <paulmeyer@chromium.org>
Fri, 10 Oct 2014 03:37:43 +0000 (9 20:37 -0700)
committerCommit bot <commit-bot@chromium.org>
Fri, 10 Oct 2014 03:38:00 +0000 (10 03:38 +0000)
tree38989018a7498586d32f299a1c8407a4130b715d
parentb6de30aee3cadefe7f6ec813d207c02ac0d03fc9
Small optimization for <webview> tooltips.

The IPC that is used to send tooltip text to BrowserPlugin was sent on every mouse movement, and unnecessarily sent the same text repeatedly. This is now checked and only new text is actually sent.

Review URL: https://codereview.chromium.org/638253004

Cr-Commit-Position: refs/heads/master@{#299054}
content/browser/browser_plugin/browser_plugin_guest.cc
content/browser/browser_plugin/browser_plugin_guest.h