Aldo Culquicondor | 34610c1d | 2018-09-07 21:03:13 | [diff] [blame] | 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; |
bsheedy | fa3e442 | 2018-09-18 21:39:31 | [diff] [blame] | 18 | virtual void ReportUiOperationResultForTesting( |
| 19 | const UiTestOperationType& action_type, |
bsheedy | a2ff343 | 2018-10-02 18:16:58 | [diff] [blame] | 20 | const UiTestOperationResult& result) = 0; |
Aldo Culquicondor | 34610c1d | 2018-09-07 21:03:13 | [diff] [blame] | 21 | }; |
| 22 | |
| 23 | } // namespace vr |
| 24 | |
| 25 | #endif // CHROME_BROWSER_VR_BROWSER_RENDERER_BROWSER_INTERFACE_H_ |