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

Unified Diff: chrome/browser/ui/views/infobars/infobar_background.h

Issue 1826653002: Draw infobar arrow border with width of 1px on any scale factor. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: format Created 4 years, 8 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
Index: chrome/browser/ui/views/infobars/infobar_background.h
diff --git a/chrome/browser/ui/views/infobars/infobar_background.h b/chrome/browser/ui/views/infobars/infobar_background.h
index 631c3df78d657431975fb4e76d6c1f7a62208285..1cb689b07dd92e7e6da64357844b8962eb8f16ee 100644
--- a/chrome/browser/ui/views/infobars/infobar_background.h
+++ b/chrome/browser/ui/views/infobars/infobar_background.h
@@ -15,13 +15,12 @@ class InfoBarBackground : public views::Background {
explicit InfoBarBackground(infobars::InfoBarDelegate::Type infobar_type);
~InfoBarBackground() override;
- void set_separator_color(SkColor color) { separator_color_ = color; }
-
private:
// views::Background:
void Paint(gfx::Canvas* canvas, views::View* view) const override;
- SkColor separator_color_;
+ void PaintMd(gfx::Canvas* canvas, views::View* view) const;
+
SkColor top_color_;
SkColor bottom_color_;
« no previous file with comments | « chrome/browser/ui/infobar_container_delegate.cc ('k') | chrome/browser/ui/views/infobars/infobar_background.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698