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

Unified Diff: chrome/browser/android/vr_shell/ui_scene.h

Issue 2833773005: Pause drawing webvr when the App button is pressed (Closed)
Patch Set: refactor Created 3 years, 8 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
Index: chrome/browser/android/vr_shell/ui_scene.h
diff --git a/chrome/browser/android/vr_shell/ui_scene.h b/chrome/browser/android/vr_shell/ui_scene.h
index a70a3c087b209086e89a44f4539fec465dee5b5f..16636105cd6b15ff459e16976896a9e3b12f9fc9 100644
--- a/chrome/browser/android/vr_shell/ui_scene.h
+++ b/chrome/browser/android/vr_shell/ui_scene.h
@@ -65,6 +65,7 @@ class UiScene {
const vr::Colorf& GetBackgroundColor() const;
float GetBackgroundDistance() const;
bool GetWebVrRenderingEnabled() const;
+ void SetWebVrRenderingEnabled(bool enabled);
void OnGLInitialized();

Powered by Google App Engine
This is Rietveld 408576698