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

Unified Diff: ui/views/round_rect_painter.h

Issue 2387503002: Fix menu scroll indicators and highlights overlapping the menu border. (Closed)
Patch Set: inset in layout instead Created 4 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 | « ui/views/controls/menu/menu_scroll_view_container.cc ('k') | ui/views/round_rect_painter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/round_rect_painter.h
diff --git a/ui/views/round_rect_painter.h b/ui/views/round_rect_painter.h
index f52624a425a89b7bc10a5548914ab844965f9ce7..17c51d0fc60add21bbb0a11dbe89f4adb33c5430 100644
--- a/ui/views/round_rect_painter.h
+++ b/ui/views/round_rect_painter.h
@@ -21,6 +21,8 @@ namespace views {
// Painter to draw a border with rounded corners.
class VIEWS_EXPORT RoundRectPainter : public Painter {
public:
+ enum { kBorderWidth = 1 };
+
RoundRectPainter(SkColor border_color, int corner_radius);
~RoundRectPainter() override;
« no previous file with comments | « ui/views/controls/menu/menu_scroll_view_container.cc ('k') | ui/views/round_rect_painter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698