blob: c8407f6a31ab1e980b08b4d5f1927c49cf0759f9 [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"
11#include "chrome/browser/vr/vr_export.h"
12
13namespace vr {
14
15class VR_EXPORT SchedulerUiInterface {
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_