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

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

Issue 2889693005: Stay in VR while showing DOFF flow and connect CCT exit button to this. (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.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 80bbc9a1137b106e285b0a25939471b8794d85f6..a1309f5a4d5e63b565f5814f90781dc6b0babfcc 100644
--- a/chrome/browser/android/vr_shell/vr_gl_thread.cc
+++ b/chrome/browser/android/vr_shell/vr_gl_thread.cc
@@ -114,6 +114,11 @@ void VrGLThread::NavigateBack() {
FROM_HERE, base::Bind(&VrShell::NavigateBack, weak_vr_shell_));
}
+void VrGLThread::ExitCct() {
+ main_thread_task_runner_->PostTask(
+ FROM_HERE, base::Bind(&VrShell::ExitCct, weak_vr_shell_));
+}
+
void VrGLThread::SetFullscreen(bool enabled) {
WaitUntilThreadStarted();
task_runner()->PostTask(FROM_HERE, base::Bind(&UiSceneManager::SetFullscreen,
« 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