Lines Matching refs:color
42 bool CommonThemeGetSystemColor(NativeTheme::ColorId color_id, SkColor* color) {
46 *color = kMenuBorderColor;
49 *color = kEnabledMenuButtonBorderColor;
52 *color = kFocusedMenuButtonBorderColor;
55 *color = kHoverMenuButtonBorderColor;
58 *color = kMenuSeparatorColor;
61 *color = kMenuBackgroundColor;
64 *color = kMenuHighlightBackgroundColor;
67 *color = kHoverMenuItemBackgroundColor;
70 *color = kEnabledMenuItemForegroundColor;
73 *color = kDisabledMenuItemForegroundColor;
76 *color = kEnabledMenuItemForegroundColor;
79 *color = kDisabledMenuItemForegroundColor;
85 *color = AdjustColorForMenuVariations(color_id, *color);
90 *color = kMenuInvertedSchemeHighlightBackgroundColor;
93 *color = color_utils::InvertColor(*color);
122 SkColor color;
123 CommonThemeGetSystemColor(NativeTheme::kColorId_MenuSeparatorColor, &color);
131 SkColor color;
132 CommonThemeGetSystemColor(NativeTheme::kColorId_MenuSeparatorColor, &color);
140 SkColor color;
141 CommonThemeGetSystemColor(NativeTheme::kColorId_MenuBackgroundColor, &color);
143 paint.setColor(color);
150 SkColor color;
156 &color);
157 paint.setColor(color);
161 NativeTheme::kColorId_FocusedMenuItemBackgroundColor, &color);
162 paint.setColor(color);
172 SkColor color) {
174 return color;
182 return color;