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

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

Issue 2913633002: [vr] Clicking on the security icon should prompt the user to bail out of VR (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/color_scheme.cc
diff --git a/chrome/browser/android/vr_shell/color_scheme.cc b/chrome/browser/android/vr_shell/color_scheme.cc
index 49432770da2703ff5c8e26b695a93b8ad63e2b95..cf2c64fe2e00159f5264faca14383fc9a056f412 100644
--- a/chrome/browser/android/vr_shell/color_scheme.cc
+++ b/chrome/browser/android/vr_shell/color_scheme.cc
@@ -28,6 +28,13 @@ void InitializeColorSchemes() {
normal_scheme.foreground = 0xFF333333;
normal_scheme.emphasized = 0xFF000000;
normal_scheme.deemphasized = 0xFF5A5A5A;
+ normal_scheme.prompt_text = 0xCC000000;
+ normal_scheme.primary_button_background = 0xBFFFFFFF;
+ normal_scheme.secondary_button_background = 0x66FFFFFF;
+ normal_scheme.primary_button_text = 0xA6000000;
+ normal_scheme.secondary_button_text = 0xA6000000;
+ normal_scheme.button_background_hover = 0xFFFFFFFF;
+
normal_scheme.separator = 0x33000000;
normal_scheme.secure = gfx::kGoogleGreen700;
normal_scheme.insecure = gfx::kGoogleRed700;
@@ -54,6 +61,12 @@ void InitializeColorSchemes() {
incognito_scheme.background = 0xB9454545;
incognito_scheme.background_hover = 0xD9454545;
incognito_scheme.background_down = 0xFF454545;
+ incognito_scheme.prompt_text = 0xCC000000;
+ incognito_scheme.primary_button_background = 0xD9FFFFFF;
+ incognito_scheme.secondary_button_background = 0x80FFFFFF;
+ incognito_scheme.primary_button_text = 0xD9000000;
+ incognito_scheme.secondary_button_text = 0xD9000000;
+ incognito_scheme.button_background_hover = 0xFF8C8C8C;
incognito_scheme.separator = 0xDD595959;
incognito_scheme.secure = incognito_scheme.foreground;
incognito_scheme.insecure = incognito_scheme.foreground;

Powered by Google App Engine
This is Rietveld 408576698