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

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

Issue 2913633002: [vr] Clicking on the security icon should prompt the user to bail out of VR (Closed)
Patch Set: . 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
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 e12cf63cbaaadd45f95b62d339402fdae0204ede..bcd4ba1f46b7f4b7a0ed6bdcf02f7f86a08b4171 100644
--- a/chrome/browser/android/vr_shell/ui_scene.h
+++ b/chrome/browser/android/vr_shell/ui_scene.h
@@ -80,6 +80,8 @@ class UiScene {
bool is_exiting() const { return is_exiting_; }
void set_is_exiting();
+ bool is_prompting_to_exit() { return is_prompting_to_exit_; }
+ void set_is_prompting_to_exit(bool prompting);
void OnGLInitialized();
@@ -95,6 +97,7 @@ class UiScene {
bool webvr_rendering_enabled_ = true;
bool gl_initialized_ = false;
bool is_exiting_ = false;
+ bool is_prompting_to_exit_ = false;
DISALLOW_COPY_AND_ASSIGN(UiScene);
};

Powered by Google App Engine
This is Rietveld 408576698