diff options
author | Fernando Jiménez Moreno <ferjmoreno@gmail.com> | 2019-11-06 18:37:04 +0100 |
---|---|---|
committer | Fernando Jiménez Moreno <ferjmoreno@gmail.com> | 2019-11-20 13:33:51 +0100 |
commit | 68baabba63d84385b94a31c013dd1e55452e4310 (patch) | |
tree | 95b7f27f39c9d4fa6dc7c72b5798d96667255f11 /components/script_traits/script_msg.rs | |
parent | 85ec66b43edea5c91ba9a77390867cb9b2db6baa (diff) | |
download | servo-68baabba63d84385b94a31c013dd1e55452e4310.tar.gz servo-68baabba63d84385b94a31c013dd1e55452e4310.zip |
Format code and fix rebase errors
Diffstat (limited to 'components/script_traits/script_msg.rs')
-rw-r--r-- | components/script_traits/script_msg.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/components/script_traits/script_msg.rs b/components/script_traits/script_msg.rs index 9db4e7ac7e2..4cce2501c88 100644 --- a/components/script_traits/script_msg.rs +++ b/components/script_traits/script_msg.rs @@ -8,7 +8,6 @@ use crate::DocumentState; use crate::IFrameLoadInfoWithData; use crate::LayoutControlMsg; use crate::LoadData; -use crate::MediaSessionEvent; use crate::MessagePortMsg; use crate::PortMessageTask; use crate::StructuredSerializedData; @@ -255,6 +254,9 @@ 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...). + MediaSessionEvent(BrowsingContextId, MediaSessionEvent) } impl fmt::Debug for ScriptMsg { |