1 // Copyright 2018 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 #ifndef CHROME_BROWSER_VR_BROWSER_RENDERER_BROWSER_INTERFACE_H_
6 #define CHROME_BROWSER_VR_BROWSER_RENDERER_BROWSER_INTERFACE_H_
7 
8 #include "chrome/browser/vr/ui_test_input.h"
9 
10 namespace vr {
11 
12 // BrowserRenderer talks to the browser main thread through this interface.
13 class BrowserRendererBrowserInterface {
14  public:
15   virtual ~BrowserRendererBrowserInterface() = default;
16 
17   virtual void ForceExitVr() = 0;
18   virtual void ReportUiOperationResultForTesting(
19       const UiTestOperationType& action_type,
20       const UiTestOperationResult& result) = 0;
21 };
22 
23 }  // namespace vr
24 
25 #endif  // CHROME_BROWSER_VR_BROWSER_RENDERER_BROWSER_INTERFACE_H_
26