aboutsummaryrefslogtreecommitdiffstats
path: root/components/script_traits/script_msg.rs
diff options
context:
space:
mode:
authorFernando Jiménez Moreno <ferjmoreno@gmail.com>2019-10-09 12:16:35 +0200
committerFernando Jiménez Moreno <ferjmoreno@gmail.com>2019-11-20 13:33:15 +0100
commit89d9e3ad78ce4698dfab9b2fc310a20f4964e380 (patch)
treefff14daecb40dd3325c49be860604e1adff7b08b /components/script_traits/script_msg.rs
parent4d147d2c56465405e7c3281073ef57fe1bd1c062 (diff)
downloadservo-89d9e3ad78ce4698dfab9b2fc310a20f4964e380.tar.gz
servo-89d9e3ad78ce4698dfab9b2fc310a20f4964e380.zip
Introduce embedder MediaSessionEvent and move active session to Servo
Diffstat (limited to 'components/script_traits/script_msg.rs')
-rw-r--r--components/script_traits/script_msg.rs4
1 files changed, 0 insertions, 4 deletions
diff --git a/components/script_traits/script_msg.rs b/components/script_traits/script_msg.rs
index df1889ab6b2..64d6b1f5389 100644
--- a/components/script_traits/script_msg.rs
+++ b/components/script_traits/script_msg.rs
@@ -255,9 +255,6 @@ pub enum ScriptMsg {
GetScreenSize(IpcSender<DeviceIntSize>),
/// Get the available screen size (pixel)
GetScreenAvailSize(IpcSender<DeviceIntSize>),
- /// Notifies the constellation about media session events
- /// (i.e. when there is metadata for the active media session, playback state changes...).
- MediaSessionEventMsg(TopLevelBrowsingContextId, MediaSessionEvent),
}
impl fmt::Debug for ScriptMsg {
@@ -309,7 +306,6 @@ impl fmt::Debug for ScriptMsg {
GetClientWindow(..) => "GetClientWindow",
GetScreenSize(..) => "GetScreenSize",
GetScreenAvailSize(..) => "GetScreenAvailSize",
- MediaSessionEventMsg(..) => "MediaSessionEventMsg",
};
write!(formatter, "ScriptMsg::{}", variant)
}