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

Unified Diff: ui/views/bubble/bubble_border.h

Issue 2174643002: [ash-md] Updates ash shelf tooltips to MD (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: [ash-md] Updates ash shelf tooltips to MD (no new shadow type) Created 4 years, 5 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: ui/views/bubble/bubble_border.h
diff --git a/ui/views/bubble/bubble_border.h b/ui/views/bubble/bubble_border.h
index 2ebdf9c6156f842ec77a22cc65474d207c45e16d..9b62983e6634c01aa3219beff5a875f1459b9976 100644
--- a/ui/views/bubble/bubble_border.h
+++ b/ui/views/bubble/bubble_border.h
@@ -205,6 +205,10 @@ class VIEWS_EXPORT BubbleBorder : public Border {
// The returned path does not account for arrow stroke and shadow.
bool GetArrowPath(const gfx::Rect& view_bounds, gfx::Path* path) const;
+ // Sets border thickness overriding the thickness set on |images_| creation.
+ // Needs to be invoked once |arrow_paint_type_| has been set.
msw 2016/07/25 18:11:56 nit: "May be invoked after |arrow_paint_type_| has
varkha 2016/07/26 19:20:00 Done.
+ void SetBorderInteriorThickness(int border_interior_thickness);
+
// Overridden from Border:
void Paint(const View& view, gfx::Canvas* canvas) override;
gfx::Insets GetInsets() const override;

Powered by Google App Engine
This is Rietveld 408576698