aboutsummaryrefslogtreecommitdiffstats
path: root/components/script_traits/script_msg.rs
diff options
context:
space:
mode:
authorPaul Rouget <me@paulrouget.com>2019-04-25 09:39:16 +0200
committerPaul Rouget <me@paulrouget.com>2019-04-25 09:39:16 +0200
commit7858ede29f227f608245640f6d65c1dcfb560512 (patch)
treebbcf9e644aa7782b5fcd5476631b7de7ec8b2fdb /components/script_traits/script_msg.rs
parent07d1559141959cb0c49df33f1eb7dbc58c3e71da (diff)
downloadservo-7858ede29f227f608245640f6d65c1dcfb560512.tar.gz
servo-7858ede29f227f608245640f6d65c1dcfb560512.zip
Update SetCursor behavior
Diffstat (limited to 'components/script_traits/script_msg.rs')
-rw-r--r--components/script_traits/script_msg.rs5
1 files changed, 1 insertions, 4 deletions
diff --git a/components/script_traits/script_msg.rs b/components/script_traits/script_msg.rs
index f4691d4d218..bb7619aa1a7 100644
--- a/components/script_traits/script_msg.rs
+++ b/components/script_traits/script_msg.rs
@@ -14,7 +14,7 @@ use crate::WorkerGlobalScopeInit;
use crate::WorkerScriptLoadOrigin;
use canvas_traits::canvas::{CanvasId, CanvasMsg};
use devtools_traits::{ScriptToDevtoolsControlMsg, WorkerId};
-use embedder_traits::{Cursor, EmbedderMsg};
+use embedder_traits::EmbedderMsg;
use euclid::{Size2D, TypedSize2D};
use gfx_traits::Epoch;
use ipc_channel::ipc::{IpcReceiver, IpcSender};
@@ -58,8 +58,6 @@ pub enum LayoutMsg {
/// Requests that the constellation inform the compositor that it needs to record
/// the time when the frame with the given ID (epoch) is painted.
PendingPaintMetric(PipelineId, Epoch),
- /// Requests that the constellation inform the compositor of the a cursor change.
- SetCursor(Cursor),
/// Notifies the constellation that the viewport has been constrained in some manner
ViewportConstrained(PipelineId, ViewportConstraints),
}
@@ -71,7 +69,6 @@ impl fmt::Debug for LayoutMsg {
ChangeRunningAnimationsState(..) => "ChangeRunningAnimationsState",
IFrameSizes(..) => "IFrameSizes",
PendingPaintMetric(..) => "PendingPaintMetric",
- SetCursor(..) => "SetCursor",
ViewportConstrained(..) => "ViewportConstrained",
};
write!(formatter, "LayoutMsg::{}", variant)