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

Unified Diff: ui/views/round_rect_painter.h

Issue 2387503002: Fix menu scroll indicators and highlights overlapping the menu border. (Closed)
Patch Set: change comments 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
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..de41a59d42054296eb0dd4e52888821f4b619d7e 100644
--- a/ui/views/round_rect_painter.h
+++ b/ui/views/round_rect_painter.h
@@ -28,6 +28,8 @@ class VIEWS_EXPORT RoundRectPainter : public Painter {
gfx::Size GetMinimumSize() const override;
void Paint(gfx::Canvas* canvas, const gfx::Size& size) override;
+ enum { kBorderWidth = 1 };
sky 2016/09/30 02:46:42 Style guide says enums first.
Bret 2016/09/30 18:27:53 Done.
+
private:
const SkColor border_color_;
const int corner_radius_;

Powered by Google App Engine
This is Rietveld 408576698