| 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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 void ProcessContentGesture( | 50 void ProcessContentGesture( |
| 51 std::unique_ptr<blink::WebInputEvent> event) override; | 51 std::unique_ptr<blink::WebInputEvent> event) override; |
| 52 void ForceExitVr() override; | 52 void ForceExitVr() override; |
| 53 void ExitPresent() override; | 53 void ExitPresent() override; |
| 54 void ExitFullscreen() override; | 54 void ExitFullscreen() override; |
| 55 void RunVRDisplayInfoCallback( | 55 void RunVRDisplayInfoCallback( |
| 56 const base::Callback<void(device::mojom::VRDisplayInfoPtr)>& callback, | 56 const base::Callback<void(device::mojom::VRDisplayInfoPtr)>& callback, |
| 57 device::mojom::VRDisplayInfoPtr* info) override; | 57 device::mojom::VRDisplayInfoPtr* info) override; |
| 58 void OnContentPaused(bool enabled) override; | 58 void OnContentPaused(bool enabled) override; |
| 59 void NavigateBack() override; | 59 void NavigateBack() override; |
| 60 void ExitCct() override; |
| 60 | 61 |
| 61 // UiInterface implementation (VrShell calling to the UI). | 62 // UiInterface implementation (VrShell calling to the UI). |
| 62 void SetFullscreen(bool enabled) override; | 63 void SetFullscreen(bool enabled) override; |
| 63 void SetHistoryButtonsEnabled(bool can_go_back, bool can_go_forward) override; | 64 void SetHistoryButtonsEnabled(bool can_go_back, bool can_go_forward) override; |
| 64 void SetLoadProgress(float progress) override; | 65 void SetLoadProgress(float progress) override; |
| 65 void SetLoading(bool loading) override; | 66 void SetLoading(bool loading) override; |
| 66 void SetSecurityLevel(int level) override; | 67 void SetSecurityLevel(int level) override; |
| 67 void SetURL(const GURL& gurl) override; | 68 void SetURL(const GURL& gurl) override; |
| 68 void SetWebVrMode(bool enabled) override; | 69 void SetWebVrMode(bool enabled) override; |
| 69 void SetWebVrSecureOrigin(bool secure) override; | 70 void SetWebVrSecureOrigin(bool secure) override; |
| (...skipping 21 matching lines...) Expand all Loading... |
| 91 bool initially_web_vr_; | 92 bool initially_web_vr_; |
| 92 bool in_cct_; | 93 bool in_cct_; |
| 93 bool reprojected_rendering_; | 94 bool reprojected_rendering_; |
| 94 | 95 |
| 95 DISALLOW_COPY_AND_ASSIGN(VrGLThread); | 96 DISALLOW_COPY_AND_ASSIGN(VrGLThread); |
| 96 }; | 97 }; |
| 97 | 98 |
| 98 } // namespace vr_shell | 99 } // namespace vr_shell |
| 99 | 100 |
| 100 #endif // CHROME_BROWSER_ANDROID_VR_SHELL_VR_GL_THREAD_H_ | 101 #endif // CHROME_BROWSER_ANDROID_VR_SHELL_VR_GL_THREAD_H_ |
| OLD | NEW |