diff options
Diffstat (limited to 'components/shared/compositing/lib.rs')
-rw-r--r-- | components/shared/compositing/lib.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/components/shared/compositing/lib.rs b/components/shared/compositing/lib.rs index 737b105b1ba..ddca92a3c57 100644 --- a/components/shared/compositing/lib.rs +++ b/components/shared/compositing/lib.rs @@ -65,7 +65,7 @@ pub enum CompositorMsg { /// Remove a webview. RemoveWebView(TopLevelBrowsingContextId), /// Script has handled a touch event, and either prevented or allowed default actions. - TouchEventProcessed(TouchEventResult), + TouchEventProcessed(WebViewId, TouchEventResult), /// Composite to a PNG file and return the Image over a passed channel. CreatePng(Option<Rect<f32, CSSPixel>>, IpcSender<Option<Image>>), /// A reply to the compositor asking if the output image is stable. @@ -89,9 +89,9 @@ pub enum CompositorMsg { /// The load of a page has completed LoadComplete(TopLevelBrowsingContextId), /// WebDriver mouse button event - WebDriverMouseButtonEvent(MouseButtonAction, MouseButton, f32, f32), + WebDriverMouseButtonEvent(WebViewId, MouseButtonAction, MouseButton, f32, f32), /// WebDriver mouse move event - WebDriverMouseMoveEvent(f32, f32), + WebDriverMouseMoveEvent(WebViewId, f32, f32), /// Messages forwarded to the compositor by the constellation from other crates. These /// messages are mainly passed on from the compositor to WebRender. |