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

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

Issue 2833773005: Pause drawing webvr when the App button is pressed (Closed)
Patch Set: nit 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 9ab39b64c4de6d186e6bd67c9694319959f2e465..e26d7d92f4fe805295f4e00c39c1ab6b3613bb13 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);
bshe 2017/04/21 21:08:42 nit: bool enabled
ymalik 2017/04/28 00:12:04 Done.
private:
void ApplyRecursiveTransforms(UiElement* element);
« no previous file with comments | « no previous file | chrome/browser/android/vr_shell/ui_scene.cc » ('j') | chrome/browser/android/vr_shell/vr_shell.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698