| OLD | NEW |
| (Empty) | |
| 1 // Copyright 2017 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_ANDROID_VR_SHELL_UI_BROWSER_INTERFACE_H_ |
| 6 #define CHROME_BROWSER_ANDROID_VR_SHELL_UI_BROWSER_INTERFACE_H_ |
| 7 |
| 8 #include "chrome/browser/android/vr_shell/ui_unsupported_mode.h" |
| 9 |
| 10 namespace vr_shell { |
| 11 |
| 12 // An interface for the UI to communicate with VrShell. Many of the functions |
| 13 // in this interface are proxies to methods on VrShell. |
| 14 class UiBrowserInterface { |
| 15 public: |
| 16 virtual ~UiBrowserInterface() = default; |
| 17 |
| 18 virtual void ExitPresent() = 0; |
| 19 virtual void ExitFullscreen() = 0; |
| 20 virtual void NavigateBack() = 0; |
| 21 virtual void ExitCct() = 0; |
| 22 virtual void OnUnsupportedMode(UiUnsupportedMode mode) = 0; |
| 23 }; |
| 24 |
| 25 } // namespace vr_shell |
| 26 |
| 27 #endif // CHROME_BROWSER_ANDROID_VR_SHELL_UI_BROWSER_INTERFACE_H_ |
| OLD | NEW |