| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_ANDROID_VR_SHELL_VR_GL_THREAD_H_ | 5 #ifndef CHROME_BROWSER_ANDROID_VR_SHELL_VR_GL_THREAD_H_ |
| 6 #define CHROME_BROWSER_ANDROID_VR_SHELL_VR_GL_THREAD_H_ | 6 #define CHROME_BROWSER_ANDROID_VR_SHELL_VR_GL_THREAD_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 | 9 |
| 10 #include "base/macros.h" | 10 #include "base/macros.h" |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 void ForceExitVr() override; | 54 void ForceExitVr() override; |
| 55 void ExitPresent() override; | 55 void ExitPresent() override; |
| 56 void ExitFullscreen() override; | 56 void ExitFullscreen() override; |
| 57 void RunVRDisplayInfoCallback( | 57 void RunVRDisplayInfoCallback( |
| 58 const base::Callback<void(device::mojom::VRDisplayInfoPtr)>& callback, | 58 const base::Callback<void(device::mojom::VRDisplayInfoPtr)>& callback, |
| 59 device::mojom::VRDisplayInfoPtr* info) override; | 59 device::mojom::VRDisplayInfoPtr* info) override; |
| 60 void OnContentPaused(bool enabled) override; | 60 void OnContentPaused(bool enabled) override; |
| 61 void NavigateBack() override; | 61 void NavigateBack() override; |
| 62 void ExitCct() override; | 62 void ExitCct() override; |
| 63 void ToggleCardboardGamepad(bool enabled) override; | 63 void ToggleCardboardGamepad(bool enabled) override; |
| 64 void OnUnsupportedMode(UiUnsupportedMode mode) override; |
| 64 | 65 |
| 65 // UiInterface implementation (VrShell calling to the UI). | 66 // UiInterface implementation (VrShell calling to the UI). |
| 66 void SetFullscreen(bool enabled) override; | 67 void SetFullscreen(bool enabled) override; |
| 67 void SetHistoryButtonsEnabled(bool can_go_back, bool can_go_forward) override; | 68 void SetHistoryButtonsEnabled(bool can_go_back, bool can_go_forward) override; |
| 68 void SetLoadProgress(float progress) override; | 69 void SetLoadProgress(float progress) override; |
| 69 void SetLoading(bool loading) override; | 70 void SetLoading(bool loading) override; |
| 70 void SetSecurityLevel(security_state::SecurityLevel level) override; | 71 void SetSecurityLevel(security_state::SecurityLevel level) override; |
| 71 void SetURL(const GURL& gurl) override; | 72 void SetURL(const GURL& gurl) override; |
| 72 void SetWebVrMode(bool enabled) override; | 73 void SetWebVrMode(bool enabled) override; |
| 73 void SetWebVrSecureOrigin(bool secure) override; | 74 void SetWebVrSecureOrigin(bool secure) override; |
| (...skipping 22 matching lines...) Expand all Loading... |
| 96 bool in_cct_; | 97 bool in_cct_; |
| 97 bool reprojected_rendering_; | 98 bool reprojected_rendering_; |
| 98 bool daydream_support_; | 99 bool daydream_support_; |
| 99 | 100 |
| 100 DISALLOW_COPY_AND_ASSIGN(VrGLThread); | 101 DISALLOW_COPY_AND_ASSIGN(VrGLThread); |
| 101 }; | 102 }; |
| 102 | 103 |
| 103 } // namespace vr_shell | 104 } // namespace vr_shell |
| 104 | 105 |
| 105 #endif // CHROME_BROWSER_ANDROID_VR_SHELL_VR_GL_THREAD_H_ | 106 #endif // CHROME_BROWSER_ANDROID_VR_SHELL_VR_GL_THREAD_H_ |
| OLD | NEW |