| 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 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 76 void SetHistoryButtonsEnabled(bool can_go_back, bool can_go_forward) override; | 76 void SetHistoryButtonsEnabled(bool can_go_back, bool can_go_forward) override; |
| 77 void SetLoadProgress(float progress) override; | 77 void SetLoadProgress(float progress) override; |
| 78 void SetLoading(bool loading) override; | 78 void SetLoading(bool loading) override; |
| 79 void SetToolbarState(const vr::ToolbarState& state) override; | 79 void SetToolbarState(const vr::ToolbarState& state) override; |
| 80 void SetWebVrMode(bool enabled, bool show_toast) override; | 80 void SetWebVrMode(bool enabled, bool show_toast) override; |
| 81 void SetWebVrSecureOrigin(bool secure) override; | 81 void SetWebVrSecureOrigin(bool secure) override; |
| 82 void SetVideoCapturingIndicator(bool enabled) override; | 82 void SetVideoCapturingIndicator(bool enabled) override; |
| 83 void SetScreenCapturingIndicator(bool enabled) override; | 83 void SetScreenCapturingIndicator(bool enabled) override; |
| 84 void SetAudioCapturingIndicator(bool enabled) override; | 84 void SetAudioCapturingIndicator(bool enabled) override; |
| 85 void SetBluetoothConnectedIndicator(bool enabled) override; | 85 void SetBluetoothConnectedIndicator(bool enabled) override; |
| 86 void SetLocationAccessIndicator(bool enabled) override; |
| 86 void SetIsExiting() override; | 87 void SetIsExiting() override; |
| 87 void SetSplashScreenIcon(const SkBitmap& bitmap) override; | 88 void SetSplashScreenIcon(const SkBitmap& bitmap) override; |
| 88 | 89 |
| 89 protected: | 90 protected: |
| 90 void Init() override; | 91 void Init() override; |
| 91 void CleanUp() override; | 92 void CleanUp() override; |
| 92 | 93 |
| 93 private: | 94 private: |
| 94 // Created on GL thread. | 95 // Created on GL thread. |
| 95 std::unique_ptr<vr::UiScene> scene_; | 96 std::unique_ptr<vr::UiScene> scene_; |
| (...skipping 11 matching lines...) Expand all Loading... |
| 107 bool in_cct_; | 108 bool in_cct_; |
| 108 bool reprojected_rendering_; | 109 bool reprojected_rendering_; |
| 109 bool daydream_support_; | 110 bool daydream_support_; |
| 110 | 111 |
| 111 DISALLOW_COPY_AND_ASSIGN(VrGLThread); | 112 DISALLOW_COPY_AND_ASSIGN(VrGLThread); |
| 112 }; | 113 }; |
| 113 | 114 |
| 114 } // namespace vr_shell | 115 } // namespace vr_shell |
| 115 | 116 |
| 116 #endif // CHROME_BROWSER_ANDROID_VR_SHELL_VR_GL_THREAD_H_ | 117 #endif // CHROME_BROWSER_ANDROID_VR_SHELL_VR_GL_THREAD_H_ |
| OLD | NEW |