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

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: nit Created 3 years, 6 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 c15cc11a61e88f583eec44e1d5583e4b1a0e9a80..72566e6173cb56c6ae14d80c28e8cf07e73430c8 100644
--- a/chrome/browser/android/vr_shell/color_scheme.cc
+++ b/chrome/browser/android/vr_shell/color_scheme.cc
@@ -29,6 +29,13 @@ void InitializeColorSchemes() {
normal_scheme.emphasized = 0xFF000000;
normal_scheme.deemphasized = 0xFF5A5A5A;
normal_scheme.separator = 0xFF9E9E9E;
+ normal_scheme.prompt_foreground = 0xCC000000;
+ normal_scheme.prompt_primary_button_background = 0xBFFFFFFF;
+ normal_scheme.prompt_secondary_button_background = 0x66FFFFFF;
+ normal_scheme.prompt_primary_button_forground = 0xA6000000;
+ normal_scheme.prompt_secondary_button_foreground = 0xA6000000;
+ normal_scheme.prompt_button_background_down = 0xE6FFFFFF;
+ normal_scheme.prompt_button_background_hover = 0xFFFFFFFF;
normal_scheme.secure = gfx::kGoogleGreen700;
normal_scheme.insecure = gfx::kGoogleRed700;
normal_scheme.warning = normal_scheme.deemphasized;
@@ -56,6 +63,13 @@ void InitializeColorSchemes() {
incognito_scheme.background_hover = 0xCC505050;
incognito_scheme.background_down = 0xCC888888;
incognito_scheme.separator = 0xFF474747;
+ incognito_scheme.prompt_foreground = 0xCCFFFFFF;
+ incognito_scheme.prompt_primary_button_background = 0xD9FFFFFF;
+ incognito_scheme.prompt_secondary_button_background = 0x80FFFFFF;
+ incognito_scheme.prompt_primary_button_forground = 0xD9000000;
+ incognito_scheme.prompt_secondary_button_foreground = 0xD9000000;
+ incognito_scheme.prompt_button_background_hover = 0xFF8C8C8C;
+ incognito_scheme.prompt_button_background_down = 0xE6FFFFFF;
incognito_scheme.secure = incognito_scheme.emphasized;
incognito_scheme.insecure = incognito_scheme.emphasized;
incognito_scheme.warning = incognito_scheme.emphasized;

Powered by Google App Engine
This is Rietveld 408576698