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

Unified Diff: chrome/browser/android/vr_shell/vr_shell_gl.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/vr_shell_gl.h
diff --git a/chrome/browser/android/vr_shell/vr_shell_gl.h b/chrome/browser/android/vr_shell/vr_shell_gl.h
index 8d3d2fcffd2c6e711d651b5b110ef78aea73e0f9..1f62e3ff55fef92e1aa27d61b98ebb26442a0da2 100644
--- a/chrome/browser/android/vr_shell/vr_shell_gl.h
+++ b/chrome/browser/android/vr_shell/vr_shell_gl.h
@@ -216,6 +216,7 @@ class VrShellGl : public device::mojom::VRVSyncProvider {
bool pending_vsync_ = false;
GetVSyncCallback callback_;
bool received_frame_ = false;
+ bool content_paused_ = false;
mojo::Binding<device::mojom::VRVSyncProvider> binding_;
device::mojom::VRSubmitFrameClientPtr submit_client_;

Powered by Google App Engine
This is Rietveld 408576698