summaryrefslogtreecommitdiffstats
path: root/content/browser/renderer_host/test_render_view_host.cc
diff options
context:
space:
mode:
authorasvitkine@chromium.org <asvitkine@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-04 15:04:39 +0000
committerasvitkine@chromium.org <asvitkine@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-04 15:04:39 +0000
commit837938975c630c2cd6f6c47df227589985cb2bea (patch)
tree60e93cdd16b43667135302ed44a631b6ac827576 /content/browser/renderer_host/test_render_view_host.cc
parent7ad2295c2db5b7001e869a3ec9ed62a7086aaea8 (diff)
downloadchromium_src-837938975c630c2cd6f6c47df227589985cb2bea.zip
chromium_src-837938975c630c2cd6f6c47df227589985cb2bea.tar.gz
chromium_src-837938975c630c2cd6f6c47df227589985cb2bea.tar.bz2
[Mac] Don't route mouse events to the render view host if window is not frontmost.
This change makes Mac Chrome match the behaviour of other browsers on the Mac (tested Firefox and Safari) as well as other Mac applications such as iTunes. Additionally, this fixes a number of bugs, including: - Mouse cursor changing when hovering over web content in background windows yet clicks in this case would be eaten to bring the window to the front. - Mouse cursor NOT changing when hovering web content in background windows when Chrome is not the active application - resulting in inconsistent behaviour. - http://crbug.com/77928 - resulting in wrong cursor persisting after moving out of the web content area of a background window. Also, change related unit tests to make the test window the keyWindow so that the tests continue to pass. BUG=77928 TEST=Open two windows, A and B. Open a webpage in A, then make B the foreground window. Now, hover the cursor over web content in A. The cursor should not change and mouse-over actions should not occur. Review URL: http://codereview.chromium.org/6689016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80312 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/renderer_host/test_render_view_host.cc')
0 files changed, 0 insertions, 0 deletions