mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
Format code and fix rebase errors
This commit is contained in:
parent
85ec66b43e
commit
68baabba63
6 changed files with 9 additions and 7 deletions
|
@ -1058,6 +1058,7 @@ pub enum MessagePortMsg {
|
|||
RemoveMessagePort(MessagePortId),
|
||||
/// Handle a new port-message-task.
|
||||
NewTask(MessagePortId, PortMessageTask),
|
||||
}
|
||||
|
||||
/// The type of MediaSession action.
|
||||
/// https://w3c.github.io/mediasession/#enumdef-mediasessionaction
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue