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

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

Issue 2911943002: [vr] Add incognito coloring (Closed)
Patch Set: 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 795cce1bced09cefb25f5a76bd869271e5fadd78..1b32261c1ccf66e8b5ac284eef34198c74ac6dd9 100644
--- a/chrome/browser/android/vr_shell/vr_gl_thread.cc
+++ b/chrome/browser/android/vr_shell/vr_gl_thread.cc
@@ -140,6 +140,13 @@ void VrGLThread::SetFullscreen(bool enabled) {
weak_scene_manager_, enabled));
}
+void VrGLThread::SetIncognito(bool incognito) {
+ WaitUntilThreadStarted();
+ task_runner()->PostTask(
+ FROM_HERE, base::Bind(&UiSceneManager::SetIncognito, weak_scene_manager_,
+ incognito));
+}
+
void VrGLThread::SetHistoryButtonsEnabled(bool can_go_back,
bool can_go_forward) {
WaitUntilThreadStarted();
« 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