mirror of
https://github.com/servo/servo.git
synced 2025-07-23 07:13:52 +01:00
MediaSession: update action handler algorithm
This commit is contained in:
parent
fa61191405
commit
ec7a4bf32d
3 changed files with 37 additions and 5 deletions
|
@ -1061,7 +1061,7 @@ pub enum MessagePortMsg {
|
|||
|
||||
/// The type of MediaSession action.
|
||||
/// https://w3c.github.io/mediasession/#enumdef-mediasessionaction
|
||||
#[derive(Clone, Debug, Deserialize, Serialize)]
|
||||
#[derive(Clone, Debug, Deserialize, Eq, Hash, MallocSizeOf, PartialEq, Serialize)]
|
||||
pub enum MediaSessionActionType {
|
||||
/// The action intent is to resume playback.
|
||||
Play,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue