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

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

Issue 2872773002: VR: Render the current URL and security level on the URL bar. (Closed)
Patch Set: Revert the inclusion of the lock icon; will re-add when moved to UI. 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 e7cafaa8e96ec39bd57346bdbc5e9e1aa41db888..e2c13799be1ed01f1139e64bb684287ffbf097bd 100644
--- a/chrome/browser/android/vr_shell/vr_gl_thread.cc
+++ b/chrome/browser/android/vr_shell/vr_gl_thread.cc
@@ -99,6 +99,11 @@ void VrGLThread::OnContentPaused(bool enabled) {
base::Bind(&VrShell::OnContentPaused, weak_vr_shell_, enabled));
}
+void VrGLThread::NavigateBack() {
+ main_thread_task_runner_->PostTask(
+ FROM_HERE, base::Bind(&VrShell::NavigateBack, 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