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

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

Issue 2906423002: [vr] Migrate from vr::Colorf to SkColor (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 a662ed84add6dfb669d28dd9ce23fc165f5e825e..d39d5e555c70368f3718d68affc7b960226a7cc8 100644
--- a/chrome/browser/android/vr_shell/color_scheme.cc
+++ b/chrome/browser/android/vr_shell/color_scheme.cc
@@ -16,16 +16,16 @@ void InitializeColorSchemes() {
return;
ColorScheme& normal_scheme = kColorSchemes[ColorScheme::kModeNormal];
- normal_scheme.horizon = {0.89, 0.89, 0.89, 1.0};
- normal_scheme.floor = {0.811, 0.811, 0.811, 1.0};
- normal_scheme.ceiling = {0.859, 0.859, 0.859, 1.0};
- normal_scheme.floor_grid = {1.0, 1.0, 1.0, 1.0};
+ normal_scheme.horizon = 0xFFE3E3E3;
+ normal_scheme.floor = 0xFFCFCFCF;
+ normal_scheme.ceiling = 0xFFDBDBDB;
+ normal_scheme.floor_grid = SK_ColorWHITE;
ColorScheme& fullscreen_scheme = kColorSchemes[ColorScheme::kModeFullscreen];
- fullscreen_scheme.horizon = {0.039215686, 0.0, 0.082352941, 1.0};
- fullscreen_scheme.floor = {0.02745098, 0.058823529, 0.109803922, 1.0};
- fullscreen_scheme.ceiling = {0.015686275, 0.031372549, 0.058823529, 1.0};
- fullscreen_scheme.floor_grid = {0.639215686, 0.878431373, 1.0, 0.5};
+ fullscreen_scheme.horizon = 0xFF0A0015;
+ fullscreen_scheme.floor = 0xFF070F1C;
+ fullscreen_scheme.ceiling = 0xFF04080F;
+ fullscreen_scheme.floor_grid = 0x80A3E0FF;
initialized = true;
}
« no previous file with comments | « chrome/browser/android/vr_shell/color_scheme.h ('k') | chrome/browser/android/vr_shell/ui_elements/screen_dimmer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698