diff options
author | George Roman <george.roman.99@gmail.com> | 2019-07-27 00:20:50 +0300 |
---|---|---|
committer | George Roman <george.roman.99@gmail.com> | 2019-08-16 22:08:11 +0300 |
commit | 225cecf66126fee386fd071cc9d8caeb8503f536 (patch) | |
tree | 092fdf54cdee6a064741490e3da42e7a0fd2f623 /components/script_traits/lib.rs | |
parent | 6a637ceffbe34474ea4b657b08acc0966dc8a088 (diff) | |
download | servo-225cecf66126fee386fd071cc9d8caeb8503f536.tar.gz servo-225cecf66126fee386fd071cc9d8caeb8503f536.zip |
Implement pointerDown and pointerUp webdriver actions
Diffstat (limited to 'components/script_traits/lib.rs')
-rw-r--r-- | components/script_traits/lib.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/components/script_traits/lib.rs b/components/script_traits/lib.rs index 6a293c68ed0..5aac6b47e5e 100644 --- a/components/script_traits/lib.rs +++ b/components/script_traits/lib.rs @@ -800,6 +800,8 @@ pub enum WebDriverCommandMsg { SendKeys(BrowsingContextId, Vec<WebDriverInputEvent>), /// Act as if keys were pressed or release in the browsing context with the given ID. KeyboardAction(BrowsingContextId, KeyboardEvent), + /// Act as if the mouse was clicked in the browsing context with the given ID. + MouseButtonAction(MouseEventType, MouseButton, f32, f32), /// Set the window size. SetWindowSize( TopLevelBrowsingContextId, |