chromium/third_party/blink/renderer/modules/xr/xr_depth_manager.cc

// Copyright 2020 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "third_party/blink/renderer/modules/xr/xr_depth_manager.h"

#include <utility>

#include "base/trace_event/trace_event.h"
#include "third_party/blink/renderer/modules/xr/xr_cpu_depth_information.h"
#include "third_party/blink/renderer/modules/xr/xr_session.h"
#include "third_party/blink/renderer/platform/bindings/exception_code.h"
#include "third_party/blink/renderer/platform/bindings/exception_state.h"

namespace {

constexpr char kInvalidUsageMode[] =;

}  // namespace

namespace blink {

XRDepthManager::XRDepthManager(
    base::PassKey<XRViewData> pass_key,
    const device::mojom::blink::XRDepthConfig& depth_configuration)
    :{}

XRDepthManager::~XRDepthManager() = default;

void XRDepthManager::ProcessDepthInformation(
    device::mojom::blink::XRDepthDataPtr depth_data) {}

XRCPUDepthInformation* XRDepthManager::GetCpuDepthInformation(
    const XRFrame* xr_frame,
    ExceptionState& exception_state) {}

XRWebGLDepthInformation* XRDepthManager::GetWebGLDepthInformation(
    const XRFrame* xr_frame,
    ExceptionState& exception_state) {}

void XRDepthManager::EnsureData() {}

void XRDepthManager::Trace(Visitor* visitor) const {}

}  // namespace blink