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

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

Issue 2911943002: [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
« no previous file with comments | « no previous file | chrome/browser/android/vr_shell/color_scheme.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/android/vr_shell/color_scheme.h
diff --git a/chrome/browser/android/vr_shell/color_scheme.h b/chrome/browser/android/vr_shell/color_scheme.h
index 76bb780132da326689e5dbe8e0ac0d7bebf6985c..d54a75cdd0717a433a3532f437031a0ffe9aec81 100644
--- a/chrome/browser/android/vr_shell/color_scheme.h
+++ b/chrome/browser/android/vr_shell/color_scheme.h
@@ -10,10 +10,10 @@
namespace vr_shell {
struct ColorScheme {
- // TODO(vollick): Add support for incognito.
enum Mode : int {
kModeNormal = 0,
kModeFullscreen,
+ kModeIncognito,
kNumModes,
};
@@ -25,6 +25,26 @@ struct ColorScheme {
SkColor floor;
SkColor ceiling;
SkColor floor_grid;
+
+ // The foreground color is used for text and sometimes for icons.
+ SkColor foreground;
+ SkColor emphasized;
+ SkColor deemphasized;
+
+ // This is the background color. To be used behind text in the foreground
+ // color. The related hover and down colors are to be used for buttons.
+ SkColor background;
+ SkColor background_hover;
+ SkColor background_down;
+
+ // If you have a segmented element, its separators should use this color.
+ SkColor separator;
+
+ // Some content changes color based on the security level. Those visuals
+ // should respect these colors.
+ SkColor secure;
+ SkColor insecure;
+ SkColor warning;
};
} // namespace vr_shell
« no previous file with comments | « no previous file | chrome/browser/android/vr_shell/color_scheme.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698