Commit 0b174619 authored by Bret Sepulveda's avatar Bret Sepulveda Committed by Commit Bot

Change inactive window frame color per the spec.

New colors:
* Inactive normal: #E7EAED
* Inactive incognito: GoogleGrey800

Bug: 863094
Change-Id: Ifb11031efffcf9116a8d076cc20f71c6cc4f0117
Reviewed-on: https://chromium-review.googlesource.com/1139041Reviewed-by: default avatarEvan Stade <estade@chromium.org>
Commit-Queue: Bret Sepulveda <bsep@chromium.org>
Cr-Commit-Position: refs/heads/master@{#575744}
parent d0f45007
...@@ -152,9 +152,10 @@ base::Optional<SkColor> MaybeGetDefaultColorForNewerMaterialUi(int id, ...@@ -152,9 +152,10 @@ base::Optional<SkColor> MaybeGetDefaultColorForNewerMaterialUi(int id,
switch (id) { switch (id) {
case ThemeProperties::COLOR_FRAME: case ThemeProperties::COLOR_FRAME:
case ThemeProperties::COLOR_FRAME_INACTIVE:
case ThemeProperties::COLOR_BACKGROUND_TAB: case ThemeProperties::COLOR_BACKGROUND_TAB:
return incognito ? gfx::kGoogleGrey900 : SkColorSetRGB(0xDE, 0xE1, 0xE6); return incognito ? gfx::kGoogleGrey900 : SkColorSetRGB(0xDE, 0xE1, 0xE6);
case ThemeProperties::COLOR_FRAME_INACTIVE:
return incognito ? gfx::kGoogleGrey800 : SkColorSetRGB(0xE7, 0xEA, 0xED);
case ThemeProperties::COLOR_TOOLBAR: case ThemeProperties::COLOR_TOOLBAR:
return incognito ? SkColorSetRGB(0x32, 0x36, 0x39) : SK_ColorWHITE; return incognito ? SkColorSetRGB(0x32, 0x36, 0x39) : SK_ColorWHITE;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment