mirror of
https://github.com/servo/servo.git
synced 2025-07-24 15:50:21 +01:00
Fix media session action handling
This commit is contained in:
parent
9da1dd3592
commit
b048d7faf7
9 changed files with 54 additions and 121 deletions
|
@ -389,7 +389,7 @@ pub enum ConstellationControlMsg {
|
|||
/// Notifies the script thread about a new recorded paint metric.
|
||||
PaintMetric(PipelineId, ProgressiveWebMetricType, u64),
|
||||
/// Notifies the media session about a user requested media session action.
|
||||
MediaSessionAction(BrowsingContextId, MediaSessionActionType),
|
||||
MediaSessionAction(PipelineId, MediaSessionActionType),
|
||||
}
|
||||
|
||||
impl fmt::Debug for ConstellationControlMsg {
|
||||
|
@ -881,7 +881,7 @@ pub enum ConstellationMsg {
|
|||
/// Request to exit from fullscreen mode
|
||||
ExitFullScreen(TopLevelBrowsingContextId),
|
||||
/// Media session action.
|
||||
MediaSessionAction(TopLevelBrowsingContextId, MediaSessionActionType),
|
||||
MediaSessionAction(MediaSessionActionType),
|
||||
}
|
||||
|
||||
impl fmt::Debug for ConstellationMsg {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue