Move active media session logic to constellation

This commit is contained in:
Fernando Jiménez Moreno 2019-10-28 16:08:05 +01:00
parent 08f9f17ed3
commit 85ec66b43e
7 changed files with 46 additions and 51 deletions

View file

@ -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(TopLevelBrowsingContextId, MediaSessionActionType),
MediaSessionAction(BrowsingContextId, MediaSessionActionType),
}
impl fmt::Debug for ConstellationControlMsg {