summaryrefslogtreecommitdiffstats
path: root/chrome/test/automation/automation_messages_internal.h
diff options
context:
space:
mode:
authorestade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-02 23:51:35 +0000
committerestade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-02 23:51:35 +0000
commit60507b1cedf0d19b1a5d9034abb2eb25a2432439 (patch)
tree582b93535b8622b49a98ad3cd9920277f8412c79 /chrome/test/automation/automation_messages_internal.h
parent9f5e42c18b9d6f20338d90d6330111f2454bd986 (diff)
downloadchromium_src-60507b1cedf0d19b1a5d9034abb2eb25a2432439.zip
chromium_src-60507b1cedf0d19b1a5d9034abb2eb25a2432439.tar.gz
chromium_src-60507b1cedf0d19b1a5d9034abb2eb25a2432439.tar.bz2
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
Diffstat (limited to 'chrome/test/automation/automation_messages_internal.h')
-rw-r--r--chrome/test/automation/automation_messages_internal.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/chrome/test/automation/automation_messages_internal.h b/chrome/test/automation/automation_messages_internal.h
index e7cd47f..e8f215c 100644
--- a/chrome/test/automation/automation_messages_internal.h
+++ b/chrome/test/automation/automation_messages_internal.h
@@ -1155,5 +1155,11 @@ IPC_BEGIN_MESSAGES(Automation)
int /* Type (Browser::Type) */,
bool /* show */ )
+ // This message requests that the mouse be moved to this location, in
+ // window coordinate space.
+ // Request:
+ // int - the handle of the window that's the context for this click
+ // gfx::Point - the location to move to
+ IPC_MESSAGE_ROUTED2(AutomationMsg_WindowMouseMove, int, gfx::Point)
IPC_END_MESSAGES(Automation)