#include "ui/message_center/views/notification_background_painter.h"
#include "third_party/skia/include/core/SkPath.h"
#include "ui/gfx/canvas.h"
#include "ui/gfx/geometry/rect.h"
#include "ui/gfx/geometry/size.h"
#include "ui/gfx/geometry/skia_conversions.h"
namespace message_center {
NotificationBackgroundPainter::NotificationBackgroundPainter(
float top_radius,
float bottom_radius,
SkColor color)
: … { … }
NotificationBackgroundPainter::~NotificationBackgroundPainter() = default;
gfx::Size NotificationBackgroundPainter::GetMinimumSize() const { … }
void NotificationBackgroundPainter::Paint(gfx::Canvas* canvas,
const gfx::Size& size) { … }
}