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

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

Issue 2471433002: Implement WebVR presentation pausing for VR Shell Menu Mode (Closed)
Patch Set: Created 4 years, 1 month 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_interface.cc
diff --git a/chrome/browser/android/vr_shell/ui_interface.cc b/chrome/browser/android/vr_shell/ui_interface.cc
index 4ad96b4e4b73c4eacd9790cb7822221e71c628b9..d2e98eb1f6ba0851cc33e931689a5c7ce9e8d7aa 100644
--- a/chrome/browser/android/vr_shell/ui_interface.cc
+++ b/chrome/browser/android/vr_shell/ui_interface.cc
@@ -19,6 +19,7 @@ void UiInterface::SetUiCommandHandler(UiCommandHandler* handler) {
}
void UiInterface::SetMode(Mode mode) {
+ mode_ = mode;
updates_.SetInteger("mode", static_cast<int>(mode));
FlushUpdates();
}

Powered by Google App Engine
This is Rietveld 408576698