// Copyright 2012 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ui/views/round_rect_painter.h" #include "cc/paint/paint_canvas.h" #include "ui/gfx/canvas.h" #include "ui/gfx/geometry/skia_conversions.h" namespace views { RoundRectPainter::RoundRectPainter(SkColor border_color, int corner_radius) : … { … } RoundRectPainter::~RoundRectPainter() = default; gfx::Size RoundRectPainter::GetMinimumSize() const { … } void RoundRectPainter::Paint(gfx::Canvas* canvas, const gfx::Size& size) { … } } // namespace views