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

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

Issue 2950173002: VR: System indicator rework. (Closed)
Patch Set: Address comments; increase size slightly for readability, now that position is dynamic. Created 3 years, 6 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_gl.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 be1bf47ff26ac6d9faa46f2445eff7636d5d419a..b1fc913860660a52d51e604990c46196be2aa30d 100644
--- a/chrome/browser/android/vr_shell/vr_gl_thread.cc
+++ b/chrome/browser/android/vr_shell/vr_gl_thread.cc
@@ -131,6 +131,12 @@ void VrGLThread::ToggleCardboardGamepad(bool enabled) {
base::Bind(&VrShell::ToggleCardboardGamepad, weak_vr_shell_, enabled));
}
+void VrGLThread::OnGLInitialized() {
+ task_runner()->PostTask(
+ FROM_HERE,
+ base::Bind(&UiSceneManager::OnGLInitialized, weak_scene_manager_));
+}
+
void VrGLThread::OnUnsupportedMode(UiUnsupportedMode mode) {
main_thread_task_runner_->PostTask(
FROM_HERE,
« no previous file with comments | « chrome/browser/android/vr_shell/vr_gl_thread.h ('k') | chrome/browser/android/vr_shell/vr_shell_gl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698