mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +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
|
@ -94,8 +94,8 @@ use profile_traits::time::ProfilerChan as TimeProfilerChan;
|
|||
use script_layout_interface::rpc::LayoutRPC;
|
||||
use script_layout_interface::OpaqueStyleAndLayoutData;
|
||||
use script_traits::transferable::MessagePortImpl;
|
||||
use script_traits::DrawAPaintImageResult;
|
||||
use script_traits::{DocumentActivity, ScriptToConstellationChan, TimerEventId, TimerSource};
|
||||
use script_traits::{DocumentActivity, DrawAPaintImageResult;
|
||||
use script_traits::{MediaSessionActionType, ScriptToConstellationChan, TimerEventId, TimerSource};
|
||||
use script_traits::{UntrustedNodeAddress, WindowSizeData, WindowSizeType};
|
||||
use selectors::matching::ElementSelectorFlags;
|
||||
use serde::{Deserialize, Serialize};
|
||||
|
@ -536,6 +536,7 @@ unsafe_no_jsmanaged_fields!(WindowGLContext);
|
|||
unsafe_no_jsmanaged_fields!(VideoFrame);
|
||||
unsafe_no_jsmanaged_fields!(WebGLContextId);
|
||||
unsafe_no_jsmanaged_fields!(Arc<Mutex<dyn AudioRenderer>>);
|
||||
unsafe_no_jsmanaged_fields!(MediaSessionActionType);
|
||||
|
||||
unsafe impl<'a> JSTraceable for &'a str {
|
||||
#[inline]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue