diff --git a/components/script/dom/mod.rs b/components/script/dom/mod.rs index 137419177d2..20011fac74a 100644 --- a/components/script/dom/mod.rs +++ b/components/script/dom/mod.rs @@ -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; diff --git a/components/script/dom/webrtc/mod.rs b/components/script/dom/webrtc/mod.rs new file mode 100644 index 00000000000..09d4490719e --- /dev/null +++ b/components/script/dom/webrtc/mod.rs @@ -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; diff --git a/components/script/dom/rtcdatachannel.rs b/components/script/dom/webrtc/rtcdatachannel.rs similarity index 100% rename from components/script/dom/rtcdatachannel.rs rename to components/script/dom/webrtc/rtcdatachannel.rs diff --git a/components/script/dom/rtcdatachannelevent.rs b/components/script/dom/webrtc/rtcdatachannelevent.rs similarity index 100% rename from components/script/dom/rtcdatachannelevent.rs rename to components/script/dom/webrtc/rtcdatachannelevent.rs diff --git a/components/script/dom/rtcerror.rs b/components/script/dom/webrtc/rtcerror.rs similarity index 100% rename from components/script/dom/rtcerror.rs rename to components/script/dom/webrtc/rtcerror.rs diff --git a/components/script/dom/rtcerrorevent.rs b/components/script/dom/webrtc/rtcerrorevent.rs similarity index 100% rename from components/script/dom/rtcerrorevent.rs rename to components/script/dom/webrtc/rtcerrorevent.rs diff --git a/components/script/dom/rtcicecandidate.rs b/components/script/dom/webrtc/rtcicecandidate.rs similarity index 100% rename from components/script/dom/rtcicecandidate.rs rename to components/script/dom/webrtc/rtcicecandidate.rs diff --git a/components/script/dom/rtcpeerconnection.rs b/components/script/dom/webrtc/rtcpeerconnection.rs similarity index 100% rename from components/script/dom/rtcpeerconnection.rs rename to components/script/dom/webrtc/rtcpeerconnection.rs diff --git a/components/script/dom/rtcpeerconnectioniceevent.rs b/components/script/dom/webrtc/rtcpeerconnectioniceevent.rs similarity index 100% rename from components/script/dom/rtcpeerconnectioniceevent.rs rename to components/script/dom/webrtc/rtcpeerconnectioniceevent.rs diff --git a/components/script/dom/rtcrtpsender.rs b/components/script/dom/webrtc/rtcrtpsender.rs similarity index 100% rename from components/script/dom/rtcrtpsender.rs rename to components/script/dom/webrtc/rtcrtpsender.rs diff --git a/components/script/dom/rtcrtptransceiver.rs b/components/script/dom/webrtc/rtcrtptransceiver.rs similarity index 100% rename from components/script/dom/rtcrtptransceiver.rs rename to components/script/dom/webrtc/rtcrtptransceiver.rs diff --git a/components/script/dom/rtcsessiondescription.rs b/components/script/dom/webrtc/rtcsessiondescription.rs similarity index 100% rename from components/script/dom/rtcsessiondescription.rs rename to components/script/dom/webrtc/rtcsessiondescription.rs diff --git a/components/script/dom/rtctrackevent.rs b/components/script/dom/webrtc/rtctrackevent.rs similarity index 100% rename from components/script/dom/rtctrackevent.rs rename to components/script/dom/webrtc/rtctrackevent.rs