Re-landing of r30726, which was reverted as a possible cause of chromeos buildbot failures
Handle GTK enter and leave notification events and pass them to WebKit as mouse move events. This prevents an HTML widget from staying in the mouseover state when the cursor leaves the window. Add a new ui test that checks the specific case that was broken by warping the mouse pointer inside and outside the content area. BUG=24660 TEST=ui_tests patch by Dominic Mazzoni <dmazzoni [at] google> original review: http://codereview.chromium.org/274010/show git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30771 0039d316-1c4b-4281-b951-d872f2087c98
Showing
- chrome/browser/automation/automation_provider.cc 8 additions, 0 deletionschrome/browser/automation/automation_provider.cc
- chrome/browser/automation/automation_provider.h 3 additions, 0 deletionschrome/browser/automation/automation_provider.h
- chrome/browser/renderer_host/render_widget_host_view_gtk.cc 17 additions, 1 deletionchrome/browser/renderer_host/render_widget_host_view_gtk.cc
- chrome/chrome.gyp 1 addition, 0 deletionschrome/chrome.gyp
- chrome/test/automation/automation_messages_internal.h 6 additions, 0 deletionschrome/test/automation/automation_messages_internal.h
- chrome/test/automation/window_proxy.cc 7 additions, 0 deletionschrome/test/automation/window_proxy.cc
- chrome/test/automation/window_proxy.h 4 additions, 0 deletionschrome/test/automation/window_proxy.h
- chrome/test/data/mouseleave.html 42 additions, 0 deletionschrome/test/data/mouseleave.html
- chrome/test/ui/mouseleave_uitest.cc 99 additions, 0 deletionschrome/test/ui/mouseleave_uitest.cc
- webkit/api/public/gtk/WebInputEventFactory.h 2 additions, 0 deletionswebkit/api/public/gtk/WebInputEventFactory.h
- webkit/api/src/gtk/WebInputEventFactory.cpp 36 additions, 0 deletionswebkit/api/src/gtk/WebInputEventFactory.cpp
chrome/test/data/mouseleave.html
0 → 100644
chrome/test/ui/mouseleave_uitest.cc
0 → 100644
Please register or sign in to comment