From d255dc9f7b9468aa243a43c91c8567c71afe8c60 Mon Sep 17 00:00:00 2001 From: Alan Jeffrey Date: Tue, 4 Aug 2020 15:10:01 -0500 Subject: Add a dummy implementation of all the XR Layer types --- components/script/dom/xrprojectionlayer.rs | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 components/script/dom/xrprojectionlayer.rs (limited to 'components/script/dom/xrprojectionlayer.rs') diff --git a/components/script/dom/xrprojectionlayer.rs b/components/script/dom/xrprojectionlayer.rs new file mode 100644 index 00000000000..f5d6f68de67 --- /dev/null +++ b/components/script/dom/xrprojectionlayer.rs @@ -0,0 +1,11 @@ +/* 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/. */ + +use crate::dom::xrcompositionlayer::XRCompositionLayer; +use dom_struct::dom_struct; + +#[dom_struct] +pub struct XRProjectionLayer { + composition_layer: XRCompositionLayer, +} -- cgit v1.2.3