#include "ui/message_center/views/proportional_image_view.h"
#include "third_party/skia/include/core/SkPath.h"
#include "ui/base/metadata/metadata_impl_macros.h"
#include "ui/gfx/canvas.h"
#include "ui/gfx/geometry/skia_conversions.h"
#include "ui/gfx/image/image_skia_operations.h"
#include "ui/message_center/message_center_style.h"
#include "ui/message_center/public/cpp/message_center_constants.h"
#if BUILDFLAG(IS_CHROMEOS_ASH)
#include "chromeos/constants/chromeos_features.h"
#endif
namespace message_center {
ProportionalImageView::ProportionalImageView(const gfx::Size& view_size) { … }
ProportionalImageView::~ProportionalImageView() { … }
void ProportionalImageView::SetImage(const ui::ImageModel& image,
const gfx::Size& max_image_size,
bool apply_rounded_corners) { … }
void ProportionalImageView::OnPaint(gfx::Canvas* canvas) { … }
gfx::Size ProportionalImageView::GetImageDrawingSize() { … }
BEGIN_METADATA(…)
}