#include "chrome/browser/ui/views/dotted_icon.h"
#include "cc/paint/paint_flags.h"
#include "third_party/skia/include/core/SkPath.h"
#include "ui/gfx/animation/tween.h"
#include "ui/gfx/canvas.h"
#include "ui/gfx/geometry/rect_f.h"
#include "ui/gfx/geometry/skia_conversions.h"
namespace {
constexpr float kRingStrokeWidthDp = …;
constexpr int kNumSmallSegments = …;
constexpr int kNumSpacingSegments = …;
constexpr int kLargeSegmentSweepAngle = …;
constexpr int kAllocatedSpace = …;
constexpr int kSpacingSweepAngle = …;
constexpr int kSmallSegmentSweepAngle = …;
void PaintArc(gfx::Canvas* canvas,
const gfx::Rect& bounds,
const SkScalar start_angle,
const SkScalar sweep,
const cc::PaintFlags& flags) { … }
}
void PaintRingDottedPath(gfx::Canvas* canvas,
const gfx::Rect& ring_bounds,
SkColor ring_color,
double opacity_ratio) { … }