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

Unified Diff: chrome/browser/ui/views/infobars/infobar_view.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_view.h
diff --git a/chrome/browser/ui/views/infobars/infobar_view.h b/chrome/browser/ui/views/infobars/infobar_view.h
index d7e80b6ad3569e3d6bb3c82bebbd6e6874abfd81..c54108ce2902d01e700b92a89127a6ec6f7cb174 100644
--- a/chrome/browser/ui/views/infobars/infobar_view.h
+++ b/chrome/browser/ui/views/infobars/infobar_view.h
@@ -39,6 +39,7 @@ class InfoBarView : public infobars::InfoBar,
public:
explicit InfoBarView(scoped_ptr<infobars::InfoBarDelegate> delegate);
+ const infobars::InfoBarContainer::Delegate* container_delegate() const;
const SkPath& fill_path() const { return fill_path_; }
const SkPath& stroke_path() const { return stroke_path_; }
@@ -99,9 +100,6 @@ class InfoBarView : public infobars::InfoBar,
// animate open and closed.
int OffsetY(views::View* view) const;
- // Convenience getter.
- const infobars::InfoBarContainer::Delegate* container_delegate() const;
-
// Shows a menu at the specified position.
// NOTE: This must not be called if we're unowned. (Subclasses should ignore
// calls to RunMenu() in this case.)
@@ -146,7 +144,7 @@ class InfoBarView : public infobars::InfoBar,
views::ImageButton* close_button_;
// The paths for the InfoBarBackground to draw, sized according to the heights
- // above.
+ // above. TODO(estade): remove these when MD is default.
SkPath fill_path_;
SkPath stroke_path_;
« no previous file with comments | « chrome/browser/ui/views/infobars/infobar_background.cc ('k') | chrome/browser/ui/views/infobars/infobar_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698