HomeSort by relevance Sort by last modified time
    Searched refs:ImageResource (Results 1 - 25 of 61) sorted by null

1 2 3

  /external/chromium_org/third_party/WebKit/Source/core/fetch/
ImageResourceClient.h 30 class ImageResource;
41 virtual void imageChanged(ImageResource*, const IntRect* = 0) { }
47 virtual bool willRenderImage(ImageResource*) { return false; }
ImageResource.cpp 25 #include "core/fetch/ImageResource.h"
45 ImageResource::ImageResource(const ResourceRequest& resourceRequest)
56 ImageResource::ImageResource(WebCore::Image* image)
65 ImageResource::ImageResource(const ResourceRequest& resourceRequest, WebCore::Image* image)
74 ImageResource::~ImageResource()
79 void ImageResource::load(ResourceFetcher* fetcher, const ResourceLoaderOptions& options
    [all...]
ResourceLoadPriorityOptimizer.h 34 #include "core/fetch/ImageResource.h"
50 void notifyImageResourceVisibility(ImageResource*, VisibilityStatus, const LayoutRect&);
64 ResourceAndVisibility(ImageResource*, VisibilityStatus, uint32_t);
66 ResourcePtr<ImageResource> imageResource;
MockImageResourceClient.h 49 virtual void imageChanged(ImageResource*, const IntRect*) OVERRIDE
ResourceFetcherTest.cpp 63 ResourcePtr<ImageResource> image = fetcher->fetchImage(fetchRequest);
64 EXPECT_EQ(image.get(), static_cast<ImageResource*>(0));
ImageResource.h 44 class ImageResource FINAL : public Resource, public ImageObserver {
50 ImageResource(const ResourceRequest&);
51 ImageResource(WebCore::Image*);
53 ImageResource(const ResourceRequest&, WebCore::Image*);
54 virtual ~ImageResource();
ImageResourceTest.cpp 32 #include "core/fetch/ImageResource.h"
55 ResourcePtr<ImageResource> cachedImage = new ImageResource(ResourceRequest());
112 ResourcePtr<ImageResource> cachedImage = new ImageResource(ResourceRequest(testURL));
137 ResourcePtr<ImageResource> cachedImage = new ImageResource(ResourceRequest());
178 // The prune comes when the ImageResource still has clients. The image should not be deleted.
184 // The ImageResource no longer has clients. The image should be deleted by prune.
ResourceLoadPriorityOptimizer.cpp 46 ResourceLoadPriorityOptimizer::ResourceAndVisibility::ResourceAndVisibility(ImageResource* image, VisibilityStatus visibilityStatus, uint32_t screenArea)
47 : imageResource(image)
103 if (priority != it->value->imageResource->resourceRequest().priority()) {
104 it->value->imageResource->resourceRequest().setPriority(priority, it->value->screenArea);
105 it->value->imageResource->didChangePriority(priority, it->value->screenArea);
111 void ResourceLoadPriorityOptimizer::notifyImageResourceVisibility(ImageResource* img, VisibilityStatus status, const LayoutRect& screenRect)
  /external/chromium_org/third_party/WebKit/Source/core/rendering/
RenderImageResource.h 29 #include "core/fetch/ImageResource.h"
50 void setImageResource(ImageResource*);
51 ImageResource* cachedImage() const { return m_cachedImage.get(); }
67 virtual LayoutSize imageSize(float multiplier) const { return getImageSize(multiplier, ImageResource::NormalSize); }
68 virtual LayoutSize intrinsicSize(float multiplier) const { return getImageSize(multiplier, ImageResource::IntrinsicSize); }
75 ResourcePtr<ImageResource> m_cachedImage;
78 LayoutSize getImageSize(float multiplier, ImageResource::SizeType) const;
RenderImage.h 45 RenderImageResource* imageResource() { return m_imageResource.get(); }
46 const RenderImageResource* imageResource() const { return m_imageResource.get(); }
47 ImageResource* cachedImage() const { return m_imageResource ? m_imageResource->cachedImage() : 0; }
49 bool setImageSizeForAltText(ImageResource* newImage = 0);
103 IntSize imageSizeForError(ImageResource*) const;
RenderImageResource.cpp 61 void RenderImageResource::setImageResource(ImageResource* newImage)
100 LayoutSize RenderImageResource::getImageSize(float multiplier, ImageResource::SizeType type) const
  /external/chromium_org/third_party/WebKit/Source/core/rendering/style/
StyleFetchedImage.h 33 class ImageResource;
38 static PassRefPtr<StyleFetchedImage> create(ImageResource* image) { return adoptRef(new StyleFetchedImage(image)); }
58 virtual ImageResource* cachedImage() const OVERRIDE { return m_image.get(); }
61 explicit StyleFetchedImage(ImageResource*);
63 ResourcePtr<ImageResource> m_image;
StyleFetchedImageSet.h 36 class ImageResource;
44 static PassRefPtr<StyleFetchedImageSet> create(ImageResource* image, float imageScaleFactor, CSSImageSetValue* value)
73 virtual ImageResource* cachedImage() const OVERRIDE { return m_bestFitImage.get(); }
76 StyleFetchedImageSet(ImageResource*, float imageScaleFactor, CSSImageSetValue*);
78 ResourcePtr<ImageResource> m_bestFitImage;
StyleImage.h 37 class ImageResource;
69 virtual ImageResource* cachedImage() const { return 0; }
  /external/chromium_org/third_party/WebKit/Source/core/css/
CSSCrossfadeValue.h 31 #include "core/fetch/ImageResource.h"
38 class ImageResource;
88 virtual void imageChanged(ImageResource*, const IntRect* = 0) OVERRIDE;
101 ResourcePtr<ImageResource> m_cachedFromImage;
102 ResourcePtr<ImageResource> m_cachedToImage;
CSSCrossfadeValue.cpp 63 static ImageResource* cachedImageForCSSValue(CSSValue* value, ResourceFetcher* fetcher)
114 ImageResource* cachedFromImage = cachedImageForCSSValue(m_fromValue.get(), fetcher);
115 ImageResource* cachedToImage = cachedImageForCSSValue(m_toValue.get(), fetcher);
144 ResourcePtr<ImageResource> oldCachedFromImage = m_cachedFromImage;
145 ResourcePtr<ImageResource> oldCachedToImage = m_cachedToImage;
173 ImageResource* cachedFromImage = cachedImageForCSSValue(m_fromValue.get(), fetcher);
174 ImageResource* cachedToImage = cachedImageForCSSValue(m_toValue.get(), fetcher);
199 void CSSCrossfadeValue::CrossfadeSubimageObserverProxy::imageChanged(ImageResource*, const IntRect* rect)
CSSImageValue.cpp 29 #include "core/fetch/ImageResource.h"
70 if (ResourcePtr<ImageResource> cachedImage = fetcher->fetchImage(request))
84 ImageResource* resource = m_image->cachedImage();
  /external/chromium_org/third_party/WebKit/Source/core/html/
ImageDocument.h 33 class ImageResource;
48 ImageResource* cachedImage();
HTMLImageLoader.cpp 28 #include "core/fetch/ImageResource.h"
63 ImageResource* cachedImage = image();
  /external/chromium_org/third_party/WebKit/Source/core/page/
PageSerializer.h 43 class ImageResource;
81 void addImageToResources(ImageResource*, RenderObject*, const KURL&);
  /external/chromium_org/third_party/WebKit/Source/core/loader/
ImageLoader.h 26 #include "core/fetch/ImageResource.h"
42 // Determines whether the observed ImageResource should have higher priority in the decoded resources cache.
85 ImageResource* image() const { return m_image.get(); }
86 void setImage(ImageResource*); // Cancels pending load events, and doesn't dispatch new ones.
123 void setImageWithoutConsideringPendingLoadEvent(ImageResource*);
138 ResourcePtr<ImageResource> m_image;
ImageLoader.cpp 132 void ImageLoader::setImage(ImageResource* newImage)
141 void ImageLoader::setImageWithoutConsideringPendingLoadEvent(ImageResource* newImage)
144 ImageResource* oldImage = m_image.get();
163 if (RenderImageResource* imageResource = renderImageResource())
164 imageResource->resetAnimation();
184 ResourcePtr<ImageResource> newImage = 0;
197 newImage = new ImageResource(request.resourceRequest());
221 ImageResource* oldImage = m_image.get();
258 if (RenderImageResource* imageResource = renderImageResource())
259 imageResource->resetAnimation()
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/clipboard/
Clipboard.h 47 class ImageResource;
83 ImageResource* dragImageResource() const { return m_dragImage.get(); }
84 void setDragImageResource(ImageResource*, const IntPoint&);
122 void setDragImage(ImageResource*, Node*, const IntPoint&);
135 ResourcePtr<ImageResource> m_dragImage;
  /external/chromium_org/third_party/WebKit/Source/core/frame/
ImageBitmapTest.cpp 36 #include "core/fetch/ImageResource.h"
93 imageElement->setImageResource(new ImageResource(BitmapImage::create(NativeImageSkia::create(m_bitmap)).get()));
113 ResourcePtr<ImageResource> cachedImageNoCrop = new ImageResource(ResourceRequest("http://foo.com/1"), BitmapImage::create(NativeImageSkia::create(m_bitmap)).get());
117 ResourcePtr<ImageResource> cachedImageInteriorCrop = new ImageResource(ResourceRequest("http://foo.com/2"), BitmapImage::create(NativeImageSkia::create(m_bitmap)).get());
121 ResourcePtr<ImageResource> cachedImageExteriorCrop = new ImageResource(ResourceRequest("http://foo.com/3"), BitmapImage::create(NativeImageSkia::create(m_bitmap)).get());
125 ResourcePtr<ImageResource> cachedImageOutsideCrop = new ImageResource(ResourceRequest("http://foo.com/4"), BitmapImage::create(NativeImageSkia::create(m_bitmap)).get())
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/svg/
SVGFEImageElement.h 25 #include "core/fetch/ImageResource.h"
66 ResourcePtr<ImageResource> m_cachedImage;

Completed in 1504 milliseconds

1 2 3