Skip to content

Commit

Permalink
fixup! [WIP] Omnibox colour plubming moved to ColorProvider
Browse files Browse the repository at this point in the history
  • Loading branch information
cdesouza-chromium committed Jun 29, 2022
1 parent 9434535 commit d312291
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions browser/ui/color/brave_color_mixer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -180,19 +180,4 @@ void AddBraveTorThemeColorMixer(ui::ColorProvider* provider,

mixer[kColorToolbarButtonIconInactive] = {
color_utils::AlphaBlend(kDarkToolbarIcon, kPrivateTorToolbar, 0.3f)};

mixer[kColorOmniboxBackground] = {GetLocationBarBackground(
/*dark*/ false, /*private*/ true, /*hover*/ false)};
mixer[kColorOmniboxBackgroundHovered] = {GetLocationBarBackground(
/*dark*/ false, /*private*/ true, /*hover*/ true)};
mixer[kColorOmniboxText] = {kDarkOmniboxText};

mixer[kColorOmniboxResultsBackground] = {GetOmniboxResultBackground(
kColorOmniboxResultsBackground, /*dark*/ false, /*incognito*/ true)};
mixer[kColorOmniboxResultsBackgroundHovered] = {
GetOmniboxResultBackground(kColorOmniboxResultsBackgroundHovered,
/*dark*/ false, /*incognito*/ true)};
mixer[kColorOmniboxResultsBackgroundSelected] = {
GetOmniboxResultBackground(kColorOmniboxResultsBackgroundSelected,
/*dark*/ false, /*incognito*/ true)};
}

0 comments on commit d312291

Please sign in to comment.