#include "chrome/browser/ui/views/download/download_started_animation_views.h"
#include "base/memory/raw_ptr.h"
#include "base/time/time.h"
#include "content/public/browser/web_contents.h"
#include "ui/base/metadata/metadata_header_macros.h"
#include "ui/base/metadata/metadata_impl_macros.h"
#include "ui/gfx/animation/linear_animation.h"
#include "ui/gfx/geometry/rect.h"
#include "ui/views/controls/image_view.h"
#include "ui/views/widget/widget.h"
DownloadStartedAnimationViews::DownloadStartedAnimationViews(
content::WebContents* web_contents,
base::TimeDelta duration,
const ui::ImageModel& image)
: … { … }
int DownloadStartedAnimationViews::GetWidth() const { … }
int DownloadStartedAnimationViews::GetHeight() const { … }
bool DownloadStartedAnimationViews::WebContentsTooSmall(
const gfx::Size& image_size) const { … }
void DownloadStartedAnimationViews::Reposition() { … }
void DownloadStartedAnimationViews::Close() { … }
void DownloadStartedAnimationViews::AnimateToState(double state) { … }
BEGIN_METADATA(…)