diff options
Diffstat (limited to 'webkit/tools/test_shell/event_sending_controller.h')
-rw-r--r-- | webkit/tools/test_shell/event_sending_controller.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/webkit/tools/test_shell/event_sending_controller.h b/webkit/tools/test_shell/event_sending_controller.h index b25d5e90..4edb60e 100644 --- a/webkit/tools/test_shell/event_sending_controller.h +++ b/webkit/tools/test_shell/event_sending_controller.h @@ -66,6 +66,10 @@ class EventSendingController : public CppBoundClass { static void DoMouseUp(const WebMouseEvent& e); static void ReplaySavedEvents(); + // Helper to extract the optional arg from mouseDown() and mouseUp() + static WebMouseEvent::Button GetButtonTypeFromSingleArg( + const CppArgumentList& args); + // Returns true if the key_code passed in needs a shift key modifier to // be passed into the generated event. bool NeedsShiftModifer(wchar_t key_code); |