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

Unified Diff: chrome/browser/android/vr_shell/color_scheme.cc

Issue 2902043005: [vr] Add incognito coloring (Closed)
Patch Set: rebase 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/color_scheme.cc
diff --git a/chrome/browser/android/vr_shell/color_scheme.cc b/chrome/browser/android/vr_shell/color_scheme.cc
index a662ed84add6dfb669d28dd9ce23fc165f5e825e..33c9c3678fb6f1d5f906fdd95d8292b420c5b29e 100644
--- a/chrome/browser/android/vr_shell/color_scheme.cc
+++ b/chrome/browser/android/vr_shell/color_scheme.cc
@@ -27,6 +27,10 @@ void InitializeColorSchemes() {
fullscreen_scheme.ceiling = {0.015686275, 0.031372549, 0.058823529, 1.0};
fullscreen_scheme.floor_grid = {0.639215686, 0.878431373, 1.0, 0.5};
+ // TODO(joshcarpenter): choose unique colors for incognito.
+ kColorSchemes[ColorScheme::kModeIncognito] =
+ kColorSchemes[ColorScheme::kModeFullscreen];
+
initialized = true;
}

Powered by Google App Engine
This is Rietveld 408576698