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

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: move path calc Created 4 years, 9 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 0aba01c1554f6e60b390d700fe157fc09276a1b1..7e245fcefbd95bb3a9530e5f379e98ea8f6c7192 100644
--- a/chrome/browser/ui/views/infobars/infobar_view.h
+++ b/chrome/browser/ui/views/infobars/infobar_view.h
@@ -38,6 +38,8 @@ class InfoBarView : public infobars::InfoBar,
public:
explicit InfoBarView(scoped_ptr<infobars::InfoBarDelegate> delegate);
+ const infobars::InfoBarContainer::Delegate* container_delegate() const;
+ // TODO(estade): remove these when MD is default.
const SkPath& fill_path() const { return fill_path_; }
const SkPath& stroke_path() const { return stroke_path_; }
@@ -94,9 +96,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.)

Powered by Google App Engine
This is Rietveld 408576698