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

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

Issue 2536223002: Omnibox improvements and fixes. (Closed)
Patch Set: Rebase. Created 4 years 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.h
diff --git a/chrome/browser/android/vr_shell/ui_interface.h b/chrome/browser/android/vr_shell/ui_interface.h
index 1297974dc79002e8c22ded4467720e52437b7ef6..67505353c9fb33b672b30c9495837922e554cc9b 100644
--- a/chrome/browser/android/vr_shell/ui_interface.h
+++ b/chrome/browser/android/vr_shell/ui_interface.h
@@ -26,17 +26,17 @@ class UiInterface {
WEB_VR
};
- explicit UiInterface(Mode initial_mode);
+ explicit UiInterface(Mode initial_mode, bool fullscreen);
virtual ~UiInterface();
void SetMode(Mode mode);
Mode GetMode() { return mode_; }
void SetMenuMode(bool enabled);
bool GetMenuMode() { return menu_mode_; }
- void SetCinemaMode(bool enabled);
- bool GetCinemaMode() { return cinema_mode_; }
-
- void SetSecureOrigin(bool secure);
+ void SetFullscreen(bool enabled);
+ bool GetFullscreen() { return fullscreen_; }
+ void SetSecurityLevel(int level);
+ void SetWebVRSecureOrigin(bool secure);
void SetLoading(bool loading);
void SetURL(const GURL& url);
@@ -50,7 +50,7 @@ class UiInterface {
Mode mode_;
bool menu_mode_ = false;
- bool cinema_mode_ = false;
+ bool fullscreen_ = false;
UiCommandHandler* handler_;
bool loaded_ = false;
base::DictionaryValue updates_;

Powered by Google App Engine
This is Rietveld 408576698