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

Unified Diff: components/infobars/core/infobar_delegate.cc

Issue 1377553002: Update default browser infobar for MD (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: change to normal type Created 5 years, 3 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
« no previous file with comments | « chrome/browser/ui/startup/default_browser_prompt.cc ('k') | ui/gfx/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/infobars/core/infobar_delegate.cc
diff --git a/components/infobars/core/infobar_delegate.cc b/components/infobars/core/infobar_delegate.cc
index 866e19543173b251990021037f6706b2e59be2cf..b22a6850e5c86c298b2c936113d7dadaf01ec73d 100644
--- a/components/infobars/core/infobar_delegate.cc
+++ b/components/infobars/core/infobar_delegate.cc
@@ -47,8 +47,9 @@ gfx::Image InfoBarDelegate::GetIcon() const {
gfx::VectorIconId vector_id = GetVectorIconId();
if (vector_id != gfx::VectorIconId::VECTOR_ICON_NONE) {
return gfx::Image(gfx::CreateVectorIcon(
- vector_id, 16,
- GetInfoBarType() == WARNING_TYPE ? gfx::kAmber : gfx::kGoogleBlue));
+ vector_id, 18,
+ GetInfoBarType() == WARNING_TYPE ? SkColorSetRGB(0xFF, 0x67, 0)
+ : gfx::kGoogleBlue));
}
}
#endif
« no previous file with comments | « chrome/browser/ui/startup/default_browser_prompt.cc ('k') | ui/gfx/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698