blob: d13610dafe2e27e144e08a89930e78bcf8fdb714 [file] [log] [blame]
Aldo Culquicondorb8985eb2018-09-06 22:27:441// 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 Grantf47c6e52019-01-02 20:05:1111#include "chrome/browser/vr/vr_base_export.h"
Aldo Culquicondorb8985eb2018-09-06 22:27:4412
13namespace vr {
14
Christopher Grantf47c6e52019-01-02 20:05:1115class VR_BASE_EXPORT SchedulerUiInterface {
Aldo Culquicondorb8985eb2018-09-06 22:27:4416 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_