diff options
author | Alan Jeffrey <ajeffrey@mozilla.com> | 2020-08-04 15:10:01 -0500 |
---|---|---|
committer | Alan Jeffrey <ajeffrey@mozilla.com> | 2020-08-04 15:10:01 -0500 |
commit | d255dc9f7b9468aa243a43c91c8567c71afe8c60 (patch) | |
tree | 790ffd49f34a8480fc2837259c27e754fd08edc5 /components/script/dom/xrprojectionlayer.rs | |
parent | 754019f6bc4cce22177abb2e6ab2ee6bfb10427c (diff) | |
download | servo-d255dc9f7b9468aa243a43c91c8567c71afe8c60.tar.gz servo-d255dc9f7b9468aa243a43c91c8567c71afe8c60.zip |
Add a dummy implementation of all the XR Layer types
Diffstat (limited to 'components/script/dom/xrprojectionlayer.rs')
-rw-r--r-- | components/script/dom/xrprojectionlayer.rs | 11 |
1 files changed, 11 insertions, 0 deletions
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, +} |