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

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: rebase Created 3 years, 6 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/ui_elements/url_bar.cc ('k') | chrome/browser/android/vr_shell/ui_scene.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 3b6f50816ce658117322de13a3c149cb4953b1db..df949d2ce0f6c9e455f301e4764f8ec623db68f7 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);
};
« no previous file with comments | « chrome/browser/android/vr_shell/ui_elements/url_bar.cc ('k') | chrome/browser/android/vr_shell/ui_scene.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698