Aldo Culquicondor | b8985eb | 2018-09-06 22:27:44 | [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_SCHEDULER_UI_INTERFACE_H_ |
| 6 | #define CHROME_BROWSER_VR_SCHEDULER_UI_INTERFACE_H_ |
| 7 | |
| 8 | #include <utility> |
| 9 | |
| 10 | #include "chrome/browser/vr/gl_texture_location.h" |
Christopher Grant | f47c6e5 | 2019-01-02 20:05:11 | [diff] [blame^] | 11 | #include "chrome/browser/vr/vr_base_export.h" |
Aldo Culquicondor | b8985eb | 2018-09-06 22:27:44 | [diff] [blame] | 12 | |
| 13 | namespace vr { |
| 14 | |
Christopher Grant | f47c6e5 | 2019-01-02 20:05:11 | [diff] [blame^] | 15 | class VR_BASE_EXPORT SchedulerUiInterface { |
Aldo Culquicondor | b8985eb | 2018-09-06 22:27:44 | [diff] [blame] | 16 | public: |
| 17 | virtual ~SchedulerUiInterface() {} |
| 18 | |
| 19 | virtual void OnWebXrFrameAvailable() = 0; |
| 20 | virtual void OnWebXrTimedOut() = 0; |
| 21 | virtual void OnWebXrTimeoutImminent() = 0; |
| 22 | }; |
| 23 | |
| 24 | } // namespace vr |
| 25 | |
| 26 | #endif // CHROME_BROWSER_VR_SCHEDULER_UI_INTERFACE_H_ |