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

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

Issue 2902043005: [vr] Add incognito coloring (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_manager.h
diff --git a/chrome/browser/android/vr_shell/ui_scene_manager.h b/chrome/browser/android/vr_shell/ui_scene_manager.h
index b4a24ac25b18f39372b0774413fa20afdae79390..098457332a8c095be68092322a3911843cf74a6d 100644
--- a/chrome/browser/android/vr_shell/ui_scene_manager.h
+++ b/chrome/browser/android/vr_shell/ui_scene_manager.h
@@ -9,6 +9,7 @@
#include "base/memory/weak_ptr.h"
#include "base/timer/timer.h"
#include "base/values.h"
+#include "chrome/browser/android/vr_shell/color_scheme.h"
#include "chrome/browser/android/vr_shell/ui_interface.h"
#include "device/vr/vr_types.h"
@@ -20,8 +21,6 @@ class UiScene;
class UrlBar;
class VrBrowserInterface;
-struct ColorScheme;
-
class UiSceneManager {
public:
UiSceneManager(VrBrowserInterface* browser,
@@ -33,6 +32,7 @@ class UiSceneManager {
base::WeakPtr<UiSceneManager> GetWeakPtr();
void SetFullscreen(bool fullscreen);
+ void SetIncognito(bool incognito);
void SetURL(const GURL& gurl);
void SetWebVrSecureOrigin(bool secure);
void SetWebVrMode(bool web_vr);
@@ -67,6 +67,7 @@ class UiSceneManager {
void OnBackButtonClicked();
void OnCloseButtonClicked();
int AllocateId();
+ ColorScheme::Mode mode() const;
const ColorScheme& color_scheme() const;
VrBrowserInterface* browser_;
@@ -91,6 +92,7 @@ class UiSceneManager {
bool web_vr_mode_;
bool secure_origin_ = false;
bool fullscreen_ = false;
+ bool incognito_ = false;
bool is_exiting_ = false;
bool audio_capturing_ = false;
bool video_capturing_ = false;

Powered by Google App Engine
This is Rietveld 408576698