Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(562)

Unified Diff: chrome/browser/android/vr_shell/vr_gl_thread.cc

Issue 2890563003: VR: Update UiSceneManager with audio/video capturing flags (Closed)
Patch Set: rebase Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/android/vr_shell/vr_gl_thread.h ('k') | chrome/browser/android/vr_shell/vr_shell.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/android/vr_shell/vr_gl_thread.cc
diff --git a/chrome/browser/android/vr_shell/vr_gl_thread.cc b/chrome/browser/android/vr_shell/vr_gl_thread.cc
index 95beea7d3ffaaaf4d5c6aff03ca8751e8f20593b..17bed562a9357e25d4fc944025eebf82ae265d5b 100644
--- a/chrome/browser/android/vr_shell/vr_gl_thread.cc
+++ b/chrome/browser/android/vr_shell/vr_gl_thread.cc
@@ -167,6 +167,24 @@ void VrGLThread::SetWebVrSecureOrigin(bool secure) {
weak_scene_manager_, secure));
}
+void VrGLThread::SetAudioCapturingIndicator(bool enabled) {
+ task_runner()->PostTask(
+ FROM_HERE, base::Bind(&UiSceneManager::SetAudioCapturingIndicator,
+ weak_scene_manager_, enabled));
+}
+
+void VrGLThread::SetVideoCapturingIndicator(bool enabled) {
+ task_runner()->PostTask(
+ FROM_HERE, base::Bind(&UiSceneManager::SetVideoCapturingIndicator,
+ weak_scene_manager_, enabled));
+}
+
+void VrGLThread::SetScreenCapturingIndicator(bool enabled) {
+ task_runner()->PostTask(
+ FROM_HERE, base::Bind(&UiSceneManager::SetScreenCapturingIndicator,
+ weak_scene_manager_, enabled));
+}
+
void VrGLThread::CleanUp() {
scene_manager_.reset();
vr_shell_gl_.reset();
« no previous file with comments | « chrome/browser/android/vr_shell/vr_gl_thread.h ('k') | chrome/browser/android/vr_shell/vr_shell.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698