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