summaryrefslogtreecommitdiff
path: root/chromium/third_party/blink/renderer/modules/xr/xr_native_origin_information.h
blob: 368b542b94c6f34c34db174b94b2d3d0b2516481 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
// Copyright 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef THIRD_PARTY_BLINK_RENDERER_MODULES_XR_XR_NATIVE_ORIGIN_INFORMATION_H_
#define THIRD_PARTY_BLINK_RENDERER_MODULES_XR_XR_NATIVE_ORIGIN_INFORMATION_H_

#include "device/vr/public/mojom/vr_service.mojom-blink-forward.h"

namespace blink {

class XRAnchor;
class XRInputSource;
class XRLightProbe;
class XRPlane;
class XRReferenceSpace;

namespace XRNativeOriginInformation {

device::mojom::blink::XRNativeOriginInformation Create(const XRAnchor* anchor);
device::mojom::blink::XRNativeOriginInformation Create(
    const XRInputSource* input_source);
device::mojom::blink::XRNativeOriginInformation Create(const XRPlane* plane);
device::mojom::blink::XRNativeOriginInformation Create(
    const XRLightProbe* light_probe);
device::mojom::blink::XRNativeOriginInformation Create(
    const XRReferenceSpace* reference_space);

device::mojom::blink::XRNativeOriginInformation Create(
    device::mojom::XRReferenceSpaceType reference_space_type);

}  // namespace XRNativeOriginInformation

}  // namespace blink

#endif  // THIRD_PARTY_BLINK_RENDERER_MODULES_XR_XR_NATIVE_ORIGIN_INFORMATION_H_