blob: 6e7b2f74c90e03404d621bf340fb1f8c46ae12d5 [file] [log] [blame]
// Copyright 2018 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 CHROME_BROWSER_VR_RENDER_LOOP_BROWSER_INTERFACE_H_
#define CHROME_BROWSER_VR_RENDER_LOOP_BROWSER_INTERFACE_H_
#include "chrome/browser/vr/ui_test_input.h"
namespace vr {
// RenderLoop talks to the browser main thread through this interface.
class RenderLoopBrowserInterface {
public:
virtual ~RenderLoopBrowserInterface() = default;
virtual void ForceExitVr() = 0;
virtual void ReportUiActivityResultForTesting(
const VrUiTestActivityResult& result) = 0;
};
} // namespace vr
#endif // CHROME_BROWSER_VR_RENDER_LOOP_BROWSER_INTERFACE_H_