Index: ui/native_theme/native_theme_mac.mm |
diff --git a/ui/native_theme/native_theme_mac.mm b/ui/native_theme/native_theme_mac.mm |
index ad847bac2369423bfd13174c862ca89db31ba5eb..43e2a670ebaa36f9058564108f5a35c2be77735c 100644 |
--- a/ui/native_theme/native_theme_mac.mm |
+++ b/ui/native_theme/native_theme_mac.mm |
@@ -126,7 +126,8 @@ SkColor NativeThemeMac::ApplySystemControlTint(SkColor color) { |
} |
SkColor NativeThemeMac::GetSystemColor(ColorId color_id) const { |
- // Even with --secondary-ui-md, menus use the platform colors and styling. |
+ // Even with --secondary-ui-md, menus use the platform colors and styling, and |
+ // Mac has a couple of specific color overrides. |
switch (color_id) { |
case kColorId_EnabledMenuItemForegroundColor: |
return NSSystemColorToSkColor([NSColor controlTextColor]); |
@@ -145,6 +146,9 @@ SkColor NativeThemeMac::GetSystemColor(ColorId color_id) const { |
: kMenuSeparatorColor; |
case kColorId_MenuBorderColor: |
return kMenuBorderColor; |
+ |
+ case kColorId_ButtonPressedShade: |
+ return SkColorSetA(SK_ColorBLACK, 0x08); |
default: |
break; |
} |