diff options
author | Martin Robinson <mrobinson@igalia.com> | 2017-09-30 15:50:47 +0200 |
---|---|---|
committer | Martin Robinson <mrobinson@igalia.com> | 2017-10-17 23:33:13 +0200 |
commit | b5d51dd2636935471447fc741ffbb95c62e37f94 (patch) | |
tree | d437a0a5114788c529692628729cdc3169ec4b2e /components/script_traits/script_msg.rs | |
parent | 00e2a1c62a04ae337f9008dcea8e265edd2d3ef4 (diff) | |
download | servo-b5d51dd2636935471447fc741ffbb95c62e37f94.tar.gz servo-b5d51dd2636935471447fc741ffbb95c62e37f94.zip |
Switch to using WebRender hit testing
This trades quite a bit of complicated code in Servo for few more
messages and a significant performance improvement. In particular,
WebRender can search the entire display list at once instead of
ping-ponging down the pipeline tree. This allows us to send mouse
events to the correct pipeline immediately.
Diffstat (limited to 'components/script_traits/script_msg.rs')
-rw-r--r-- | components/script_traits/script_msg.rs | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/components/script_traits/script_msg.rs b/components/script_traits/script_msg.rs index 6ad93d922d4..c338e8f1e98 100644 --- a/components/script_traits/script_msg.rs +++ b/components/script_traits/script_msg.rs @@ -27,7 +27,6 @@ use servo_url::ServoUrl; use style_traits::CSSPixel; use style_traits::cursor::Cursor; use style_traits::viewport::ViewportConstraints; -use webrender_api::ClipId; /// Messages from the layout to the constellation. #[derive(Deserialize, Serialize)] @@ -134,8 +133,6 @@ pub enum ScriptMsg { SetFinalUrl(ServoUrl), /// Check if an alert dialog box should be presented Alert(String, IpcSender<bool>), - /// Scroll a page in a window - ScrollFragmentPoint(ClipId, Point2D<f32>, bool), /// Set title of current page /// https://html.spec.whatwg.org/multipage/#document.title SetTitle(Option<String>), |