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

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

Issue 2975683002: Add GeolocationManager service (Closed)
Patch Set: typo Created 3 years, 5 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.h » ('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 714d0b3666e99eb8d7361bdba1881e60a9776a72..702182d8b9718b1a5280d101679ab2bd6c279df0 100644
--- a/chrome/browser/android/vr_shell/vr_gl_thread.cc
+++ b/chrome/browser/android/vr_shell/vr_gl_thread.cc
@@ -209,6 +209,12 @@ void VrGLThread::SetAudioCapturingIndicator(bool enabled) {
weak_scene_manager_, enabled));
}
+void VrGLThread::SetLocationAccessIndicator(bool enabled) {
+ task_runner()->PostTask(
+ FROM_HERE, base::Bind(&vr::UiSceneManager::SetLocationAccessIndicator,
+ weak_scene_manager_, enabled));
+}
+
void VrGLThread::SetVideoCapturingIndicator(bool enabled) {
task_runner()->PostTask(
FROM_HERE, base::Bind(&vr::UiSceneManager::SetVideoCapturingIndicator,
« no previous file with comments | « chrome/browser/android/vr_shell/vr_gl_thread.h ('k') | chrome/browser/android/vr_shell/vr_shell.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698