#include "ui/views/controls/throbber.h"
#include <algorithm>
#include "base/functional/bind.h"
#include "base/location.h"
#include "base/time/time.h"
#include "components/vector_icons/vector_icons.h"
#include "ui/base/metadata/metadata_impl_macros.h"
#include "ui/base/resource/resource_bundle.h"
#include "ui/color/color_id.h"
#include "ui/color/color_provider.h"
#include "ui/gfx/animation/tween.h"
#include "ui/gfx/canvas.h"
#include "ui/gfx/image/image.h"
#include "ui/gfx/image/image_skia.h"
#include "ui/gfx/paint_throbber.h"
#include "ui/gfx/paint_vector_icon.h"
namespace views {
namespace {
int GetFrameDelay(int diameter) { … }
}
Throbber::Throbber(int diameter) : … { … }
Throbber::~Throbber() { … }
void Throbber::Start() { … }
void Throbber::Stop() { … }
bool Throbber::GetChecked() const { … }
void Throbber::SetChecked(bool checked) { … }
gfx::Size Throbber::CalculatePreferredSize(
const SizeBounds& ) const { … }
void Throbber::OnPaint(gfx::Canvas* canvas) { … }
bool Throbber::IsRunning() const { … }
BEGIN_METADATA(…)
SmoothedThrobber::SmoothedThrobber(int diameter)
: … { … }
SmoothedThrobber::~SmoothedThrobber() = default;
void SmoothedThrobber::Start() { … }
void SmoothedThrobber::StartDelayOver() { … }
void SmoothedThrobber::Stop() { … }
base::TimeDelta SmoothedThrobber::GetStartDelay() const { … }
void SmoothedThrobber::SetStartDelay(const base::TimeDelta& start_delay) { … }
base::TimeDelta SmoothedThrobber::GetStopDelay() const { … }
void SmoothedThrobber::SetStopDelay(const base::TimeDelta& stop_delay) { … }
void SmoothedThrobber::StopDelayOver() { … }
BEGIN_METADATA(…)
}