summaryrefslogtreecommitdiffstats
path: root/content/common/resource_messages.cc
diff options
context:
space:
mode:
authortdanderson@google.com <tdanderson@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2013-05-06 20:16:00 +0000
committertdanderson@google.com <tdanderson@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2013-05-06 20:16:00 +0000
commita01746e1507b0b2256eebced9c7d892b8712a654 (patch)
treebf46dd6b4c4bb54b2bdfc5f4195e17abbc018e3f /content/common/resource_messages.cc
parent8136b62262f65e6053cbf2d0ee45a9fc9a43c051 (diff)
downloadchromium_src-a01746e1507b0b2256eebced9c7d892b8712a654.zip
chromium_src-a01746e1507b0b2256eebced9c7d892b8712a654.tar.gz
chromium_src-a01746e1507b0b2256eebced9c7d892b8712a654.tar.bz2
Notify all visible renderers when the visibility of the mouse cursor changes
Blink side patch: https://codereview.chromium.org/14047016/ The ultimate goal of both patches is to disallow new hover effects from being invoked in web contents when the mouse cursor is not visible to the user (i.e., while touch scrolling). The job of this patch is to communicate the cursor visibility state to all visible renderers using the new IPC InputMsg_CursorVisibilityChange whenever the visibility state changes. Added the new observer type CursorClientObserver. Subscribers (instances of RenderWidgetHostViewAura) are notified whenever the cursor visibility changes, at which point the IPC is sent to the renderer. I have also removed the code in ash_native_cursor_manager.cc that sets the mouse cursor location to the bogus value of (-10000,-10000) when mouse events are disabled; afaik this was originally added as a way to prevent unwanted hover effects in web contents but it does not work in all cases and causes other problems (see crbug.com/174358). BUG=153784,174358 R=jamesr@chromium.org, kenrb@chromium.org, oshima@chromium.org, sky@chromium.org Review URL: https://codereview.chromium.org/14047015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@198519 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/common/resource_messages.cc')
0 files changed, 0 insertions, 0 deletions