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

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

Issue 2864363005: Prevents exiting presentation if triggering DON while presenting. (Closed)
Patch Set: Changed parameter to underscore case 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_shell_delegate.h ('k') | device/vr/vr_service.mojom » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/android/vr_shell/vr_shell_delegate.cc
diff --git a/chrome/browser/android/vr_shell/vr_shell_delegate.cc b/chrome/browser/android/vr_shell/vr_shell_delegate.cc
index 70daa50b10b366d2c1c2b5ce7fe329be20fb0c4e..6d3564318020f62b951be637f19300df6e742b24 100644
--- a/chrome/browser/android/vr_shell/vr_shell_delegate.cc
+++ b/chrome/browser/android/vr_shell/vr_shell_delegate.cc
@@ -206,8 +206,8 @@ void VrShellDelegate::CreateNonPresentingDelegate() {
interval_seconds_);
}
-void VrShellDelegate::OnActivateDisplayHandled(bool present_requested) {
- if (!present_requested) {
+void VrShellDelegate::OnActivateDisplayHandled(bool will_not_present) {
+ if (will_not_present) {
// WebVR page didn't request presentation in the vrdisplayactivate handler.
// Tell VrShell that we are in VR Browsing Mode.
ExitWebVRPresent();
« no previous file with comments | « chrome/browser/android/vr_shell/vr_shell_delegate.h ('k') | device/vr/vr_service.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698