#include "ui/views/controls/animated_image_view.h"
#include "base/memory/raw_ptr.h"
#include "base/memory/scoped_refptr.h"
#include "cc/paint/display_item_list.h"
#include "cc/paint/paint_op_buffer_iterator.h"
#include "cc/test/skia_common.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/compositor/paint_context.h"
#include "ui/gfx/geometry/rect.h"
#include "ui/gfx/geometry/size.h"
#include "ui/gfx/geometry/vector2d.h"
#include "ui/lottie/animation.h"
#include "ui/views/paint_info.h"
#include "ui/views/test/views_test_base.h"
#include "ui/views/test/views_test_utils.h"
#include "ui/views/widget/widget.h"
namespace views {
namespace {
FloatEq;
NotNull;
template <typename T>
const T* FindPaintOp(const cc::PaintRecord& paint_record,
cc::PaintOpType paint_op_type) { … }
class AnimatedImageViewTest : public ViewsTestBase { … };
TEST_F(AnimatedImageViewTest, PaintsWithAdditionalTranslation) { … }
TEST_F(AnimatedImageViewTest, PlayBeforeWidget) { … }
}
}