chromium/chrome/browser/vr/browser_renderer.cc

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

#include "chrome/browser/vr/browser_renderer.h"

#include <utility>

#include "base/functional/bind.h"
#include "base/time/time.h"
#include "base/trace_event/common/trace_event_common.h"
#include "base/trace_event/trace_event.h"
#include "chrome/browser/vr/render_info.h"
#include "chrome/browser/vr/ui_interface.h"
#include "chrome/browser/vr/ui_test_input.h"

namespace vr {

BrowserRenderer::BrowserRenderer(
    std::unique_ptr<UiInterface> ui,
    std::unique_ptr<GraphicsDelegate> graphics_delegate,
    size_t sliding_time_size)
    :{}

BrowserRenderer::~BrowserRenderer() = default;

void BrowserRenderer::DrawBrowserFrame(base::TimeTicks current_time,
                                       const gfx::Transform& head_pose) {}

void BrowserRenderer::DrawWebXrFrame(base::TimeTicks current_time,
                                     const gfx::Transform& head_pose) {}

void BrowserRenderer::Draw(FrameType frame_type,
                           base::TimeTicks current_time,
                           const gfx::Transform& head_pose) {}

void BrowserRenderer::DrawWebXrOverlay(const RenderInfo& render_info) {}

void BrowserRenderer::DrawBrowserUi(const RenderInfo& render_info) {}

void BrowserRenderer::WatchElementForVisibilityStatusForTesting(
    std::optional<UiVisibilityState> visibility_expectation) {}

void BrowserRenderer::UpdateUi(const RenderInfo& render_info,
                               base::TimeTicks current_time,
                               FrameType frame_type) {}

void BrowserRenderer::ReportElementVisibilityStatus(
    const base::TimeTicks& current_time) {}

void BrowserRenderer::ReportElementVisibilityResult(bool result) {}

}  // namespace vr