OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:cachedImage
(Results
1 - 25
of
41
) sorted by null
1
2
/external/chromium_org/third_party/WebKit/Source/core/fetch/
ImageResourceTest.cpp
88
ResourcePtr<ImageResource>
cachedImage
= new ImageResource(ResourceRequest());
89
cachedImage
->setLoading(true);
92
cachedImage
->addClient(&client);
95
cachedImage
->responseReceived(ResourceResponse(KURL(), "multipart/x-mixed-replace", 0, nullAtom, String()));
96
ASSERT_FALSE(
cachedImage
->resourceBuffer());
97
ASSERT_FALSE(
cachedImage
->hasImage());
104
cachedImage
->responseReceived(ResourceResponse(KURL(), "image/svg+xml", svgDataLength, nullAtom, String()));
105
ASSERT_FALSE(
cachedImage
->resourceBuffer());
106
ASSERT_FALSE(
cachedImage
->hasImage());
111
cachedImage
->appendData(svgData, svgDataLength)
[
all
...]
/external/chromium_org/third_party/WebKit/Source/core/html/
HTMLImageLoader.cpp
66
ImageResource*
cachedImage
= image();
69
ImageLoader::notifyFinished(
cachedImage
);
71
bool loadError =
cachedImage
->errorOccurred() ||
cachedImage
->response().httpStatusCode() >= 400;
ImageDocument.cpp
131
if (document()->
cachedImage
())
132
document()->
cachedImage
()->appendData(data, length);
141
if (!isStopped() && document()->imageElement() && document()->
cachedImage
()) {
142
ImageResource*
cachedImage
= document()->
cachedImage
();
143
cachedImage
->finish();
144
cachedImage
->setResponse(document()->frame()->loader().documentLoader()->response());
148
IntSize size = flooredIntSize(
cachedImage
->imageSizeForRenderer(document()->imageElement()->renderer(), 1.0f));
227
LayoutSize imageSize = m_imageElement->
cachedImage
()->imageSizeForRenderer(m_imageElement->renderer(), pageZoomFactor(this));
241
LayoutSize imageSize = m_imageElement->
cachedImage
()->imageSizeForRenderer(m_imageElement->renderer(), pageZoomFactor(this))
[
all
...]
ImageDocument.h
48
ImageResource*
cachedImage
();
HTMLImageElement.cpp
346
if (!imageLoader().image() && !renderImageResource->
cachedImage
())
570
if (!complete() || !
cachedImage
()) {
575
if (
cachedImage
()->errorOccurred()) {
580
RefPtr<Image> sourceImage =
cachedImage
()->imageForRenderer(renderer());
592
ImageResource* image =
cachedImage
();
600
ImageResource* image =
cachedImage
();
611
ImageResource* image =
cachedImage
();
654
return
cachedImage
()->response().url();
HTMLImageElement.h
64
ImageResource*
cachedImage
() const { return imageLoader().image(); }
/external/chromium_org/third_party/WebKit/Source/core/frame/
ImageBitmapTest.cpp
92
ASSERT_EQ(imageBitmapNoCrop->bitmapImage().get(), imageElement->
cachedImage
()->image());
93
ASSERT_EQ(imageBitmapInteriorCrop->bitmapImage().get(), imageElement->
cachedImage
()->image());
94
ASSERT_EQ(imageBitmapExteriorCrop->bitmapImage().get(), imageElement->
cachedImage
()->image());
97
ASSERT_NE(emptyImage.get(), imageElement->
cachedImage
()->image());
136
ASSERT_EQ(memoryCache()->priority(imageNoCrop->
cachedImage
()), MemoryCacheLiveResourcePriorityLow);
137
ASSERT_EQ(memoryCache()->priority(imageInteriorCrop->
cachedImage
()), MemoryCacheLiveResourcePriorityLow);
138
ASSERT_EQ(memoryCache()->priority(imageExteriorCrop->
cachedImage
()), MemoryCacheLiveResourcePriorityLow);
139
ASSERT_EQ(memoryCache()->priority(imageOutsideCrop->
cachedImage
()), MemoryCacheLiveResourcePriorityLow);
149
ASSERT_EQ(memoryCache()->priority(imageNoCrop->
cachedImage
()), MemoryCacheLiveResourcePriorityHigh);
150
ASSERT_EQ(memoryCache()->priority(imageInteriorCrop->
cachedImage
()), MemoryCacheLiveResourcePriorityHigh)
[
all
...]
/external/chromium_org/third_party/WebKit/Source/core/css/
CSSImageValue.h
49
StyleFetchedImage*
cachedImage
(ResourceFetcher*, const ResourceLoaderOptions&);
50
StyleFetchedImage*
cachedImage
(ResourceFetcher* fetcher) { return
cachedImage
(fetcher, ResourceFetcher::defaultResourceOptions()); }
CSSImageValue.cpp
57
StyleFetchedImage* CSSImageValue::
cachedImage
(ResourceFetcher* fetcher, const ResourceLoaderOptions& options)
70
if (ResourcePtr<ImageResource>
cachedImage
= fetcher->fetchImage(request))
71
m_image = StyleFetchedImage::create(
cachedImage
.get());
84
ImageResource* resource = m_image->
cachedImage
();
96
if (Resource* cachedResource = toStyleFetchedImage(m_image)->
cachedImage
())
CSSCursorImageValue.cpp
124
StyleImage* CSSCursorImageValue::
cachedImage
(ResourceFetcher* loader, float deviceScaleFactor)
141
StyleFetchedImage*
cachedImage
= svgImageValue->
cachedImage
(loader);
142
m_image =
cachedImage
;
143
return
cachedImage
;
148
m_image = toCSSImageValue(m_imageValue.get())->
cachedImage
(loader);
182
return toStyleFetchedImage(m_image)->
cachedImage
()->url().string();
CSSCursorImageValue.h
54
StyleImage*
cachedImage
(ResourceFetcher*, float deviceScaleFactor);
CSSImageSetValue.cpp
113
if (ResourcePtr<ImageResource>
cachedImage
= loader->fetchImage(request)) {
114
m_imageSet = StyleFetchedImageSet::create(
cachedImage
.get(), image.scaleFactor, this);
177
if (Resource* cachedResource = toStyleFetchedImageSet(m_imageSet)->
cachedImage
())
/external/chromium_org/third_party/WebKit/Source/core/rendering/
RenderImage.cpp
160
if (m_imageResource->
cachedImage
() && m_imageResource->
cachedImage
()->hasDevicePixelRatioHeaderValue())
161
m_imageDevicePixelRatio = 1 / m_imageResource->
cachedImage
()->devicePixelRatioHeaderValue();
173
imageSizeChanged = setImageSizeForAltText(m_imageResource->
cachedImage
());
266
if (newImage == m_imageResource->
cachedImage
()) {
313
if (m_imageResource->
cachedImage
() && !m_imageResource->
cachedImage
()->isLoaded())
332
return m_imageResource->
cachedImage
() && m_imageResource->
cachedImage
()->currentFrameKnownToBeOpaque(this);
400
if (!m_imageResource || !m_imageResource->
cachedImage
() || m_imageResource->cachedImage()->isLoaded()
[
all
...]
RenderImageResourceStyleImage.cpp
52
m_cachedImage = toStyleFetchedImage(m_styleImage)->
cachedImage
();
RenderImage.h
52
ImageResource*
cachedImage
() const { return m_imageResource ? m_imageResource->
cachedImage
() : 0; }
RenderImageResource.h
51
ImageResource*
cachedImage
() const { return m_cachedImage.get(); }
/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/
RenderSVGImage.cpp
73
ImageResource*
cachedImage
= m_imageResource->
cachedImage
();
74
if (!
cachedImage
)
79
cachedImage
->computeIntrinsicDimensions(intrinsicWidth, intrinsicHeight, intrinsicRatio);
/external/chromium_org/third_party/WebKit/Source/core/clipboard/
DataTransfer.cpp
224
setDragImageResource(toHTMLImageElement(*image).
cachedImage
(), location);
272
if (image->
cachedImage
() && !image->
cachedImage
()->errorOccurred())
273
return image->
cachedImage
();
281
ImageResource*
cachedImage
= getImageResource(element);
282
if (!
cachedImage
|| !
cachedImage
->imageForRenderer(element->renderer()) || !
cachedImage
->isLoaded())
285
SharedBuffer* imageBuffer =
cachedImage
->imageForRenderer(element->renderer())->data();
289
String imageExtension =
cachedImage
->image()->filenameExtension()
[
all
...]
/external/chromium_org/third_party/WebKit/Source/core/rendering/style/
ShapeValue.h
74
return image()->
cachedImage
() && image()->
cachedImage
()->hasImage();
StyleFetchedImage.h
58
virtual ImageResource*
cachedImage
() const OVERRIDE { return m_image.get(); }
StyleFetchedImageSet.h
73
virtual ImageResource*
cachedImage
() const OVERRIDE { return m_bestFitImage.get(); }
StyleImage.h
69
virtual ImageResource*
cachedImage
() const { return 0; }
/external/chromium_org/third_party/WebKit/Source/core/imagebitmap/
ImageBitmapFactories.cpp
56
if (ImageResource*
cachedImage
= image->
cachedImage
())
57
return
cachedImage
->imageSizeForRenderer(image->renderer(), 1.0f); // FIXME: Not sure about this.
91
if (!image->
cachedImage
()) {
95
if (image->
cachedImage
()->image()->isSVGImage()) {
103
if (!image->
cachedImage
()->image()->currentFrameHasSingleSecurityOrigin()) {
107
if (!image->
cachedImage
()->passesAccessControlCheck(eventTarget.toDOMWindow()->document()->securityOrigin()) && eventTarget.toDOMWindow()->document()->securityOrigin()->taintsCanvas(image->src())) {
/external/chromium_org/third_party/WebKit/Source/core/page/
PageSerializer.cpp
231
ImageResource*
cachedImage
= imageElement.
cachedImage
();
232
addImageToResources(
cachedImage
, imageElement.renderer(), url);
237
ImageResource*
cachedImage
= inputElement.imageLoader()->image();
238
addImageToResources(
cachedImage
, inputElement.renderer(), url);
365
addImageToResources(styleImage->
cachedImage
(), 0, styleImage->
cachedImage
()->url());
/external/chromium_org/third_party/WebKit/Source/core/loader/
ImageLoader.cpp
438
ImageResource*
cachedImage
= imageResource->
cachedImage
();
439
if (m_image !=
cachedImage
&& (m_imageComplete || !
cachedImage
))
Completed in 1810 milliseconds
1
2