blob: 6c027e9e4235a296292e8ffc95298f299b7f853e [file] [log] [blame]
// 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.
#ifndef CHROME_BROWSER_VR_BROWSER_RENDERER_BROWSER_INTERFACE_H_
#define CHROME_BROWSER_VR_BROWSER_RENDERER_BROWSER_INTERFACE_H_
#include "chrome/browser/vr/ui_test_input.h"
namespace vr {
// BrowserRenderer talks to the browser main thread through this interface.
class BrowserRendererBrowserInterface {
public:
virtual ~BrowserRendererBrowserInterface() = default;
virtual void ForceExitVr() = 0;
virtual void ReportUiOperationResultForTesting(
const UiTestOperationType& action_type,
const UiTestOperationResult& result) = 0;
};
} // namespace vr
#endif // CHROME_BROWSER_VR_BROWSER_RENDERER_BROWSER_INTERFACE_H_