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

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

Issue 2471433002: Implement WebVR presentation pausing for VR Shell Menu Mode (Closed)
Patch Set: rebase 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
« no previous file with comments | « chrome/browser/android/vr_shell/BUILD.gn ('k') | chrome/browser/android/vr_shell/ui_interface.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_interface.h
diff --git a/chrome/browser/android/vr_shell/ui_interface.h b/chrome/browser/android/vr_shell/ui_interface.h
index 05d294bb66d1bae508fa5943b6bf45912e88c823..2972dfd36e87c247df2664ecb98598b3a4ae9ddb 100644
--- a/chrome/browser/android/vr_shell/ui_interface.h
+++ b/chrome/browser/android/vr_shell/ui_interface.h
@@ -24,12 +24,14 @@ class UiInterface {
enum Mode {
STANDARD,
WEB_VR,
+ MENU,
};
UiInterface();
virtual ~UiInterface();
void SetMode(Mode mode);
+ Mode GetMode() { return mode_; }
void SetSecureOrigin(bool secure);
void SetLoading(bool loading);
void SetURL(const GURL& url);
@@ -41,6 +43,7 @@ class UiInterface {
private:
void FlushUpdates();
+ Mode mode_;
UiCommandHandler* handler_;
bool loaded_ = false;
base::DictionaryValue updates_;
« no previous file with comments | « chrome/browser/android/vr_shell/BUILD.gn ('k') | chrome/browser/android/vr_shell/ui_interface.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698