Lines Matching defs:image
11 #include "ui/gfx/image/image_skia.h"
12 #include "ui/gfx/image/image_skia_rep.h"
13 #include "ui/gfx/image/image_unittest_util.h"
17 // Helper function to check that the image is sized properly
19 void VerifyScaling(gfx::Image& image, gfx::Size& size) {
24 ASSERT_FALSE(gfx::test::IsEmpty(image));
25 EXPECT_EQ(image.Size(), size);
27 gfx::ImageSkia image_skia = *image.ToImageSkia();
29 EXPECT_TRUE(image.ToImageSkia()->HasRepresentation(1.0f));
32 EXPECT_TRUE(image.ToImageSkia()->HasRepresentation(2.0f));
45 // Test that a rectangular picture (e.g., GAIA image) is changed.