mirror of
https://github.com/servo/servo.git
synced 2025-09-04 12:08:21 +01:00
script: Move WebRTC DOM interfaces to script/dom/webrtc/ (#39023)
Move interfaces defined by the WebRTC specification to the `script/dom/webrtc/` module from `script/dom/`. `script/dom/rtc*.rs -> script/dom/webrtc/` Testing: No changes, just a refactoring Fixes (partially): #38901 Signed-off-by: Andrei Volykhin <volykhin.andrei@huawei.com> Co-authored-by: Andrei Volykhin <volykhin.andrei@huawei.com>
This commit is contained in:
parent
66d9f957e6
commit
00d0783471
13 changed files with 17 additions and 11 deletions
|
@ -506,17 +506,6 @@ pub(crate) mod resizeobserver;
|
|||
pub(crate) mod resizeobserverentry;
|
||||
pub(crate) mod resizeobserversize;
|
||||
pub(crate) mod response;
|
||||
pub(crate) mod rtcdatachannel;
|
||||
pub(crate) mod rtcdatachannelevent;
|
||||
pub(crate) mod rtcerror;
|
||||
pub(crate) mod rtcerrorevent;
|
||||
pub(crate) mod rtcicecandidate;
|
||||
pub(crate) mod rtcpeerconnection;
|
||||
pub(crate) mod rtcpeerconnectioniceevent;
|
||||
pub(crate) mod rtcrtpsender;
|
||||
pub(crate) mod rtcrtptransceiver;
|
||||
pub(crate) mod rtcsessiondescription;
|
||||
pub(crate) mod rtctrackevent;
|
||||
pub(crate) mod screen;
|
||||
pub(crate) mod securitypolicyviolationevent;
|
||||
pub(crate) mod selection;
|
||||
|
@ -622,6 +611,8 @@ pub(crate) mod webgpu;
|
|||
pub(crate) use self::webgpu::*;
|
||||
#[cfg(not(feature = "webgpu"))]
|
||||
pub(crate) mod gpucanvascontext;
|
||||
pub(crate) mod webrtc;
|
||||
pub(crate) use self::webrtc::*;
|
||||
pub(crate) mod transformstream;
|
||||
pub(crate) mod transformstreamdefaultcontroller;
|
||||
pub(crate) mod wheelevent;
|
||||
|
|
15
components/script/dom/webrtc/mod.rs
Normal file
15
components/script/dom/webrtc/mod.rs
Normal file
|
@ -0,0 +1,15 @@
|
|||
/* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
|
||||
|
||||
pub(crate) mod rtcdatachannel;
|
||||
pub(crate) mod rtcdatachannelevent;
|
||||
pub(crate) mod rtcerror;
|
||||
pub(crate) mod rtcerrorevent;
|
||||
pub(crate) mod rtcicecandidate;
|
||||
pub(crate) mod rtcpeerconnection;
|
||||
pub(crate) mod rtcpeerconnectioniceevent;
|
||||
pub(crate) mod rtcrtpsender;
|
||||
pub(crate) mod rtcrtptransceiver;
|
||||
pub(crate) mod rtcsessiondescription;
|
||||
pub(crate) mod rtctrackevent;
|
Loading…
Add table
Add a link
Reference in a new issue