image 719 Source/core/accessibility/AXRenderObject.cpp RenderImage* image = toRenderImage(m_renderer); image 720 Source/core/accessibility/AXRenderObject.cpp if (image->height() <= 1 || image->width() <= 1) image 724 Source/core/accessibility/AXRenderObject.cpp if (image->cachedImage()) { image 725 Source/core/accessibility/AXRenderObject.cpp LayoutSize imageSize = image->cachedImage()->imageSizeForRenderer(m_renderer, image->view()->zoomFactor()); image 2060 Source/core/accessibility/AXRenderObject.cpp Image* image = cachedImage->image(); image 2061 Source/core/accessibility/AXRenderObject.cpp if (!image || !image->isSVGImage()) image 2064 Source/core/accessibility/AXRenderObject.cpp FrameView* frameView = toSVGImage(image)->frameView(); image 43 Source/core/animation/AnimatableImage.h static PassRefPtrWillBeRawPtr<AnimatableImage> create(const StyleImage& image) image 45 Source/core/animation/AnimatableImage.h return create(image.cssValue()); image 157 Source/core/animation/css/CSSAnimatableValueFactory.cpp inline static PassRefPtrWillBeRawPtr<AnimatableValue> createFromStyleImage(StyleImage* image) image 159 Source/core/animation/css/CSSAnimatableValueFactory.cpp if (image) image 160 Source/core/animation/css/CSSAnimatableValueFactory.cpp return AnimatableImage::create(*image); image 199 Source/core/animation/css/CSSAnimatableValueFactory.cpp values.append(createFromStyleImage(fillLayer->image())); image 42 Source/core/animation/css/CSSPropertyEquality.cpp if (!StyleImage::imagesEquivalent(aLayer->image(), bLayer->image())) image 215 Source/core/clipboard/Clipboard.cpp void Clipboard::setDragImage(Element* image, int x, int y, ExceptionState& exceptionState) image 220 Source/core/clipboard/Clipboard.cpp if (!image) { image 225 Source/core/clipboard/Clipboard.cpp if (isHTMLImageElement(*image) && !image->inDocument()) image 226 Source/core/clipboard/Clipboard.cpp setDragImageResource(toHTMLImageElement(*image).cachedImage(), location); image 228 Source/core/clipboard/Clipboard.cpp setDragImageElement(image, location); image 250 Source/core/clipboard/Clipboard.cpp return DragImage::create(m_dragImage->image()); image 263 Source/core/clipboard/Clipboard.cpp RenderImage* image = toRenderImage(renderer); image 264 Source/core/clipboard/Clipboard.cpp if (image->cachedImage() && !image->cachedImage()->errorOccurred()) image 265 Source/core/clipboard/Clipboard.cpp return image->cachedImage(); image 281 Source/core/clipboard/Clipboard.cpp String imageExtension = cachedImage->image()->filenameExtension(); image 468 Source/core/clipboard/Clipboard.cpp void Clipboard::setDragImage(ImageResource* image, Node* node, const IntPoint& loc) image 473 Source/core/clipboard/Clipboard.cpp m_dragImage = image; image 81 Source/core/clipboard/Pasteboard.cpp void Pasteboard::writeImage(Image* image, const KURL& url, const String& title) image 83 Source/core/clipboard/Pasteboard.cpp ASSERT(image); image 85 Source/core/clipboard/Pasteboard.cpp RefPtr<NativeImageSkia> bitmap = image->nativeImageForCurrentFrame(); image 25 Source/core/css/CSSBorderImage.cpp PassRefPtrWillBeRawPtr<CSSValueList> createBorderImageValue(PassRefPtrWillBeRawPtr<CSSValue> image, PassRefPtrWillBeRawPtr<CSSValue> imageSlice, image 29 Source/core/css/CSSBorderImage.cpp if (image) image 30 Source/core/css/CSSBorderImage.cpp list->append(image); image 29 Source/core/css/CSSBorderImage.h PassRefPtrWillBeRawPtr<CSSValueList> createBorderImageValue(PassRefPtrWillBeRawPtr<CSSValue> image, PassRefPtrWillBeRawPtr<CSSValue> imageSlice, PassRefPtrWillBeRawPtr<CSSValue> borderSlice, image 46 Source/core/css/CSSCanvasValue.h PassRefPtr<Image> image(RenderObject*, const IntSize&); image 400 Source/core/css/CSSComputedStyleDeclaration.cpp static PassRefPtrWillBeRawPtr<CSSBorderImageSliceValue> valueForNinePieceImageSlice(const NinePieceImage& image) image 408 Source/core/css/CSSComputedStyleDeclaration.cpp if (image.imageSlices().top().isPercent()) image 409 Source/core/css/CSSComputedStyleDeclaration.cpp top = cssValuePool().createValue(image.imageSlices().top().value(), CSSPrimitiveValue::CSS_PERCENTAGE); image 411 Source/core/css/CSSComputedStyleDeclaration.cpp top = cssValuePool().createValue(image.imageSlices().top().value(), CSSPrimitiveValue::CSS_NUMBER); image 413 Source/core/css/CSSComputedStyleDeclaration.cpp if (image.imageSlices().right() == image.imageSlices().top() && image.imageSlices().bottom() == image.imageSlices().top() image 414 Source/core/css/CSSComputedStyleDeclaration.cpp && image.imageSlices().left() == image.imageSlices().top()) { image 419 Source/core/css/CSSComputedStyleDeclaration.cpp if (image.imageSlices().right().isPercent()) image 420 Source/core/css/CSSComputedStyleDeclaration.cpp right = cssValuePool().createValue(image.imageSlices().right().value(), CSSPrimitiveValue::CSS_PERCENTAGE); image 422 Source/core/css/CSSComputedStyleDeclaration.cpp right = cssValuePool().createValue(image.imageSlices().right().value(), CSSPrimitiveValue::CSS_NUMBER); image 424 Source/core/css/CSSComputedStyleDeclaration.cpp if (image.imageSlices().bottom() == image.imageSlices().top() && image.imageSlices().right() == image.imageSlices().left()) { image 428 Source/core/css/CSSComputedStyleDeclaration.cpp if (image.imageSlices().bottom().isPercent()) image 429 Source/core/css/CSSComputedStyleDeclaration.cpp bottom = cssValuePool().createValue(image.imageSlices().bottom().value(), CSSPrimitiveValue::CSS_PERCENTAGE); image 431 Source/core/css/CSSComputedStyleDeclaration.cpp bottom = cssValuePool().createValue(image.imageSlices().bottom().value(), CSSPrimitiveValue::CSS_NUMBER); image 433 Source/core/css/CSSComputedStyleDeclaration.cpp if (image.imageSlices().left() == image.imageSlices().right()) image 436 Source/core/css/CSSComputedStyleDeclaration.cpp if (image.imageSlices().left().isPercent()) image 437 Source/core/css/CSSComputedStyleDeclaration.cpp left = cssValuePool().createValue(image.imageSlices().left().value(), CSSPrimitiveValue::CSS_PERCENTAGE); image 439 Source/core/css/CSSComputedStyleDeclaration.cpp left = cssValuePool().createValue(image.imageSlices().left().value(), CSSPrimitiveValue::CSS_NUMBER); image 450 Source/core/css/CSSComputedStyleDeclaration.cpp return CSSBorderImageSliceValue::create(cssValuePool().createValue(quad.release()), image.fill()); image 505 Source/core/css/CSSComputedStyleDeclaration.cpp static PassRefPtrWillBeRawPtr<CSSValue> valueForNinePieceImageRepeat(const NinePieceImage& image) image 510 Source/core/css/CSSComputedStyleDeclaration.cpp horizontalRepeat = cssValuePool().createIdentifierValue(valueForRepeatRule(image.horizontalRule())); image 511 Source/core/css/CSSComputedStyleDeclaration.cpp if (image.horizontalRule() == image.verticalRule()) image 514 Source/core/css/CSSComputedStyleDeclaration.cpp verticalRepeat = cssValuePool().createIdentifierValue(valueForRepeatRule(image.verticalRule())); image 518 Source/core/css/CSSComputedStyleDeclaration.cpp static PassRefPtrWillBeRawPtr<CSSValue> valueForNinePieceImage(const NinePieceImage& image, const RenderStyle& style) image 520 Source/core/css/CSSComputedStyleDeclaration.cpp if (!image.hasImage()) image 525 Source/core/css/CSSComputedStyleDeclaration.cpp if (image.image()) image 526 Source/core/css/CSSComputedStyleDeclaration.cpp imageValue = image.image()->cssValue(); image 529 Source/core/css/CSSComputedStyleDeclaration.cpp RefPtrWillBeRawPtr<CSSBorderImageSliceValue> imageSlices = valueForNinePieceImageSlice(image); image 532 Source/core/css/CSSComputedStyleDeclaration.cpp RefPtrWillBeRawPtr<CSSValue> borderSlices = valueForNinePieceImageQuad(image.borderSlices(), style); image 535 Source/core/css/CSSComputedStyleDeclaration.cpp RefPtrWillBeRawPtr<CSSValue> outset = valueForNinePieceImageQuad(image.outset(), style); image 538 Source/core/css/CSSComputedStyleDeclaration.cpp RefPtrWillBeRawPtr<CSSValue> repeat = valueForNinePieceImageRepeat(image); image 1341 Source/core/css/CSSComputedStyleDeclaration.cpp const StyleImage* image = static_cast<const ImageContentData*>(contentData)->image(); image 1342 Source/core/css/CSSComputedStyleDeclaration.cpp ASSERT(image); image 1343 Source/core/css/CSSComputedStyleDeclaration.cpp list->append(image->cssValue()); image 1446 Source/core/css/CSSComputedStyleDeclaration.cpp if (shapeValue->image()) image 1447 Source/core/css/CSSComputedStyleDeclaration.cpp return shapeValue->image()->cssValue(); image 1613 Source/core/css/CSSComputedStyleDeclaration.cpp if (layers->image()) image 1614 Source/core/css/CSSComputedStyleDeclaration.cpp return layers->image()->cssValue(); image 1621 Source/core/css/CSSComputedStyleDeclaration.cpp if (currLayer->image()) image 1622 Source/core/css/CSSComputedStyleDeclaration.cpp list->append(currLayer->image()->cssValue()); image 1862 Source/core/css/CSSComputedStyleDeclaration.cpp if (StyleImage* image = cursors->at(i).image()) image 1863 Source/core/css/CSSComputedStyleDeclaration.cpp list->append(image->cssValue()); image 55 Source/core/css/CSSCrossfadeValue.h PassRefPtr<Image> image(RenderObject*, const IntSize&); image 90 Source/core/css/CSSGradientValue.h PassRefPtr<Image> image(RenderObject*, const IntSize&); image 106 Source/core/css/CSSImageGeneratorValue.cpp void CSSImageGeneratorValue::putImage(const IntSize& size, PassRefPtr<Image> image) image 108 Source/core/css/CSSImageGeneratorValue.cpp m_images.add(size, image); image 115 Source/core/css/CSSImageGeneratorValue.cpp return toCSSCanvasValue(this)->image(renderer, size); image 117 Source/core/css/CSSImageGeneratorValue.cpp return toCSSCrossfadeValue(this)->image(renderer, size); image 119 Source/core/css/CSSImageGeneratorValue.cpp return toCSSLinearGradientValue(this)->image(renderer, size); image 121 Source/core/css/CSSImageGeneratorValue.cpp return toCSSRadialGradientValue(this)->image(renderer, size); image 60 Source/core/css/CSSImageGeneratorValue.h PassRefPtr<Image> image(RenderObject*, const IntSize&); image 68 Source/core/css/CSSImageSetValue.cpp ImageWithScale image; image 69 Source/core/css/CSSImageSetValue.cpp image.imageURL = imageURL; image 70 Source/core/css/CSSImageSetValue.cpp image.scaleFactor = scaleFactor; image 71 Source/core/css/CSSImageSetValue.cpp m_imagesInSet.append(image); image 81 Source/core/css/CSSImageSetValue.cpp ImageWithScale image; image 84 Source/core/css/CSSImageSetValue.cpp image = m_imagesInSet.at(i); image 85 Source/core/css/CSSImageSetValue.cpp if (image.scaleFactor >= m_scaleFactor) image 86 Source/core/css/CSSImageSetValue.cpp return image; image 88 Source/core/css/CSSImageSetValue.cpp return image; image 104 Source/core/css/CSSImageSetValue.cpp ImageWithScale image = bestImageForScaleFactor(); image 106 Source/core/css/CSSImageSetValue.cpp FetchRequest request(ResourceRequest(document->completeURL(image.imageURL)), FetchInitiatorTypeNames::css, options); image 112 Source/core/css/CSSImageSetValue.cpp m_imageSet = StyleFetchedImageSet::create(cachedImage.get(), image.scaleFactor, this); image 36 Source/core/css/CSSImageValue.cpp CSSImageValue::CSSImageValue(const String& rawValue, const KURL& url, StyleImage* image) image 40 Source/core/css/CSSImageValue.cpp , m_image(image) image 41 Source/core/css/CSSImageValue.cpp , m_accessedImage(image) image 39 Source/core/css/CSSImageValue.h static PassRefPtrWillBeRawPtr<CSSImageValue> create(const KURL& url, StyleImage* image = 0) image 41 Source/core/css/CSSImageValue.h return adoptRefWillBeRefCountedGarbageCollected(new CSSImageValue(url, url, image)); image 43 Source/core/css/CSSImageValue.h static PassRefPtrWillBeRawPtr<CSSImageValue> create(const String& rawValue, const KURL& url, StyleImage* image = 0) image 45 Source/core/css/CSSImageValue.h return adoptRefWillBeRefCountedGarbageCollected(new CSSImageValue(rawValue, url, image)); image 635 Source/core/css/parser/CSSPropertyParser.cpp RefPtrWillBeRawPtr<CSSValue> image = nullptr; image 639 Source/core/css/parser/CSSPropertyParser.cpp image = CSSImageValue::create(uri, completeURL(uri)); image 641 Source/core/css/parser/CSSPropertyParser.cpp image = parseImageSet(m_valueList.get()); image 642 Source/core/css/parser/CSSPropertyParser.cpp if (!image) image 666 Source/core/css/parser/CSSPropertyParser.cpp if (image) image 667 Source/core/css/parser/CSSPropertyParser.cpp list->append(CSSCursorImageValue::create(image, hasHotSpot, hotSpot)); image 5709 Source/core/css/parser/CSSPropertyParser.cpp void commitImage(PassRefPtrWillBeRawPtr<CSSValue> image) image 5711 Source/core/css/parser/CSSPropertyParser.cpp m_image = image; image 7119 Source/core/css/parser/CSSPropertyParser.cpp RefPtrWillBeRawPtr<CSSImageValue> image = CSSImageValue::create(arg->string, completeURL(arg->string)); image 7120 Source/core/css/parser/CSSPropertyParser.cpp imageSet->append(image); image 519 Source/core/css/resolver/CSSToStyleMap.cpp void CSSToStyleMap::mapNinePieceImage(RenderStyle* mutableStyle, CSSPropertyID property, CSSValue* value, NinePieceImage& image) image 541 Source/core/css/resolver/CSSToStyleMap.cpp image.setImage(styleImage(imageProperty, current)); image 543 Source/core/css/resolver/CSSToStyleMap.cpp mapNinePieceImageSlice(current, image); image 548 Source/core/css/resolver/CSSToStyleMap.cpp mapNinePieceImageSlice(slashList->item(0), image); image 552 Source/core/css/resolver/CSSToStyleMap.cpp image.setBorderSlices(mapNinePieceImageQuad(slashList->item(1))); image 556 Source/core/css/resolver/CSSToStyleMap.cpp image.setOutset(mapNinePieceImageQuad(slashList->item(2))); image 559 Source/core/css/resolver/CSSToStyleMap.cpp mapNinePieceImageRepeat(current, image); image 567 Source/core/css/resolver/CSSToStyleMap.cpp if (image.borderSlices().top().isLength() && image.borderSlices().top().length().isFixed()) image 568 Source/core/css/resolver/CSSToStyleMap.cpp mutableStyle->setBorderTopWidth(image.borderSlices().top().length().value()); image 569 Source/core/css/resolver/CSSToStyleMap.cpp if (image.borderSlices().right().isLength() && image.borderSlices().right().length().isFixed()) image 570 Source/core/css/resolver/CSSToStyleMap.cpp mutableStyle->setBorderRightWidth(image.borderSlices().right().length().value()); image 571 Source/core/css/resolver/CSSToStyleMap.cpp if (image.borderSlices().bottom().isLength() && image.borderSlices().bottom().length().isFixed()) image 572 Source/core/css/resolver/CSSToStyleMap.cpp mutableStyle->setBorderBottomWidth(image.borderSlices().bottom().length().value()); image 573 Source/core/css/resolver/CSSToStyleMap.cpp if (image.borderSlices().left().isLength() && image.borderSlices().left().length().isFixed()) image 574 Source/core/css/resolver/CSSToStyleMap.cpp mutableStyle->setBorderLeftWidth(image.borderSlices().left().length().value()); image 578 Source/core/css/resolver/CSSToStyleMap.cpp void CSSToStyleMap::mapNinePieceImageSlice(CSSValue* value, NinePieceImage& image) const image 605 Source/core/css/resolver/CSSToStyleMap.cpp image.setImageSlices(box); image 608 Source/core/css/resolver/CSSToStyleMap.cpp image.setFill(borderImageSlice->m_fill); image 639 Source/core/css/resolver/CSSToStyleMap.cpp void CSSToStyleMap::mapNinePieceImageRepeat(CSSValue* value, NinePieceImage& image) const image 667 Source/core/css/resolver/CSSToStyleMap.cpp image.setHorizontalRule(horizontalRule); image 684 Source/core/css/resolver/CSSToStyleMap.cpp image.setVerticalRule(verticalRule); image 71 Source/core/css/resolver/ElementStyleResources.cpp RefPtr<StyleImage> image = value->cachedOrPendingImageSet(m_deviceScaleFactor); image 72 Source/core/css/resolver/ElementStyleResources.cpp if (image && image->isPendingImage()) image 74 Source/core/css/resolver/ElementStyleResources.cpp return image.release(); image 79 Source/core/css/resolver/ElementStyleResources.cpp RefPtr<StyleImage> image = value->cachedOrPendingImage(); image 80 Source/core/css/resolver/ElementStyleResources.cpp if (image && image->isPendingImage()) image 82 Source/core/css/resolver/ElementStyleResources.cpp return image.release(); image 87 Source/core/css/resolver/ElementStyleResources.cpp RefPtr<StyleImage> image = value->cachedOrPendingImage(m_deviceScaleFactor); image 88 Source/core/css/resolver/ElementStyleResources.cpp if (image && image->isPendingImage()) image 90 Source/core/css/resolver/ElementStyleResources.cpp return image.release(); image 183 Source/core/css/resolver/StyleBuilderCustom.cpp CSSCursorImageValue* image = toCSSCursorImageValue(item); image 184 Source/core/css/resolver/StyleBuilderCustom.cpp if (image->updateIfSVGCursorIsUsed(state.element())) // Elements with SVG cursors are not allowed to share style. image 186 Source/core/css/resolver/StyleBuilderCustom.cpp state.style()->addCursor(state.styleImage(CSSPropertyCursor, image), image->hotSpot()); image 796 Source/core/css/resolver/StyleBuilderCustom.cpp NinePieceImage image; image 797 Source/core/css/resolver/StyleBuilderCustom.cpp state.styleMap().mapNinePieceImage(state.style(), CSSPropertyWebkitBorderImage, value, image); image 798 Source/core/css/resolver/StyleBuilderCustom.cpp state.style()->setBorderImage(image); image 106 Source/core/css/resolver/StyleResourceLoader.cpp StyleImage* image = shapeValue->image(); image 107 Source/core/css/resolver/StyleResourceLoader.cpp if (!image || !image->isPendingImage()) image 115 Source/core/css/resolver/StyleResourceLoader.cpp shapeValue->setImage(doLoadPendingImage(m_fetcher, toStylePendingImage(image), deviceScaleFactor, options)); image 130 Source/core/css/resolver/StyleResourceLoader.cpp if (backgroundLayer->image() && backgroundLayer->image()->isPendingImage()) image 131 Source/core/css/resolver/StyleResourceLoader.cpp backgroundLayer->setImage(loadPendingImage(toStylePendingImage(backgroundLayer->image()), elementStyleResources.deviceScaleFactor())); image 138 Source/core/css/resolver/StyleResourceLoader.cpp StyleImage* image = static_cast<ImageContentData*>(contentData)->image(); image 139 Source/core/css/resolver/StyleResourceLoader.cpp if (image->isPendingImage()) { image 140 Source/core/css/resolver/StyleResourceLoader.cpp RefPtr<StyleImage> loadedImage = loadPendingImage(toStylePendingImage(image), elementStyleResources.deviceScaleFactor()); image 152 Source/core/css/resolver/StyleResourceLoader.cpp if (StyleImage* image = currentCursor.image()) { image 153 Source/core/css/resolver/StyleResourceLoader.cpp if (image->isPendingImage()) image 154 Source/core/css/resolver/StyleResourceLoader.cpp currentCursor.setImage(loadPendingImage(toStylePendingImage(image), elementStyleResources.deviceScaleFactor())); image 173 Source/core/css/resolver/StyleResourceLoader.cpp if (maskImage.image() && maskImage.image()->isPendingImage()) { image 174 Source/core/css/resolver/StyleResourceLoader.cpp RefPtr<StyleImage> loadedImage = loadPendingImage(toStylePendingImage(maskImage.image()), elementStyleResources.deviceScaleFactor()); image 187 Source/core/css/resolver/StyleResourceLoader.cpp if (maskLayer->image() && maskLayer->image()->isPendingImage()) image 188 Source/core/css/resolver/StyleResourceLoader.cpp maskLayer->setImage(loadPendingImage(toStylePendingImage(maskLayer->image()), elementStyleResources.deviceScaleFactor())); image 436 Source/core/editing/Editor.cpp Image* image = cachedImage->imageForRenderer(renderer); image 437 Source/core/editing/Editor.cpp ASSERT(image); image 449 Source/core/editing/Editor.cpp pasteboard->writeImage(image, url, title); image 507 Source/core/editing/EditorCommand.cpp RefPtr<HTMLImageElement> image = HTMLImageElement::create(*frame.document()); image 508 Source/core/editing/EditorCommand.cpp image->setSrc(value); image 509 Source/core/editing/EditorCommand.cpp return executeInsertNode(frame, image.release()); image 55 Source/core/fetch/ImageResource.cpp ImageResource::ImageResource(WebCore::Image* image) image 57 Source/core/fetch/ImageResource.cpp , m_image(image) image 64 Source/core/fetch/ImageResource.cpp ImageResource::ImageResource(const ResourceRequest& resourceRequest, WebCore::Image* image) image 66 Source/core/fetch/ImageResource.cpp , m_image(image) image 204 Source/core/fetch/ImageResource.cpp WebCore::Image* image = m_svgImageCache->imageForRenderer(renderer); image 205 Source/core/fetch/ImageResource.cpp if (image != WebCore::Image::nullImage()) image 206 Source/core/fetch/ImageResource.cpp return image; image 416 Source/core/fetch/ImageResource.cpp void ImageResource::decodedSizeChanged(const WebCore::Image* image, int delta) image 418 Source/core/fetch/ImageResource.cpp if (!image || image != m_image) image 424 Source/core/fetch/ImageResource.cpp void ImageResource::didDraw(const WebCore::Image* image) image 426 Source/core/fetch/ImageResource.cpp if (!image || image != m_image) image 436 Source/core/fetch/ImageResource.cpp bool ImageResource::shouldPauseAnimation(const WebCore::Image* image) image 438 Source/core/fetch/ImageResource.cpp if (!image || image != m_image) image 450 Source/core/fetch/ImageResource.cpp void ImageResource::animationAdvanced(const WebCore::Image* image) image 452 Source/core/fetch/ImageResource.cpp if (!image || image != m_image) image 457 Source/core/fetch/ImageResource.cpp void ImageResource::changedInRect(const WebCore::Image* image, const IntRect& rect) image 459 Source/core/fetch/ImageResource.cpp if (!image || image != m_image) image 466 Source/core/fetch/ImageResource.cpp WebCore::Image* image = imageForRenderer(renderer); image 467 Source/core/fetch/ImageResource.cpp if (image->isBitmapImage()) image 468 Source/core/fetch/ImageResource.cpp image->nativeImageForCurrentFrame(); // force decode image 469 Source/core/fetch/ImageResource.cpp return image->currentFrameKnownToBeOpaque(); image 474 Source/core/fetch/ImageResource.cpp if (!image()->currentFrameHasSingleSecurityOrigin()) image 58 Source/core/fetch/ImageResource.h WebCore::Image* image(); // Returns the nullImage() if the image is not available yet. image 90 Source/core/fetch/ImageResourceTest.cpp ASSERT_FALSE(cachedImage->image()->isNull()); image 91 Source/core/fetch/ImageResourceTest.cpp ASSERT_EQ(cachedImage->image()->width(), 1); image 92 Source/core/fetch/ImageResourceTest.cpp ASSERT_EQ(cachedImage->image()->height(), 1); image 175 Source/core/fetch/ImageResourceTest.cpp ASSERT_FALSE(cachedImage->image()->isNull()); image 182 Source/core/fetch/ImageResourceTest.cpp ASSERT_FALSE(cachedImage->image()->isNull()); image 189 Source/core/fetch/ImageResourceTest.cpp ASSERT_TRUE(cachedImage->image()->isNull()); image 63 Source/core/fetch/ResourceFetcherTest.cpp ResourcePtr<ImageResource> image = fetcher->fetchImage(fetchRequest); image 64 Source/core/fetch/ResourceFetcherTest.cpp EXPECT_EQ(image.get(), static_cast<ImageResource*>(0)); image 45 Source/core/fetch/ResourceLoadPriorityOptimizer.cpp ResourceLoadPriorityOptimizer::ResourceAndVisibility::ResourceAndVisibility(ImageResource* image, VisibilityStatus visibilityStatus, uint32_t screenArea) image 46 Source/core/fetch/ResourceLoadPriorityOptimizer.cpp : imageResource(image) image 29 Source/core/frame/ImageBitmap.cpp static inline PassRefPtr<Image> cropImage(Image* image, const IntRect& cropRect) image 31 Source/core/frame/ImageBitmap.cpp IntRect intersectRect = intersection(IntRect(IntPoint(), image->size()), cropRect); image 36 Source/core/frame/ImageBitmap.cpp image->nativeImageForCurrentFrame()->bitmap().extractSubset(&cropped, intersectRect); image 40 Source/core/frame/ImageBitmap.cpp ImageBitmap::ImageBitmap(HTMLImageElement* image, const IntRect& cropRect) image 41 Source/core/frame/ImageBitmap.cpp : m_imageElement(image) image 45 Source/core/frame/ImageBitmap.cpp IntRect srcRect = intersection(cropRect, IntRect(0, 0, image->width(), image->height())); image 135 Source/core/frame/ImageBitmap.cpp ImageBitmap::ImageBitmap(Image* image, const IntRect& cropRect) image 139 Source/core/frame/ImageBitmap.cpp IntRect srcRect = intersection(cropRect, IntRect(IntPoint(), image->size())); image 140 Source/core/frame/ImageBitmap.cpp m_bitmap = cropImage(image, cropRect); image 152 Source/core/frame/ImageBitmap.cpp PassRefPtrWillBeRawPtr<ImageBitmap> ImageBitmap::create(HTMLImageElement* image, const IntRect& cropRect) image 155 Source/core/frame/ImageBitmap.cpp return adoptRefWillBeNoop(new ImageBitmap(image, normalizedCropRect)); image 182 Source/core/frame/ImageBitmap.cpp PassRefPtrWillBeRawPtr<ImageBitmap> ImageBitmap::create(Image* image, const IntRect& cropRect) image 185 Source/core/frame/ImageBitmap.cpp return adoptRefWillBeNoop(new ImageBitmap(image, normalizedCropRect)); image 190 Source/core/frame/ImageBitmap.cpp m_bitmap = cropImage(m_imageElement->cachedImage()->image(), m_cropRect); image 199 Source/core/frame/ImageBitmap.cpp return m_imageElement->cachedImage()->image(); image 100 Source/core/frame/ImageBitmapTest.cpp ASSERT_EQ(imageBitmapNoCrop->bitmapImage().get(), imageElement->cachedImage()->image()); image 101 Source/core/frame/ImageBitmapTest.cpp ASSERT_EQ(imageBitmapInteriorCrop->bitmapImage().get(), imageElement->cachedImage()->image()); image 102 Source/core/frame/ImageBitmapTest.cpp ASSERT_EQ(imageBitmapExteriorCrop->bitmapImage().get(), imageElement->cachedImage()->image()); image 105 Source/core/frame/ImageBitmapTest.cpp ASSERT_NE(emptyImage.get(), imageElement->cachedImage()->image()); image 187 Source/core/frame/ImageBitmapTest.cpp RefPtr<HTMLImageElement> image = HTMLImageElement::create(*Document::create().get()); image 189 Source/core/frame/ImageBitmapTest.cpp image->setImageResource(originalImageResource.get()); image 191 Source/core/frame/ImageBitmapTest.cpp RefPtrWillBeRawPtr<ImageBitmap> imageBitmap = ImageBitmap::create(image.get(), IntRect(0, 0, m_bitmap.width(), m_bitmap.height())); image 192 Source/core/frame/ImageBitmapTest.cpp ASSERT_EQ(imageBitmap->bitmapImage().get(), originalImageResource->image()); image 195 Source/core/frame/ImageBitmapTest.cpp image->setImageResource(newImageResource.get()); image 198 Source/core/frame/ImageBitmapTest.cpp ASSERT_NE(imageBitmap->bitmapImage().get(), originalImageResource->image()); image 200 Source/core/frame/ImageBitmapTest.cpp originalImageResource->image()->nativeImageForCurrentFrame()->bitmap().pixelRef()->pixels()); image 202 Source/core/frame/ImageBitmapTest.cpp ASSERT_NE(imageBitmap->bitmapImage().get(), newImageResource->image()); image 204 Source/core/frame/ImageBitmapTest.cpp newImageResource->image()->nativeImageForCurrentFrame()->bitmap().pixelRef()->pixels()); image 563 Source/core/frame/LocalFrame.cpp RefPtr<Image> image = buffer->copyImage(); image 564 Source/core/frame/LocalFrame.cpp return DragImage::create(image.get(), renderer->shouldRespectImageOrientation(), deviceScaleFactor); image 592 Source/core/frame/LocalFrame.cpp RefPtr<Image> image = buffer->copyImage(); image 593 Source/core/frame/LocalFrame.cpp return DragImage::create(image.get(), DoNotRespectImageOrientation, deviceScaleFactor); image 205 Source/core/html/HTMLAreaElement.cpp HTMLImageElement* image = imageElement(); image 206 Source/core/html/HTMLAreaElement.cpp if (!image || !image->renderer() || image->renderer()->style()->visibility() != VISIBLE) image 577 Source/core/html/HTMLFormElement.cpp for (HTMLImageElement* image = Traversal<HTMLImageElement>::firstWithin(root); image; image = Traversal<HTMLImageElement>::next(*image)) { image 578 Source/core/html/HTMLFormElement.cpp if (image->formOwner() == this) image 579 Source/core/html/HTMLFormElement.cpp elements.append(image); image 80 Source/core/html/HTMLImageElement.cpp RefPtr<HTMLImageElement> image = adoptRef(new HTMLImageElement(document)); image 82 Source/core/html/HTMLImageElement.cpp image->setWidth(width); image 84 Source/core/html/HTMLImageElement.cpp image->setHeight(height); image 85 Source/core/html/HTMLImageElement.cpp return image.release(); image 196 Source/core/html/HTMLImageElement.cpp RenderImage* image = new RenderImage(this); image 197 Source/core/html/HTMLImageElement.cpp image->setImageResource(RenderImageResource::create()); image 198 Source/core/html/HTMLImageElement.cpp image->setImageDevicePixelRatio(m_imageDevicePixelRatio); image 199 Source/core/html/HTMLImageElement.cpp return image; image 222 Source/core/html/HTMLImageElement.cpp if (!m_imageLoader.image() && !renderImageResource->cachedImage()) image 225 Source/core/html/HTMLImageElement.cpp renderImageResource->setImageResource(m_imageLoader.image()); image 237 Source/core/html/HTMLImageElement.cpp if (insertionPoint->inDocument() && !m_imageLoader.image()) image 260 Source/core/html/HTMLImageElement.cpp if (m_imageLoader.image()) image 261 Source/core/html/HTMLImageElement.cpp return m_imageLoader.image()->imageSizeForRenderer(renderer(), 1.0f).width(); image 283 Source/core/html/HTMLImageElement.cpp if (m_imageLoader.image()) image 284 Source/core/html/HTMLImageElement.cpp return m_imageLoader.image()->imageSizeForRenderer(renderer(), 1.0f).height(); image 298 Source/core/html/HTMLImageElement.cpp if (!m_imageLoader.image()) image 301 Source/core/html/HTMLImageElement.cpp return m_imageLoader.image()->imageSizeForRenderer(renderer(), 1.0f).width(); image 306 Source/core/html/HTMLImageElement.cpp if (!m_imageLoader.image()) image 309 Source/core/html/HTMLImageElement.cpp return m_imageLoader.image()->imageSizeForRenderer(renderer(), 1.0f).height(); image 414 Source/core/html/HTMLImageElement.cpp return m_imageLoader.image()->image(); image 446 Source/core/html/HTMLImageElement.cpp ImageResource* image = cachedImage(); image 447 Source/core/html/HTMLImageElement.cpp if (!image) image 449 Source/core/html/HTMLImageElement.cpp return !image->isAccessAllowed(destinationSecurityOrigin); image 454 Source/core/html/HTMLImageElement.cpp ImageResource* image = cachedImage(); image 455 Source/core/html/HTMLImageElement.cpp if (!image) image 458 Source/core/html/HTMLImageElement.cpp size = image->imageSizeForRenderer(renderer(), 1.0f); // FIXME: Not sure about this. image 465 Source/core/html/HTMLImageElement.cpp ImageResource* image = cachedImage(); image 466 Source/core/html/HTMLImageElement.cpp if (!image) image 469 Source/core/html/HTMLImageElement.cpp size = image->imageSizeForRenderer(renderer(), 1.0f); // FIXME: Not sure about this. image 470 Source/core/html/HTMLImageElement.cpp if (renderer() && renderer()->isRenderImage() && image->image() && !image->image()->hasRelativeWidth()) image 57 Source/core/html/HTMLImageElement.h ImageResource* cachedImage() const { return m_imageLoader.image(); } image 49 Source/core/html/HTMLImageLoader.cpp bool errorOccurred = image()->errorOccurred(); image 50 Source/core/html/HTMLImageLoader.cpp if (!errorOccurred && image()->response().httpStatusCode() >= 400) image 62 Source/core/html/HTMLImageLoader.cpp ImageResource* cachedImage = image(); image 408 Source/core/html/HTMLObjectElement.cpp if (m_imageLoader && m_imageLoader->image() && m_imageLoader->image()->status() != Resource::LoadError) { image 409 Source/core/html/HTMLObjectElement.cpp m_serviceType = m_imageLoader->image()->response().mimeType(); image 217 Source/core/html/HTMLPlugInElement.cpp RenderImage* image = new RenderImage(this); image 218 Source/core/html/HTMLPlugInElement.cpp image->setImageResource(RenderImageResource::create()); image 219 Source/core/html/HTMLPlugInElement.cpp return image; image 82 Source/core/html/HTMLVideoElement.cpp toRenderImage(renderer())->imageResource()->setImageResource(m_imageLoader->image()); image 60 Source/core/html/canvas/CanvasPattern.cpp CanvasPattern::CanvasPattern(PassRefPtr<Image> image, bool repeatX, bool repeatY, bool originClean) image 61 Source/core/html/canvas/CanvasPattern.cpp : m_pattern(Pattern::create(image, repeatX, repeatY)) image 44 Source/core/html/canvas/CanvasPattern.h static PassRefPtr<CanvasPattern> create(PassRefPtr<Image> image, bool repeatX, bool repeatY, bool originClean) image 46 Source/core/html/canvas/CanvasPattern.h return adoptRef(new CanvasPattern(image, repeatX, repeatY, originClean)); image 1523 Source/core/html/canvas/CanvasRenderingContext2D.cpp RefPtr<Image> image; image 1527 Source/core/html/canvas/CanvasRenderingContext2D.cpp image = imageSource->getSourceImageForCanvas(mode, &sourceImageStatus); image 1530 Source/core/html/canvas/CanvasRenderingContext2D.cpp if (!image || !image->width() || !image->height()) image 1566 Source/core/html/canvas/CanvasRenderingContext2D.cpp c->drawImage(image.get(), dstRect, srcRect, op, blendMode); image 1568 Source/core/html/canvas/CanvasRenderingContext2D.cpp fullCanvasCompositedDrawImage(image.get(), dstRect, srcRect, op); image 1571 Source/core/html/canvas/CanvasRenderingContext2D.cpp c->drawImage(image.get(), dstRect, srcRect, op, blendMode); image 1575 Source/core/html/canvas/CanvasRenderingContext2D.cpp c->drawImage(image.get(), dstRect, srcRect, op, blendMode); image 1600 Source/core/html/canvas/CanvasRenderingContext2D.cpp void CanvasRenderingContext2D::drawImageFromRect(HTMLImageElement* image, image 1610 Source/core/html/canvas/CanvasRenderingContext2D.cpp drawImageInternal(image, sx, sy, sw, sh, dx, dy, dw, dh, IGNORE_EXCEPTION, op, blendOp); image 1643 Source/core/html/canvas/CanvasRenderingContext2D.cpp static void drawImageToContext(Image* image, GraphicsContext* context, const FloatRect& dest, const FloatRect& src, CompositeOperator op) image 1645 Source/core/html/canvas/CanvasRenderingContext2D.cpp context->drawImage(image, dest, src, op); image 1648 Source/core/html/canvas/CanvasRenderingContext2D.cpp template<class T> void CanvasRenderingContext2D::fullCanvasCompositedDrawImage(T* image, const FloatRect& dest, const FloatRect& src, CompositeOperator op) image 1653 Source/core/html/canvas/CanvasRenderingContext2D.cpp drawImageToContext(image, drawingContext(), dest, src, CompositeSourceOver); image 3279 Source/core/html/canvas/WebGLRenderingContextBase.cpp void WebGLRenderingContextBase::texImage2DImpl(GLenum target, GLint level, GLenum internalformat, GLenum format, GLenum type, Image* image, WebGLImageConversion::ImageHtmlDomSource domSource, bool flipY, bool premultiplyAlpha, ExceptionState& exceptionState) image 3283 Source/core/html/canvas/WebGLRenderingContextBase.cpp WebGLImageConversion::ImageExtractor imageExtractor(image, domSource, premultiplyAlpha, m_unpackColorspaceConversion == GL_NONE); image 3296 Source/core/html/canvas/WebGLRenderingContextBase.cpp if (!WebGLImageConversion::packImageData(image, imagePixelData, format, type, flipY, alphaOp, sourceDataFormat, imageExtractor.imageWidth(), imageExtractor.imageHeight(), imageExtractor.imageSourceUnpackAlignment(), data)) { image 3352 Source/core/html/canvas/WebGLRenderingContextBase.cpp PassRefPtr<Image> WebGLRenderingContextBase::drawImageIntoBuffer(Image* image, int width, int height, const char* functionName) image 3361 Source/core/html/canvas/WebGLRenderingContextBase.cpp IntRect srcRect(IntPoint(), image->size()); image 3363 Source/core/html/canvas/WebGLRenderingContextBase.cpp buf->context()->drawImage(image, destRect, srcRect); image 3415 Source/core/html/canvas/WebGLRenderingContextBase.cpp GLenum format, GLenum type, HTMLImageElement* image, ExceptionState& exceptionState) image 3417 Source/core/html/canvas/WebGLRenderingContextBase.cpp if (isContextLost() || !validateHTMLImageElement("texImage2D", image, exceptionState)) image 3420 Source/core/html/canvas/WebGLRenderingContextBase.cpp RefPtr<Image> imageForRender = image->cachedImage()->imageForRenderer(image->renderer()); image 3422 Source/core/html/canvas/WebGLRenderingContextBase.cpp imageForRender = drawImageIntoBuffer(imageForRender.get(), image->width(), image->height(), "texImage2D"); image 3500 Source/core/html/canvas/WebGLRenderingContextBase.cpp RefPtr<Image> image = videoFrameToImage(video, ImageBuffer::fastCopyImageMode()); image 3501 Source/core/html/canvas/WebGLRenderingContextBase.cpp if (!image) image 3503 Source/core/html/canvas/WebGLRenderingContextBase.cpp texImage2DImpl(target, level, internalformat, format, type, image.get(), WebGLImageConversion::HtmlDomVideo, m_unpackFlipY, m_unpackPremultiplyAlpha, exceptionState); image 3575 Source/core/html/canvas/WebGLRenderingContextBase.cpp void WebGLRenderingContextBase::texSubImage2DImpl(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLenum format, GLenum type, Image* image, WebGLImageConversion::ImageHtmlDomSource domSource, bool flipY, bool premultiplyAlpha, ExceptionState& exceptionState) image 3579 Source/core/html/canvas/WebGLRenderingContextBase.cpp WebGLImageConversion::ImageExtractor imageExtractor(image, domSource, premultiplyAlpha, m_unpackColorspaceConversion == GL_NONE); image 3592 Source/core/html/canvas/WebGLRenderingContextBase.cpp if (!WebGLImageConversion::packImageData(image, imagePixelData, format, type, flipY, alphaOp, sourceDataFormat, imageExtractor.imageWidth(), imageExtractor.imageHeight(), imageExtractor.imageSourceUnpackAlignment(), data)) { image 3658 Source/core/html/canvas/WebGLRenderingContextBase.cpp GLenum format, GLenum type, HTMLImageElement* image, ExceptionState& exceptionState) image 3660 Source/core/html/canvas/WebGLRenderingContextBase.cpp if (isContextLost() || !validateHTMLImageElement("texSubImage2D", image, exceptionState)) image 3663 Source/core/html/canvas/WebGLRenderingContextBase.cpp RefPtr<Image> imageForRender = image->cachedImage()->imageForRenderer(image->renderer()); image 3665 Source/core/html/canvas/WebGLRenderingContextBase.cpp imageForRender = drawImageIntoBuffer(imageForRender.get(), image->width(), image->height(), "texSubImage2D"); image 3694 Source/core/html/canvas/WebGLRenderingContextBase.cpp RefPtr<Image> image = videoFrameToImage(video, ImageBuffer::fastCopyImageMode()); image 3695 Source/core/html/canvas/WebGLRenderingContextBase.cpp if (!image) image 3697 Source/core/html/canvas/WebGLRenderingContextBase.cpp texSubImage2DImpl(target, level, xoffset, yoffset, format, type, image.get(), WebGLImageConversion::HtmlDomVideo, m_unpackFlipY, m_unpackPremultiplyAlpha, exceptionState); image 5118 Source/core/html/canvas/WebGLRenderingContextBase.cpp bool WebGLRenderingContextBase::validateHTMLImageElement(const char* functionName, HTMLImageElement* image, ExceptionState& exceptionState) image 5120 Source/core/html/canvas/WebGLRenderingContextBase.cpp if (!image || !image->cachedImage()) { image 5124 Source/core/html/canvas/WebGLRenderingContextBase.cpp const KURL& url = image->cachedImage()->response().url(); image 5129 Source/core/html/canvas/WebGLRenderingContextBase.cpp if (image->wouldTaintOrigin(canvas()->securityOrigin())) { image 55 Source/core/html/forms/ImageInputType.cpp return InputTypeNames::image; image 122 Source/core/html/forms/ImageInputType.cpp RenderImage* image = new RenderImage(&element()); image 123 Source/core/html/forms/ImageInputType.cpp image->setImageResource(RenderImageResource::create()); image 124 Source/core/html/forms/ImageInputType.cpp return image; image 129 Source/core/html/forms/ImageInputType.cpp RenderImage* image = toRenderImage(element().renderer()); image 130 Source/core/html/forms/ImageInputType.cpp if (!image) image 132 Source/core/html/forms/ImageInputType.cpp image->updateAltText(); image 154 Source/core/html/forms/ImageInputType.cpp imageResource->setImageResource(imageLoader->image()); image 158 Source/core/html/forms/ImageInputType.cpp if (!imageLoader->image() && !imageResource->cachedImage()) image 200 Source/core/html/forms/ImageInputType.cpp if (imageLoader->image()) image 201 Source/core/html/forms/ImageInputType.cpp return imageLoader->image()->imageSizeForRenderer(element->renderer(), 1).height(); image 224 Source/core/html/forms/ImageInputType.cpp if (imageLoader->image()) image 225 Source/core/html/forms/ImageInputType.cpp return imageLoader->image()->imageSizeForRenderer(element->renderer(), 1).width(); image 92 Source/core/html/forms/InputType.cpp map->add(InputTypeNames::image, ImageInputType::create); image 198 Source/core/html/parser/HTMLPreloadScanner.cpp m_inputIsImage = equalIgnoringCase(attributeValue, InputTypeNames::image); image 75 Source/core/html/shadow/PasswordGeneratorButtonElement.cpp ImageResource* image = m_isInHoverState ? imageForHoverState() : imageForNormalState(); image 76 Source/core/html/shadow/PasswordGeneratorButtonElement.cpp ASSERT(image); image 77 Source/core/html/shadow/PasswordGeneratorButtonElement.cpp resource->setImageResource(image); image 95 Source/core/html/shadow/PasswordGeneratorButtonElement.cpp RenderImage* image = new RenderImage(this); image 96 Source/core/html/shadow/PasswordGeneratorButtonElement.cpp image->setImageResource(RenderImageResource::create()); image 97 Source/core/html/shadow/PasswordGeneratorButtonElement.cpp return image; image 109 Source/core/html/shadow/PasswordGeneratorButtonElement.cpp RefPtr<Image> image = Image::loadPlatformResource("generatePassword"); image 110 Source/core/html/shadow/PasswordGeneratorButtonElement.cpp m_cachedImageForNormalState = new ImageResource(image.get()); image 118 Source/core/html/shadow/PasswordGeneratorButtonElement.cpp RefPtr<Image> image = Image::loadPlatformResource("generatePasswordHover"); image 119 Source/core/html/shadow/PasswordGeneratorButtonElement.cpp m_cachedImageForHoverState = new ImageResource(image.get()); image 73 Source/core/loader/ImageLoader.h ImageResource* image() const { return m_image.get(); } image 699 Source/core/page/DragController.cpp RenderImage* image = toRenderImage(renderer); image 700 Source/core/page/DragController.cpp return image->cachedImage(); image 711 Source/core/page/DragController.cpp cachedImage->image() : 0; image 803 Source/core/page/DragController.cpp static PassOwnPtr<DragImage> dragImageForImage(Element* element, Image* image, const IntPoint& dragOrigin, const IntRect& imageRect, IntPoint& dragLocation) image 808 Source/core/page/DragController.cpp if (image->size().height() * image->size().width() <= MaxOriginalImageArea image 809 Source/core/page/DragController.cpp && (dragImage = DragImage::create(image, element->renderer() ? element->renderer()->shouldRespectImageOrientation() : DoNotRespectImageOrientation))) { image 887 Source/core/page/DragController.cpp Image* image = getImage(element); image 888 Source/core/page/DragController.cpp if (!image || image->isNull()) image 892 Source/core/page/DragController.cpp ASSERT(!image->filenameExtension().isEmpty()); image 894 Source/core/page/DragController.cpp dragImage = dragImageForImage(element, image, dragOrigin, hitTestResult.imageRect(), dragLocation); image 926 Source/core/page/DragController.cpp void DragController::doSystemDrag(DragImage* image, const IntPoint& dragLocation, const IntPoint& eventPos, Clipboard* clipboard, LocalFrame* frame, bool forLink) image 933 Source/core/page/DragController.cpp m_client->startDrag(image, viewProtector->rootViewToContents(frame->view()->contentsToRootView(dragLocation)), image 1153 Source/core/page/EventHandler.cpp StyleImage* styleImage = (*cursors)[i].image(); image 1172 Source/core/page/EventHandler.cpp Image* image = cachedImage->imageForRenderer(renderer); image 1176 Source/core/page/EventHandler.cpp return Cursor(image, hotSpot, scale); image 237 Source/core/page/PageSerializer.cpp ImageResource* cachedImage = inputElement.imageLoader()->image(); image 313 Source/core/page/PageSerializer.cpp void PageSerializer::addImageToResources(ImageResource* image, RenderObject* imageRenderer, const KURL& url) image 318 Source/core/page/PageSerializer.cpp if (!image || image->image() == Image::nullImage() || image->errorOccurred()) image 321 Source/core/page/PageSerializer.cpp RefPtr<SharedBuffer> data = imageRenderer ? image->imageForRenderer(imageRenderer)->data() : 0; image 323 Source/core/page/PageSerializer.cpp data = image->image()->data(); image 325 Source/core/page/PageSerializer.cpp addToResources(image, data, url); image 73 Source/core/page/SpatialNavigation.cpp HTMLImageElement* image = area.imageElement(); image 74 Source/core/page/SpatialNavigation.cpp if (!image || !image->renderer()) image 77 Source/core/page/SpatialNavigation.cpp visibleNode = image; image 243 Source/core/rendering/HitTestResult.cpp HTMLImageElement& image = toHTMLImageElement(*m_innerNonSharedNode); image 244 Source/core/rendering/HitTestResult.cpp return image.getAttribute(altAttr); image 262 Source/core/rendering/HitTestResult.cpp RenderImage* image = toRenderImage(renderer); image 263 Source/core/rendering/HitTestResult.cpp if (image->cachedImage() && !image->cachedImage()->errorOccurred()) image 264 Source/core/rendering/HitTestResult.cpp return image->cachedImage()->imageForRenderer(image); image 272 Source/core/rendering/HitTestResult.cpp if (!image()) image 103 Source/core/rendering/HitTestResult.h Image* image() const; image 63 Source/core/rendering/ImageQualityController.cpp InterpolationQuality ImageQualityController::chooseInterpolationQuality(GraphicsContext* context, RenderObject* object, Image* image, const void* layer, const LayoutSize& layoutSize) image 68 Source/core/rendering/ImageQualityController.cpp if (shouldPaintAtLowQuality(context, object, image, layer, layoutSize)) image 72 Source/core/rendering/ImageQualityController.cpp if (image && image->maybeAnimated()) image 145 Source/core/rendering/ImageQualityController.cpp bool ImageQualityController::shouldPaintAtLowQuality(GraphicsContext* context, RenderObject* object, Image* image, const void *layer, const LayoutSize& layoutSize) image 149 Source/core/rendering/ImageQualityController.cpp if (!image || !image->isBitmapImage() || context->paintingDisabled()) image 173 Source/core/rendering/ImageQualityController.cpp LayoutSize scaledImageSize = currentTransform.mapSize(image->size()); image 1170 Source/core/rendering/InlineFlowBox.cpp StyleImage* image = lastBackgroundLayer.image(); image 1171 Source/core/rendering/InlineFlowBox.cpp bool hasFillImage = image && image->canRender(&renderer(), renderer().style()->effectiveZoom()); image 1177 Source/core/rendering/InlineFlowBox.cpp StyleImage* img = fillLayer->image(); image 1249 Source/core/rendering/InlineFlowBox.cpp static LayoutRect clipRectForNinePieceImageStrip(InlineFlowBox* box, const NinePieceImage& image, const LayoutRect& paintRect) image 1253 Source/core/rendering/InlineFlowBox.cpp LayoutBoxExtent outsets = style->imageOutsets(image); image 1310 Source/core/rendering/InlineFlowBox.cpp StyleImage* borderImageSource = borderImage.image(); image 1364 Source/core/rendering/InlineFlowBox.cpp StyleImage* maskBoxImage = renderer().style()->maskBoxImage().image(); image 198 Source/core/rendering/RenderBlock.cpp appendImageIfNotNull(images, layer->image()); image 210 Source/core/rendering/RenderBlock.cpp appendImageIfNotNull(images, imageContentData->image()); image 213 Source/core/rendering/RenderBlock.cpp appendImageIfNotNull(images, blockStyle.boxReflect()->mask().image()); image 1259 Source/core/rendering/RenderBox.cpp if (!style()->backgroundLayers()->image() || style()->backgroundLayers()->next()) { image 1395 Source/core/rendering/RenderBox.cpp if (fillLayer->hasOpaqueImage(this) && fillLayer->hasRepeatXY() && fillLayer->image()->canRender(this, style()->effectiveZoom())) image 1445 Source/core/rendering/RenderBox.cpp StyleImage* maskBoxImage = style()->maskBoxImage().image(); image 1472 Source/core/rendering/RenderBox.cpp if (maskBoxImage.image()) { image 1483 Source/core/rendering/RenderBox.cpp if (maskLayer->image()) { image 1513 Source/core/rendering/RenderBox.cpp if (curLayer->clipOccludesNextLayers(curLayer == fillLayer) && curLayer->hasOpaqueImage(this) && curLayer->image()->canRender(this, style()->effectiveZoom()) && curLayer->hasRepeatXY() && curLayer->blendMode() == blink::WebBlendModeNormal && !boxShadowShouldBeAppliedToBackground(bleedAvoidance)) image 1538 Source/core/rendering/RenderBox.cpp static bool layersUseImage(WrappedImagePtr image, const FillLayer* layers) image 1541 Source/core/rendering/RenderBox.cpp if (curLayer->image() && image == curLayer->image()->data()) image 1548 Source/core/rendering/RenderBox.cpp void RenderBox::imageChanged(WrappedImagePtr image, const IntRect*) image 1555 Source/core/rendering/RenderBox.cpp if ((style()->borderImage().image() && style()->borderImage().image()->data() == image) || image 1556 Source/core/rendering/RenderBox.cpp (style()->maskBoxImage().image() && style()->maskBoxImage().image()->data() == image)) { image 1562 Source/core/rendering/RenderBox.cpp if (!frameView()->isInPerformLayout() && isFloating() && shapeOutsideValue && shapeOutsideValue->image() && shapeOutsideValue->image()->data() == image) { image 1567 Source/core/rendering/RenderBox.cpp bool didFullRepaint = repaintLayerRectsForImage(image, style()->backgroundLayers(), true); image 1569 Source/core/rendering/RenderBox.cpp repaintLayerRectsForImage(image, style()->maskLayers(), false); image 1571 Source/core/rendering/RenderBox.cpp if (hasLayer() && layer()->hasCompositedMask() && layersUseImage(image, style()->maskLayers())) image 1575 Source/core/rendering/RenderBox.cpp bool RenderBox::repaintLayerRectsForImage(WrappedImagePtr image, const FillLayer* layers, bool drawingBackground) image 1581 Source/core/rendering/RenderBox.cpp if (curLayer->image() && image == curLayer->image()->data() && curLayer->image()->canRender(this, style()->effectiveZoom())) { image 676 Source/core/rendering/RenderBox.h bool repaintLayerRectsForImage(WrappedImagePtr image, const FillLayer* layers, bool drawingBackground); image 103 Source/core/rendering/RenderBoxModelObject.cpp InterpolationQuality RenderBoxModelObject::chooseInterpolationQuality(GraphicsContext* context, Image* image, const void* layer, const LayoutSize& size) image 105 Source/core/rendering/RenderBoxModelObject.cpp return ImageQualityController::imageQualityController()->chooseInterpolationQuality(context, this, image, layer, size); image 501 Source/core/rendering/RenderBoxModelObject.cpp StyleImage* bgImage = bgLayer->image(); image 704 Source/core/rendering/RenderBoxModelObject.cpp RefPtr<Image> image = bgImage->image(clientForBackgroundImage, geometry.tileSize()); image 705 Source/core/rendering/RenderBoxModelObject.cpp InterpolationQuality interpolationQuality = chooseInterpolationQuality(context, image.get(), bgLayer, geometry.tileSize()); image 710 Source/core/rendering/RenderBoxModelObject.cpp context->drawTiledImage(image.get(), geometry.destRect(), geometry.relativePhase(), geometry.tileSize(), image 790 Source/core/rendering/RenderBoxModelObject.cpp IntSize RenderBoxModelObject::calculateImageIntrinsicDimensions(StyleImage* image, const IntSize& positioningAreaSize, ScaleByEffectiveZoomOrNot shouldScaleOrNot) const image 793 Source/core/rendering/RenderBoxModelObject.cpp if (image->isGeneratedImage() && image->usesImageContainerSize()) image 799 Source/core/rendering/RenderBoxModelObject.cpp image->computeIntrinsicDimensions(this, intrinsicWidth, intrinsicHeight, intrinsicRatio); image 847 Source/core/rendering/RenderBoxModelObject.cpp StyleImage* image = fillLayer->image(); image 850 Source/core/rendering/RenderBoxModelObject.cpp IntSize imageIntrinsicSize = calculateImageIntrinsicDimensions(image, positioningAreaSize, ScaleByEffectiveZoom); image 851 Source/core/rendering/RenderBoxModelObject.cpp imageIntrinsicSize.scale(1 / image->imageScaleFactor(), 1 / image->imageScaleFactor()); image 1038 Source/core/rendering/RenderBoxModelObject.cpp fillLayer->image()->setContainerSizeForRenderer(clientForBackgroundImage, fillTileSize, style()->effectiveZoom()); image 1135 Source/core/rendering/RenderBoxModelObject.cpp StyleImage* styleImage = ninePieceImage.image(); image 1194 Source/core/rendering/RenderBoxModelObject.cpp RefPtr<Image> image = styleImage->image(this, imageSize); image 1213 Source/core/rendering/RenderBoxModelObject.cpp graphicsContext->drawImage(image.get(), IntRect(borderImageRect.location(), IntSize(leftWidth, topWidth)), image 1219 Source/core/rendering/RenderBoxModelObject.cpp graphicsContext->drawImage(image.get(), IntRect(borderImageRect.x(), borderImageRect.maxY() - bottomWidth, leftWidth, bottomWidth), image 1225 Source/core/rendering/RenderBoxModelObject.cpp graphicsContext->drawTiledImage(image.get(), IntRect(borderImageRect.x(), borderImageRect.y() + topWidth, leftWidth, destinationHeight), image 1235 Source/core/rendering/RenderBoxModelObject.cpp graphicsContext->drawImage(image.get(), IntRect(borderImageRect.maxX() - rightWidth, borderImageRect.y(), rightWidth, topWidth), image 1241 Source/core/rendering/RenderBoxModelObject.cpp graphicsContext->drawImage(image.get(), IntRect(borderImageRect.maxX() - rightWidth, borderImageRect.maxY() - bottomWidth, rightWidth, bottomWidth), image 1246 Source/core/rendering/RenderBoxModelObject.cpp graphicsContext->drawTiledImage(image.get(), IntRect(borderImageRect.maxX() - rightWidth, borderImageRect.y() + topWidth, rightWidth, image 1255 Source/core/rendering/RenderBoxModelObject.cpp graphicsContext->drawTiledImage(image.get(), IntRect(borderImageRect.x() + leftWidth, borderImageRect.y(), destinationWidth, topWidth), image 1261 Source/core/rendering/RenderBoxModelObject.cpp graphicsContext->drawTiledImage(image.get(), IntRect(borderImageRect.x() + leftWidth, borderImageRect.maxY() - bottomWidth, image 1289 Source/core/rendering/RenderBoxModelObject.cpp graphicsContext->drawTiledImage(image.get(), image 2391 Source/core/rendering/RenderBoxModelObject.cpp if (style()->borderImage().image()) image 2447 Source/core/rendering/RenderBoxModelObject.cpp if (lastBackgroundLayer->image() && style()->hasBorderRadius()) image 70 Source/core/rendering/RenderImage.cpp RenderImage* image = new RenderImage(0); image 71 Source/core/rendering/RenderImage.cpp image->setDocumentForAnonymous(document); image 72 Source/core/rendering/RenderImage.cpp return image; image 322 Source/core/rendering/RenderImage.cpp RefPtr<Image> image = m_imageResource->image(); image 324 Source/core/rendering/RenderImage.cpp if (m_imageResource->errorOccurred() && !image->isNull() && usableWidth >= image->width() && usableHeight >= image->height()) { image 328 Source/core/rendering/RenderImage.cpp image = brokenImageAndImageScaleFactor.first; image 329 Source/core/rendering/RenderImage.cpp IntSize imageSize = image->size(); image 339 Source/core/rendering/RenderImage.cpp context->drawImage(image.get(), pixelSnappedIntRect(LayoutRect(paintOffset + imageOffset, imageSize)), CompositeSourceOver, shouldRespectImageOrientation()); image 371 Source/core/rendering/RenderImage.cpp RefPtr<Image> img = m_imageResource->image(cWidth, cHeight); image 463 Source/core/rendering/RenderImage.cpp RefPtr<Image> img = m_imageResource->image(alignedRect.width(), alignedRect.height()); image 469 Source/core/rendering/RenderImage.cpp Image* image = m_imageResource->image().get(); image 470 Source/core/rendering/RenderImage.cpp InterpolationQuality interpolationQuality = chooseInterpolationQuality(context, image, image, alignedRect.size()); image 475 Source/core/rendering/RenderImage.cpp context->drawImage(m_imageResource->image(alignedRect.width(), alignedRect.height()).get(), alignedRect, compositeOperator, shouldRespectImageOrientation()); image 642 Source/core/rendering/RenderImage.cpp if (cachedImage && cachedImage->image() && cachedImage->image()->isSVGImage()) image 643 Source/core/rendering/RenderImage.cpp return toSVGImage(cachedImage->image())->embeddedContentBox(); image 87 Source/core/rendering/RenderImageResource.cpp image()->resetAnimation(); image 56 Source/core/rendering/RenderImageResource.h virtual PassRefPtr<Image> image(int /* width */ = 0, int /* height */ = 0) const image 69 Source/core/rendering/RenderImageResourceStyleImage.cpp return m_styleImage->image(m_renderer, IntSize(width, height)); image 49 Source/core/rendering/RenderImageResourceStyleImage.h virtual PassRefPtr<Image> image(int width = 0, int height = 0) const OVERRIDE; image 90 Source/core/rendering/RenderInputSpeech.cpp Image* image = imageStateNormal; image 92 Source/core/rendering/RenderInputSpeech.cpp image = imageStateRecording; image 94 Source/core/rendering/RenderInputSpeech.cpp image = imageStateWaiting; image 95 Source/core/rendering/RenderInputSpeech.cpp paintInfo.context->drawImage(image, pixelSnappedIntRect(buttonRect)); image 1151 Source/core/rendering/RenderListMarker.cpp context->drawImage(m_image->image(this, marker.size()).get(), marker); image 47 Source/core/rendering/RenderMediaControls.cpp if (Image* image = gMediaControlImageMap->get(name)) image 48 Source/core/rendering/RenderMediaControls.cpp return image; image 49 Source/core/rendering/RenderMediaControls.cpp if (Image* image = Image::loadPlatformResource(name).leakRef()) { image 50 Source/core/rendering/RenderMediaControls.cpp gMediaControlImageMap->set(name, image); image 51 Source/core/rendering/RenderMediaControls.cpp return image; image 63 Source/core/rendering/RenderMediaControls.cpp static bool paintMediaButton(GraphicsContext* context, const IntRect& rect, Image* image) image 65 Source/core/rendering/RenderMediaControls.cpp context->drawImage(image, rect); image 146 Source/core/rendering/RenderObject.cpp RenderImage* image = new RenderImage(element); image 150 Source/core/rendering/RenderObject.cpp image->setStyleInternal(style); image 151 Source/core/rendering/RenderObject.cpp if (const StyleImage* styleImage = static_cast<const ImageContentData*>(contentData)->image()) { image 152 Source/core/rendering/RenderObject.cpp image->setImageResource(RenderImageResourceStyleImage::create(const_cast<StyleImage*>(styleImage))); image 153 Source/core/rendering/RenderObject.cpp image->setIsGeneratedContent(); image 155 Source/core/rendering/RenderObject.cpp image->setImageResource(RenderImageResource::create()); image 156 Source/core/rendering/RenderObject.cpp image->setStyleInternal(nullptr); image 157 Source/core/rendering/RenderObject.cpp return image; image 841 Source/core/rendering/RenderObject.cpp StyleImage* img = layer->image(); image 869 Source/core/rendering/RenderObject.cpp StyleImage* borderImage = style()->borderImage().image(); image 1960 Source/core/rendering/RenderObject.cpp updateImage(oldStyle ? oldStyle->borderImage().image() : 0, m_style ? m_style->borderImage().image() : 0); image 1961 Source/core/rendering/RenderObject.cpp updateImage(oldStyle ? oldStyle->maskBoxImage().image() : 0, m_style ? m_style->maskBoxImage().image() : 0); image 2185 Source/core/rendering/RenderObject.cpp if (oldLayers && !oldLayers->next() && newLayers && !newLayers->next() && (oldLayers->image() == newLayers->image())) image 2190 Source/core/rendering/RenderObject.cpp if (currNew->image()) image 2191 Source/core/rendering/RenderObject.cpp currNew->image()->addClient(this); image 2195 Source/core/rendering/RenderObject.cpp if (currOld->image()) image 2196 Source/core/rendering/RenderObject.cpp currOld->image()->removeClient(this); image 2213 Source/core/rendering/RenderObject.cpp updateImage(oldShapeValue ? oldShapeValue->image() : 0, newShapeValue ? newShapeValue->image() : 0); image 2741 Source/core/rendering/RenderObject.cpp if (StyleImage* shapeImage = shapeValue->image()) image 2756 Source/core/rendering/RenderObject.cpp if (StyleImage* backgroundImage = bgLayer->image()) image 2761 Source/core/rendering/RenderObject.cpp if (StyleImage* maskImage = maskLayer->image()) image 2765 Source/core/rendering/RenderObject.cpp if (StyleImage* borderImage = m_style->borderImage().image()) image 2768 Source/core/rendering/RenderObject.cpp if (StyleImage* maskBoxImage = m_style->maskBoxImage().image()) image 3158 Source/core/rendering/RenderObject.cpp void RenderObject::imageChanged(ImageResource* image, const IntRect* rect) image 3160 Source/core/rendering/RenderObject.cpp imageChanged(static_cast<WrappedImagePtr>(image), rect); image 160 Source/core/rendering/RenderScrollbarPart.cpp void RenderScrollbarPart::imageChanged(WrappedImagePtr image, const IntRect* rect) image 172 Source/core/rendering/RenderScrollbarPart.cpp RenderBlock::imageChanged(image, rect); image 1631 Source/core/rendering/compositing/CompositedLayerMapping.cpp Image* image = cachedImage->imageForRenderer(imageRenderer); image 1632 Source/core/rendering/compositing/CompositedLayerMapping.cpp return image->isBitmapImage(); image 1660 Source/core/rendering/compositing/CompositedLayerMapping.cpp Image* image = cachedImage->imageForRenderer(imageRenderer); image 1661 Source/core/rendering/compositing/CompositedLayerMapping.cpp if (!image) image 1669 Source/core/rendering/compositing/CompositedLayerMapping.cpp m_graphicsLayer->setContentsToImage(image); image 1675 Source/core/rendering/compositing/CompositedLayerMapping.cpp image->startAnimation(); image 177 Source/core/rendering/shapes/Shape.cpp PassOwnPtr<Shape> Shape::createRasterShape(Image* image, float threshold, const LayoutRect& imageR, const LayoutRect& marginR, WritingMode writingMode, Length margin) image 186 Source/core/rendering/shapes/Shape.cpp graphicsContext->drawImage(image, IntRect(IntPoint(), imageRect.size())); image 86 Source/core/rendering/shapes/ShapeInfo.cpp static void getShapeImageAndRect(const ShapeValue* shapeValue, const RenderBox* renderBox, const LayoutSize& referenceBoxSize, Image*& image, LayoutRect& rect) image 89 Source/core/rendering/shapes/ShapeInfo.cpp StyleImage* styleImage = shapeValue->image(); image 94 Source/core/rendering/shapes/ShapeInfo.cpp image = styleImage->cachedImage()->imageForRenderer(renderBox); image 126 Source/core/rendering/shapes/ShapeInfo.cpp Image* image; image 128 Source/core/rendering/shapes/ShapeInfo.cpp getShapeImageAndRect(shapeValue, &m_renderer, m_referenceBoxLogicalSize, image, imageRect); image 130 Source/core/rendering/shapes/ShapeInfo.cpp m_shape = Shape::createRasterShape(image, shapeImageThreshold, imageRect, marginRect, writingMode, margin); image 48 Source/core/rendering/shapes/ShapeOutsideInfo.cpp return shapeValue->isImageValid() && checkShapeImageOrigin(box.document(), *(shapeValue->image()->cachedImage())); image 120 Source/core/rendering/style/BorderData.h const NinePieceImage& image() const { return m_image; } image 35 Source/core/rendering/style/ContentData.cpp PassOwnPtr<ContentData> ContentData::create(PassRefPtr<StyleImage> image) image 37 Source/core/rendering/style/ContentData.cpp return adoptPtr(new ImageContentData(image)); image 71 Source/core/rendering/style/ContentData.cpp RenderImage* image = RenderImage::createAnonymous(&doc); image 72 Source/core/rendering/style/ContentData.cpp image->setPseudoStyle(pseudoStyle); image 74 Source/core/rendering/style/ContentData.cpp image->setImageResource(RenderImageResourceStyleImage::create(m_image.get())); image 76 Source/core/rendering/style/ContentData.cpp image->setImageResource(RenderImageResource::create()); image 77 Source/core/rendering/style/ContentData.cpp return image; image 72 Source/core/rendering/style/ContentData.h const StyleImage* image() const { return m_image.get(); } image 73 Source/core/rendering/style/ContentData.h StyleImage* image() { return m_image.get(); } image 74 Source/core/rendering/style/ContentData.h void setImage(PassRefPtr<StyleImage> image) { m_image = image; } image 83 Source/core/rendering/style/ContentData.h return *static_cast<const ImageContentData&>(data).image() == *image(); image 87 Source/core/rendering/style/ContentData.h ImageContentData(PassRefPtr<StyleImage> image) image 88 Source/core/rendering/style/ContentData.h : m_image(image) image 94 Source/core/rendering/style/ContentData.h RefPtr<StyleImage> image = const_cast<StyleImage*>(this->image()); image 95 Source/core/rendering/style/ContentData.h return create(image.release()); image 35 Source/core/rendering/style/CursorData.h CursorData(PassRefPtr<StyleImage> image, const IntPoint& hotSpot) image 36 Source/core/rendering/style/CursorData.h : m_image(image) image 51 Source/core/rendering/style/CursorData.h StyleImage* image() const { return m_image.get(); } image 52 Source/core/rendering/style/CursorData.h void setImage(PassRefPtr<StyleImage> image) { m_image = image; } image 68 Source/core/rendering/style/FillLayer.h StyleImage* image() const { return m_image.get(); } image 42 Source/core/rendering/style/NinePieceImage.cpp NinePieceImage::NinePieceImage(PassRefPtr<StyleImage> image, LengthBox imageSlices, bool fill, const BorderImageLengthBox& borderSlices, const BorderImageLengthBox& outset, ENinePieceImageRule horizontalRule, ENinePieceImageRule verticalRule) image 45 Source/core/rendering/style/NinePieceImage.cpp m_data.access()->image = image; image 58 Source/core/rendering/style/NinePieceImage.cpp , image(nullptr) image 70 Source/core/rendering/style/NinePieceImage.cpp , image(other.image) image 79 Source/core/rendering/style/NinePieceImage.cpp return StyleImage::imagesEquivalent(image.get(), other.image.get()) image 50 Source/core/rendering/style/NinePieceImage.h RefPtr<StyleImage> image; image 69 Source/core/rendering/style/NinePieceImage.h bool hasImage() const { return m_data->image; } image 70 Source/core/rendering/style/NinePieceImage.h StyleImage* image() const { return m_data->image.get(); } image 71 Source/core/rendering/style/NinePieceImage.h void setImage(PassRefPtr<StyleImage> image) { m_data.access()->image = image; } image 686 Source/core/rendering/style/RenderStyle.cpp void RenderStyle::addCursor(PassRefPtr<StyleImage> image, const IntPoint& hotSpot) image 690 Source/core/rendering/style/RenderStyle.cpp rareInheritedData.access()->cursorData->append(CursorData(image, hotSpot)); image 736 Source/core/rendering/style/RenderStyle.cpp void RenderStyle::setContent(PassRefPtr<StyleImage> image, bool add) image 738 Source/core/rendering/style/RenderStyle.cpp if (!image) image 742 Source/core/rendering/style/RenderStyle.cpp appendContent(ContentData::create(image)); image 746 Source/core/rendering/style/RenderStyle.cpp rareNonInheritedData.access()->m_content = ContentData::create(image); image 1013 Source/core/rendering/style/RenderStyle.cpp allFixed &= (currLayer->image() && currLayer->attachment() == FixedBackgroundAttachment); image 1595 Source/core/rendering/style/RenderStyle.cpp LayoutBoxExtent RenderStyle::imageOutsets(const NinePieceImage& image) const image 1597 Source/core/rendering/style/RenderStyle.cpp return LayoutBoxExtent(NinePieceImage::computeOutset(image.outset().top(), borderTopWidth()), image 1598 Source/core/rendering/style/RenderStyle.cpp NinePieceImage::computeOutset(image.outset().right(), borderRightWidth()), image 1599 Source/core/rendering/style/RenderStyle.cpp NinePieceImage::computeOutset(image.outset().bottom(), borderBottomWidth()), image 1600 Source/core/rendering/style/RenderStyle.cpp NinePieceImage::computeOutset(image.outset().left(), borderLeftWidth())); image 1603 Source/core/rendering/style/RenderStyle.cpp void RenderStyle::setBorderImageSource(PassRefPtr<StyleImage> image) image 1605 Source/core/rendering/style/RenderStyle.cpp if (surround->border.m_image.image() == image.get()) image 1607 Source/core/rendering/style/RenderStyle.cpp surround.access()->border.m_image.setImage(image); image 503 Source/core/rendering/style/RenderStyle.h const NinePieceImage& borderImage() const { return surround->border.image(); } image 504 Source/core/rendering/style/RenderStyle.h StyleImage* borderImageSource() const { return surround->border.image().image(); } image 505 Source/core/rendering/style/RenderStyle.h const LengthBox& borderImageSlices() const { return surround->border.image().imageSlices(); } image 506 Source/core/rendering/style/RenderStyle.h const BorderImageLengthBox& borderImageWidth() const { return surround->border.image().borderSlices(); } image 507 Source/core/rendering/style/RenderStyle.h const BorderImageLengthBox& borderImageOutset() const { return surround->border.image().outset(); } image 668 Source/core/rendering/style/RenderStyle.h StyleImage* maskImage() const { return rareNonInheritedData->m_mask.image(); } image 682 Source/core/rendering/style/RenderStyle.h StyleImage* maskBoxImageSource() const { return rareNonInheritedData->m_maskBoxImage.image(); } image 66 Source/core/rendering/style/ShapeValue.h static PassRefPtr<ShapeValue> createImageValue(PassRefPtr<StyleImage> image) image 68 Source/core/rendering/style/ShapeValue.h return adoptRef(new ShapeValue(image)); image 74 Source/core/rendering/style/ShapeValue.h StyleImage* image() const { return m_image.get(); } image 75 Source/core/rendering/style/ShapeValue.h bool isImageValid() const { return image() && image()->cachedImage() && image()->cachedImage()->hasImage(); } image 76 Source/core/rendering/style/ShapeValue.h void setImage(PassRefPtr<StyleImage> image) image 79 Source/core/rendering/style/ShapeValue.h if (m_image != image) image 80 Source/core/rendering/style/ShapeValue.h m_image = image; image 98 Source/core/rendering/style/ShapeValue.h ShapeValue(PassRefPtr<StyleImage> image) image 100 Source/core/rendering/style/ShapeValue.h , m_image(image) image 130 Source/core/rendering/style/ShapeValue.h return image() == other.image(); image 33 Source/core/rendering/style/StyleFetchedImage.cpp StyleFetchedImage::StyleFetchedImage(ImageResource* image) image 34 Source/core/rendering/style/StyleFetchedImage.cpp : m_image(image) image 38 Source/core/rendering/style/StyleFetchedImage.h static PassRefPtr<StyleFetchedImage> create(ImageResource* image) { return adoptRef(new StyleFetchedImage(image)); } image 56 Source/core/rendering/style/StyleFetchedImage.h virtual PassRefPtr<Image> image(RenderObject*, const IntSize&) const OVERRIDE; image 35 Source/core/rendering/style/StyleFetchedImageSet.cpp StyleFetchedImageSet::StyleFetchedImageSet(ImageResource* image, float imageScaleFactor, CSSImageSetValue* value) image 36 Source/core/rendering/style/StyleFetchedImageSet.cpp : m_bestFitImage(image) image 44 Source/core/rendering/style/StyleFetchedImageSet.h static PassRefPtr<StyleFetchedImageSet> create(ImageResource* image, float imageScaleFactor, CSSImageSetValue* value) image 46 Source/core/rendering/style/StyleFetchedImageSet.h return adoptRef(new StyleFetchedImageSet(image, imageScaleFactor, value)); image 70 Source/core/rendering/style/StyleFetchedImageSet.h virtual PassRefPtr<Image> image(RenderObject*, const IntSize&) const OVERRIDE; image 89 Source/core/rendering/style/StyleGeneratedImage.cpp return m_imageGeneratorValue->image(renderer, size); image 53 Source/core/rendering/style/StyleGeneratedImage.h virtual PassRefPtr<Image> image(RenderObject*, const IntSize&) const OVERRIDE; image 65 Source/core/rendering/style/StyleImage.h virtual PassRefPtr<Image> image(RenderObject*, const IntSize&) const = 0; image 62 Source/core/rendering/style/StylePendingImage.h virtual PassRefPtr<Image> image(RenderObject*, const IntSize&) const OVERRIDE image 54 Source/core/rendering/style/StyleReflection.h void setMask(const NinePieceImage& image) { m_mask = image; } image 62 Source/core/rendering/svg/RenderSVGImage.cpp SVGImageElement* image = toSVGImageElement(element()); image 66 Source/core/rendering/svg/RenderSVGImage.cpp SVGLengthContext lengthContext(image); image 67 Source/core/rendering/svg/RenderSVGImage.cpp m_objectBoundingBox = FloatRect(image->x()->currentValue()->value(lengthContext), image->y()->currentValue()->value(lengthContext), image->width()->currentValue()->value(lengthContext), image->height()->currentValue()->value(lengthContext)); image 72 Source/core/rendering/svg/RenderSVGImage.cpp if (image->preserveAspectRatio()->currentValue()->align() == SVGPreserveAspectRatio::SVG_PRESERVEASPECTRATIO_NONE) { image 164 Source/core/rendering/svg/RenderSVGImage.cpp RefPtr<Image> image = m_imageResource->image(); image 166 Source/core/rendering/svg/RenderSVGImage.cpp FloatRect srcRect(0, 0, image->width(), image->height()); image 173 Source/core/rendering/svg/RenderSVGImage.cpp interpolationQuality = ImageQualityController::imageQualityController()->chooseInterpolationQuality(paintInfo.context, this, image.get(), image.get(), LayoutSize(destRect.size())); image 177 Source/core/rendering/svg/RenderSVGImage.cpp paintInfo.context->drawImage(image.get(), destRect, srcRect, CompositeSourceOver); image 129 Source/core/rendering/svg/RenderSVGResourceFilter.cpp OwnPtr<ImageBuffer> image = ImageBuffer::create(surface.release()); image 131 Source/core/rendering/svg/RenderSVGResourceFilter.cpp GraphicsContext* imageContext = image->context(); image 136 Source/core/rendering/svg/RenderSVGResourceFilter.cpp imageBuffer = image.release(); image 613 Source/core/rendering/svg/SVGRenderTreeAsText.cpp void writeSVGImage(TextStream& ts, const RenderSVGImage& image, int indent) image 615 Source/core/rendering/svg/SVGRenderTreeAsText.cpp writeStandardPrefix(ts, image, indent); image 616 Source/core/rendering/svg/SVGRenderTreeAsText.cpp writePositionAndStyle(ts, image); image 618 Source/core/rendering/svg/SVGRenderTreeAsText.cpp writeResources(ts, image, indent); image 58 Source/core/svg/SVGFEImageElement.cpp if (m_cachedImage && m_cachedImage->image()) image 59 Source/core/svg/SVGFEImageElement.cpp return m_cachedImage->image()->currentFrameHasSingleSecurityOrigin(); image 64 Source/core/svg/SVGImageElement.cpp if (Image* image = renderSVGImage->imageResource()->cachedImage()->image()) image 65 Source/core/svg/SVGImageElement.cpp return image->currentFrameHasSingleSecurityOrigin(); image 196 Source/core/svg/SVGImageElement.cpp imageObj->imageResource()->setImageResource(m_imageLoader.image()); image 214 Source/core/svg/SVGImageElement.cpp if (!m_imageLoader.image()) image 39 Source/core/svg/SVGImageLoader.cpp if (image()->errorOccurred()) image 71 Source/core/svg/graphics/SVGImage.cpp ASSERT(!m_chromeClient || !m_chromeClient->image()); image 237 Source/core/svg/graphics/SVGImage.cpp RefPtr<Image> image = buffer->copyImage(DontCopyBackingStore, Unscaled); image 243 Source/core/svg/graphics/SVGImage.cpp image->drawPattern(context, scaledSrcRect, scaleWithoutCTM, phase, compositeOp, dstRect, blendMode, repeatSpacing); image 113 Source/core/svg/graphics/SVGImage.h ImageObserverDisabler(Image* image) image 114 Source/core/svg/graphics/SVGImage.h : m_image(image) image 44 Source/core/svg/graphics/SVGImageCache.h static PassOwnPtr<SVGImageCache> create(SVGImage* image) image 46 Source/core/svg/graphics/SVGImageCache.h return adoptPtr(new SVGImageCache(image)); image 41 Source/core/svg/graphics/SVGImageChromeClient.cpp SVGImageChromeClient::SVGImageChromeClient(SVGImage* image) image 42 Source/core/svg/graphics/SVGImageChromeClient.cpp : m_image(image) image 43 Source/core/svg/graphics/SVGImageChromeClient.h SVGImage* image() const { return m_image; } image 38 Source/core/svg/graphics/SVGImageForContainer.h static PassRefPtr<SVGImageForContainer> create(SVGImage* image, const FloatSize& containerSize, float zoom) image 40 Source/core/svg/graphics/SVGImageForContainer.h return adoptRef(new SVGImageForContainer(image, containerSize, zoom)); image 65 Source/core/svg/graphics/SVGImageForContainer.h SVGImageForContainer(SVGImage* image, const FloatSize& containerSize, float zoom) image 66 Source/core/svg/graphics/SVGImageForContainer.h : m_image(image) image 43 Source/core/svg/graphics/filters/SVGFEImage.cpp FEImage::FEImage(Filter* filter, PassRefPtr<Image> image, PassRefPtr<SVGPreserveAspectRatio> preserveAspectRatio) image 45 Source/core/svg/graphics/filters/SVGFEImage.cpp , m_image(image) image 59 Source/core/svg/graphics/filters/SVGFEImage.cpp PassRefPtr<FEImage> FEImage::createWithImage(Filter* filter, PassRefPtr<Image> image, PassRefPtr<SVGPreserveAspectRatio> preserveAspectRatio) image 61 Source/core/svg/graphics/filters/SVGFEImage.cpp return adoptRef(new FEImage(filter, image, preserveAspectRatio)); image 2235 Source/core/testing/Internals.cpp if (cursor.image()) { image 2236 Source/core/testing/Internals.cpp IntSize size = cursor.image()->size(); image 52 Source/modules/imagebitmap/ImageBitmapFactories.cpp static LayoutSize sizeFor(HTMLImageElement* image) image 54 Source/modules/imagebitmap/ImageBitmapFactories.cpp if (ImageResource* cachedImage = image->cachedImage()) image 55 Source/modules/imagebitmap/ImageBitmapFactories.cpp return cachedImage->imageSizeForRenderer(image->renderer(), 1.0f); // FIXME: Not sure about this. image 78 Source/modules/imagebitmap/ImageBitmapFactories.cpp ScriptPromise ImageBitmapFactories::createImageBitmap(EventTarget& eventTarget, HTMLImageElement* image, ExceptionState& exceptionState) image 80 Source/modules/imagebitmap/ImageBitmapFactories.cpp LayoutSize s = sizeFor(image); image 81 Source/modules/imagebitmap/ImageBitmapFactories.cpp return createImageBitmap(eventTarget, image, 0, 0, s.width(), s.height(), exceptionState); image 84 Source/modules/imagebitmap/ImageBitmapFactories.cpp ScriptPromise ImageBitmapFactories::createImageBitmap(EventTarget& eventTarget, HTMLImageElement* image, int sx, int sy, int sw, int sh, ExceptionState& exceptionState) image 89 Source/modules/imagebitmap/ImageBitmapFactories.cpp if (!image) { image 93 Source/modules/imagebitmap/ImageBitmapFactories.cpp if (!image->cachedImage()) { image 97 Source/modules/imagebitmap/ImageBitmapFactories.cpp if (image->cachedImage()->image()->isSVGImage()) { image 105 Source/modules/imagebitmap/ImageBitmapFactories.cpp if (!image->cachedImage()->image()->currentFrameHasSingleSecurityOrigin()) { image 109 Source/modules/imagebitmap/ImageBitmapFactories.cpp if (!image->cachedImage()->passesAccessControlCheck(eventTarget.toDOMWindow()->document()->securityOrigin()) && eventTarget.toDOMWindow()->document()->securityOrigin()->taintsCanvas(image->src())) { image 114 Source/modules/imagebitmap/ImageBitmapFactories.cpp return fulfillImageBitmap(eventTarget.executionContext(), ImageBitmap::create(image, IntRect(sx, sy, sw, sh))); image 340 Source/modules/imagebitmap/ImageBitmapFactories.cpp RefPtr<Image> image = BitmapImage::create(imageSkia); image 341 Source/modules/imagebitmap/ImageBitmapFactories.cpp if (!image->width() || !image->height()) { image 347 Source/modules/imagebitmap/ImageBitmapFactories.cpp m_cropRect = IntRect(IntPoint(), image->size()); image 350 Source/modules/imagebitmap/ImageBitmapFactories.cpp RefPtrWillBeRawPtr<ImageBitmap> imageBitmap = ImageBitmap::create(image.get(), m_cropRect); image 31 Source/platform/Cursor.cpp IntPoint determineHotSpot(Image* image, const IntPoint& specifiedHotSpot) image 33 Source/platform/Cursor.cpp if (image->isNull()) image 37 Source/platform/Cursor.cpp IntRect imageRect = image->rect(); image 43 Source/platform/Cursor.cpp bool imageHasIntrinsicHotSpot = image->getHotSpot(intrinsicHotSpot); image 145 Source/platform/Cursor.cpp Cursor::Cursor(Image* image, const IntPoint& hotSpot) image 147 Source/platform/Cursor.cpp , m_image(image) image 148 Source/platform/Cursor.cpp , m_hotSpot(determineHotSpot(image, hotSpot)) image 153 Source/platform/Cursor.cpp Cursor::Cursor(Image* image, const IntPoint& hotSpot, float scale) image 155 Source/platform/Cursor.cpp , m_image(image) image 156 Source/platform/Cursor.cpp , m_hotSpot(determineHotSpot(image, hotSpot)) image 110 Source/platform/Cursor.h Image* image() const { return m_image.get(); } image 69 Source/platform/DragImage.cpp PassOwnPtr<DragImage> DragImage::create(Image* image, RespectImageOrientationEnum shouldRespectImageOrientation, float deviceScaleFactor) image 71 Source/platform/DragImage.cpp if (!image) image 74 Source/platform/DragImage.cpp RefPtr<NativeImageSkia> bitmap = image->nativeImageForCurrentFrame(); image 78 Source/platform/DragImage.cpp if (image->isBitmapImage()) { image 80 Source/platform/DragImage.cpp BitmapImage* bitmapImage = toBitmapImage(image); image 198 Source/platform/DragImage.cpp RefPtr<Image> image = buffer->copyImage(); image 199 Source/platform/DragImage.cpp return DragImage::create(image.get(), DoNotRespectImageOrientation, deviceScaleFactor); image 44 Source/platform/exported/WebCursorInfo.cpp , customImage(cursor.image()) image 89 Source/platform/exported/WebImageSkia.cpp RefPtr<NativeImageSkia> image = frame->asNewNativeImage(); image 90 Source/platform/exported/WebImageSkia.cpp if (!image) image 93 Source/platform/exported/WebImageSkia.cpp return WebImage(image->bitmap()); image 126 Source/platform/exported/WebImageSkia.cpp RefPtr<NativeImageSkia> image = frame->asNewNativeImage(); image 127 Source/platform/exported/WebImageSkia.cpp if (image && image->isDataComplete()) image 128 Source/platform/exported/WebImageSkia.cpp frames.append(WebImage(image->bitmap())); image 139 Source/platform/exported/WebImageSkia.cpp void WebImage::assign(const WebImage& image) image 141 Source/platform/exported/WebImageSkia.cpp m_bitmap = image.m_bitmap; image 154 Source/platform/exported/WebImageSkia.cpp WebImage::WebImage(const PassRefPtr<Image>& image) image 156 Source/platform/exported/WebImageSkia.cpp operator=(image); image 159 Source/platform/exported/WebImageSkia.cpp WebImage& WebImage::operator=(const PassRefPtr<Image>& image) image 162 Source/platform/exported/WebImageSkia.cpp if (image && (p = image->nativeImageForCurrentFrame())) image 399 Source/platform/graphics/Canvas2DLayerBridge.cpp RefPtr<SkImage> image = adoptRef(m_canvas->newImageSnapshot()); image 402 Source/platform/graphics/Canvas2DLayerBridge.cpp if (image->uniqueID() == m_lastImageId) image 404 Source/platform/graphics/Canvas2DLayerBridge.cpp m_lastImageId = image->uniqueID(); image 408 Source/platform/graphics/Canvas2DLayerBridge.cpp mailboxInfo->m_image = image; image 153 Source/platform/graphics/DeferredImageDecoderTest.cpp RefPtr<NativeImageSkia> image = m_lazyDecoder->frameBufferAtIndex(0)->asNewNativeImage(); image 154 Source/platform/graphics/DeferredImageDecoderTest.cpp EXPECT_EQ(1, image->bitmap().width()); image 155 Source/platform/graphics/DeferredImageDecoderTest.cpp EXPECT_EQ(1, image->bitmap().height()); image 156 Source/platform/graphics/DeferredImageDecoderTest.cpp EXPECT_FALSE(image->bitmap().isNull()); image 157 Source/platform/graphics/DeferredImageDecoderTest.cpp EXPECT_TRUE(image->bitmap().isImmutable()); image 160 Source/platform/graphics/DeferredImageDecoderTest.cpp tempCanvas->drawBitmap(image->bitmap(), 0, 0); image 180 Source/platform/graphics/DeferredImageDecoderTest.cpp RefPtr<NativeImageSkia> image = m_lazyDecoder->frameBufferAtIndex(0)->asNewNativeImage(); image 182 Source/platform/graphics/DeferredImageDecoderTest.cpp tempCanvas->drawBitmap(image->bitmap(), 0, 0); image 188 Source/platform/graphics/DeferredImageDecoderTest.cpp image = m_lazyDecoder->frameBufferAtIndex(0)->asNewNativeImage(); image 190 Source/platform/graphics/DeferredImageDecoderTest.cpp tempCanvas->drawBitmap(image->bitmap(), 0, 0); image 209 Source/platform/graphics/DeferredImageDecoderTest.cpp RefPtr<NativeImageSkia> image = m_lazyDecoder->frameBufferAtIndex(0)->asNewNativeImage(); image 210 Source/platform/graphics/DeferredImageDecoderTest.cpp EXPECT_EQ(1, image->bitmap().width()); image 211 Source/platform/graphics/DeferredImageDecoderTest.cpp EXPECT_EQ(1, image->bitmap().height()); image 212 Source/platform/graphics/DeferredImageDecoderTest.cpp EXPECT_FALSE(image->bitmap().isNull()); image 213 Source/platform/graphics/DeferredImageDecoderTest.cpp EXPECT_TRUE(image->bitmap().isImmutable()); image 216 Source/platform/graphics/DeferredImageDecoderTest.cpp tempCanvas->drawBitmap(image->bitmap(), 0, 0); image 311 Source/platform/graphics/DeferredImageDecoderTest.cpp RefPtr<NativeImageSkia> image = m_lazyDecoder->frameBufferAtIndex(0)->asNewNativeImage(); image 312 Source/platform/graphics/DeferredImageDecoderTest.cpp EXPECT_EQ(m_decodedSize.width(), image->bitmap().width()); image 313 Source/platform/graphics/DeferredImageDecoderTest.cpp EXPECT_EQ(m_decodedSize.height(), image->bitmap().height()); image 314 Source/platform/graphics/DeferredImageDecoderTest.cpp EXPECT_FALSE(image->bitmap().isNull()); image 315 Source/platform/graphics/DeferredImageDecoderTest.cpp EXPECT_TRUE(image->bitmap().isImmutable()); image 321 Source/platform/graphics/DeferredImageDecoderTest.cpp tempCanvas->drawBitmap(image->bitmap(), 0, 0); image 1021 Source/platform/graphics/GraphicsContext.cpp void GraphicsContext::drawImage(Image* image, const IntPoint& p, CompositeOperator op, RespectImageOrientationEnum shouldRespectImageOrientation) image 1023 Source/platform/graphics/GraphicsContext.cpp if (!image) image 1025 Source/platform/graphics/GraphicsContext.cpp drawImage(image, FloatRect(IntRect(p, image->size())), FloatRect(FloatPoint(), FloatSize(image->size())), op, shouldRespectImageOrientation); image 1028 Source/platform/graphics/GraphicsContext.cpp void GraphicsContext::drawImage(Image* image, const IntRect& r, CompositeOperator op, RespectImageOrientationEnum shouldRespectImageOrientation) image 1030 Source/platform/graphics/GraphicsContext.cpp if (!image) image 1032 Source/platform/graphics/GraphicsContext.cpp drawImage(image, FloatRect(r), FloatRect(FloatPoint(), FloatSize(image->size())), op, shouldRespectImageOrientation); image 1035 Source/platform/graphics/GraphicsContext.cpp void GraphicsContext::drawImage(Image* image, const FloatRect& dest, const FloatRect& src, CompositeOperator op, RespectImageOrientationEnum shouldRespectImageOrientation) image 1037 Source/platform/graphics/GraphicsContext.cpp drawImage(image, dest, src, op, blink::WebBlendModeNormal, shouldRespectImageOrientation); image 1040 Source/platform/graphics/GraphicsContext.cpp void GraphicsContext::drawImage(Image* image, const FloatRect& dest) image 1042 Source/platform/graphics/GraphicsContext.cpp if (!image) image 1044 Source/platform/graphics/GraphicsContext.cpp drawImage(image, dest, FloatRect(IntRect(IntPoint(), image->size()))); image 1047 Source/platform/graphics/GraphicsContext.cpp void GraphicsContext::drawImage(Image* image, const FloatRect& dest, const FloatRect& src, CompositeOperator op, WebBlendMode blendMode, RespectImageOrientationEnum shouldRespectImageOrientation) image 1049 Source/platform/graphics/GraphicsContext.cpp if (paintingDisabled() || !image) image 1051 Source/platform/graphics/GraphicsContext.cpp image->draw(this, dest, src, op, blendMode, shouldRespectImageOrientation); image 1054 Source/platform/graphics/GraphicsContext.cpp void GraphicsContext::drawTiledImage(Image* image, const IntRect& destRect, const IntPoint& srcPoint, const IntSize& tileSize, CompositeOperator op, WebBlendMode blendMode, const IntSize& repeatSpacing) image 1056 Source/platform/graphics/GraphicsContext.cpp if (paintingDisabled() || !image) image 1058 Source/platform/graphics/GraphicsContext.cpp image->drawTiled(this, destRect, srcPoint, tileSize, op, blendMode, repeatSpacing); image 1061 Source/platform/graphics/GraphicsContext.cpp void GraphicsContext::drawTiledImage(Image* image, const IntRect& dest, const IntRect& srcRect, image 1064 Source/platform/graphics/GraphicsContext.cpp if (paintingDisabled() || !image) image 1069 Source/platform/graphics/GraphicsContext.cpp drawImage(image, dest, srcRect, op); image 1073 Source/platform/graphics/GraphicsContext.cpp image->drawTiled(this, dest, srcRect, tileScaleFactor, hRule, vRule, op); image 1076 Source/platform/graphics/GraphicsContext.cpp void GraphicsContext::drawImageBuffer(ImageBuffer* image, const IntPoint& p, CompositeOperator op, WebBlendMode blendMode) image 1078 Source/platform/graphics/GraphicsContext.cpp if (!image) image 1080 Source/platform/graphics/GraphicsContext.cpp drawImageBuffer(image, FloatRect(IntRect(p, image->size())), FloatRect(FloatPoint(), FloatSize(image->size())), op, blendMode); image 1083 Source/platform/graphics/GraphicsContext.cpp void GraphicsContext::drawImageBuffer(ImageBuffer* image, const IntRect& r, CompositeOperator op, WebBlendMode blendMode) image 1085 Source/platform/graphics/GraphicsContext.cpp if (!image) image 1087 Source/platform/graphics/GraphicsContext.cpp drawImageBuffer(image, FloatRect(r), FloatRect(FloatPoint(), FloatSize(image->size())), op, blendMode); image 1090 Source/platform/graphics/GraphicsContext.cpp void GraphicsContext::drawImageBuffer(ImageBuffer* image, const IntPoint& dest, const IntRect& srcRect, CompositeOperator op, WebBlendMode blendMode) image 1092 Source/platform/graphics/GraphicsContext.cpp drawImageBuffer(image, FloatRect(IntRect(dest, srcRect.size())), FloatRect(srcRect), op, blendMode); image 1095 Source/platform/graphics/GraphicsContext.cpp void GraphicsContext::drawImageBuffer(ImageBuffer* image, const IntRect& dest, const IntRect& srcRect, CompositeOperator op, WebBlendMode blendMode) image 1097 Source/platform/graphics/GraphicsContext.cpp drawImageBuffer(image, FloatRect(dest), FloatRect(srcRect), op, blendMode); image 1100 Source/platform/graphics/GraphicsContext.cpp void GraphicsContext::drawImageBuffer(ImageBuffer* image, const FloatRect& dest) image 1102 Source/platform/graphics/GraphicsContext.cpp if (!image) image 1104 Source/platform/graphics/GraphicsContext.cpp drawImageBuffer(image, dest, FloatRect(IntRect(IntPoint(), image->size()))); image 1107 Source/platform/graphics/GraphicsContext.cpp void GraphicsContext::drawImageBuffer(ImageBuffer* image, const FloatRect& dest, const FloatRect& src, CompositeOperator op, WebBlendMode blendMode) image 1109 Source/platform/graphics/GraphicsContext.cpp if (paintingDisabled() || !image) image 1111 Source/platform/graphics/GraphicsContext.cpp image->draw(this, dest, src, op, blendMode); image 998 Source/platform/graphics/GraphicsLayer.cpp void GraphicsLayer::setContentsToImage(Image* image) image 1000 Source/platform/graphics/GraphicsLayer.cpp RefPtr<NativeImageSkia> nativeImage = image ? image->nativeImageForCurrentFrame() : nullptr; image 1007 Source/platform/graphics/GraphicsLayer.cpp m_imageLayer->layer()->setOpaque(image->currentFrameKnownToBeOpaque()); image 1019 Source/platform/graphics/GraphicsLayer.cpp void GraphicsLayer::setContentsToNinePatch(Image* image, const IntRect& aperture) image 1025 Source/platform/graphics/GraphicsLayer.cpp RefPtr<NativeImageSkia> nativeImage = image ? image->nativeImageForCurrentFrame() : nullptr; image 1029 Source/platform/graphics/GraphicsLayer.cpp m_ninePatchLayer->layer()->setOpaque(image->currentFrameKnownToBeOpaque()); image 71 Source/platform/graphics/Image.cpp RefPtr<Image> image = BitmapImage::create(); image 72 Source/platform/graphics/Image.cpp image->setData(resource, true); image 73 Source/platform/graphics/Image.cpp return image.release(); image 146 Source/platform/graphics/Image.h DEFINE_TYPE_CASTS(typeName, Image, image, image->is##typeName(), image.is##typeName()) image 247 Source/platform/graphics/ImageBuffer.cpp RefPtr<Image> image = BitmapImage::create(NativeImageSkia::create(drawNeedsCopy(m_context.get(), context) ? deepSkBitmapCopy(bitmap) : bitmap)); image 249 Source/platform/graphics/ImageBuffer.cpp context->drawImage(image.get(), destRect, srcRect, op, blendMode, DoNotRespectImageOrientation); image 266 Source/platform/graphics/ImageBuffer.cpp RefPtr<Image> image = BitmapImage::create(NativeImageSkia::create(drawNeedsCopy(m_context.get(), context) ? deepSkBitmapCopy(bitmap) : bitmap)); image 267 Source/platform/graphics/ImageBuffer.cpp image->drawPattern(context, srcRect, scale, phase, op, destRect, blendMode, repeatSpacing); image 132 Source/platform/graphics/ImageDecodingStore.cpp const ScaledImageFragment* ImageDecodingStore::insertAndLockCache(const ImageFrameGenerator* generator, PassOwnPtr<ScaledImageFragment> image) image 137 Source/platform/graphics/ImageDecodingStore.cpp ScaledImageFragment* newImage = image.get(); image 138 Source/platform/graphics/ImageDecodingStore.cpp OwnPtr<ImageCacheEntry> newCacheEntry = ImageCacheEntry::createAndUse(generator, image); image 338 Source/platform/graphics/ImageDecodingStore.cpp ScaledImageFragment* image = cacheEntry->cachedImage(); image 340 Source/platform/graphics/ImageDecodingStore.cpp image->bitmap().lockPixels(); image 344 Source/platform/graphics/ImageDecodingStore.cpp if (!image->bitmap().getPixels()) { image 345 Source/platform/graphics/ImageDecodingStore.cpp image->bitmap().unlockPixels(); image 351 Source/platform/graphics/ImageDecodingStore.cpp *cachedImage = image; image 197 Source/platform/graphics/ImageDecodingStore.h static PassOwnPtr<ImageCacheEntry> createAndUse(const ImageFrameGenerator* generator, PassOwnPtr<ScaledImageFragment> image) image 199 Source/platform/graphics/ImageDecodingStore.h return adoptPtr(new ImageCacheEntry(generator, 1, image)); image 202 Source/platform/graphics/ImageDecodingStore.h ImageCacheEntry(const ImageFrameGenerator* generator, int count, PassOwnPtr<ScaledImageFragment> image) image 203 Source/platform/graphics/ImageDecodingStore.h : CacheEntry(generator, count, DiscardablePixelRef::isDiscardable(image->bitmap().pixelRef())) image 204 Source/platform/graphics/ImageDecodingStore.h , m_cachedImage(image) image 105 Source/platform/graphics/ImageDecodingStoreTest.cpp const ScaledImageFragment* image = ImageDecodingStore::instance()->insertAndLockCache( image 107 Source/platform/graphics/ImageDecodingStoreTest.cpp unlockCache(image); image 324 Source/platform/graphics/ImageFrameGeneratorTest.cpp OwnPtr<ScaledImageFragment> image = decode(0); image 328 Source/platform/graphics/ImageFrameGeneratorTest.cpp EXPECT_TRUE(image); image 331 Source/platform/graphics/ImageFrameGeneratorTest.cpp EXPECT_FALSE(image); image 39 Source/platform/graphics/Pattern.cpp Pattern::Pattern(PassRefPtr<Image> image, bool repeatX, bool repeatY) image 44 Source/platform/graphics/Pattern.cpp if (image) { image 45 Source/platform/graphics/Pattern.cpp m_tileImage = image->nativeImageForCurrentFrame(); image 164 Source/platform/graphics/filters/FEColorMatrix.cpp RefPtr<Image> image = in->asImageBuffer()->copyImage(DontCopyBackingStore); image 165 Source/platform/graphics/filters/FEColorMatrix.cpp RefPtr<NativeImageSkia> nativeImage = image->nativeImageForCurrentFrame(); image 160 Source/platform/graphics/filters/FEComponentTransfer.cpp RefPtr<Image> image = in->asImageBuffer()->copyImage(DontCopyBackingStore); image 161 Source/platform/graphics/filters/FEComponentTransfer.cpp RefPtr<NativeImageSkia> nativeImage = image->nativeImageForCurrentFrame(); image 240 Source/platform/graphics/filters/FEConvolveMatrix.cpp ALWAYS_INLINE void setDestinationPixels(Uint8ClampedArray* image, int& pixel, float* totals, float divisor, float bias, Uint8ClampedArray* src) image 244 Source/platform/graphics/filters/FEConvolveMatrix.cpp image->set(pixel++, clampRGBAValue(totals[i] / divisor + bias, maxAlpha)); image 247 Source/platform/graphics/filters/FEConvolveMatrix.cpp image->set(pixel, src->item(pixel)); image 250 Source/platform/graphics/filters/FEConvolveMatrix.cpp image->set(pixel++, maxAlpha); image 96 Source/platform/graphics/filters/FEDropShadow.cpp RefPtr<Image> image = in->asImageBuffer()->copyImage(DontCopyBackingStore); image 98 Source/platform/graphics/filters/FEDropShadow.cpp RefPtr<NativeImageSkia> nativeImage = image->nativeImageForCurrentFrame(); image 156 Source/platform/graphics/filters/FEGaussianBlur.cpp RefPtr<Image> image = in->asImageBuffer()->copyImage(DontCopyBackingStore); image 165 Source/platform/graphics/filters/FEGaussianBlur.cpp dstContext->drawImage(image.get(), drawingRegion.location(), CompositeCopy); image 114 Source/platform/graphics/filters/FEMorphology.cpp RefPtr<Image> image = in->asImageBuffer()->copyImage(DontCopyBackingStore); image 125 Source/platform/graphics/filters/FEMorphology.cpp dstContext->drawImage(image.get(), drawingRegion.location(), CompositeCopy); image 1531 Source/platform/graphics/gpu/WebGLImageConversion.cpp WebGLImageConversion::ImageExtractor::ImageExtractor(Image* image, ImageHtmlDomSource imageHtmlDomSource, bool premultiplyAlpha, bool ignoreGammaAndColorProfile) image 1533 Source/platform/graphics/gpu/WebGLImageConversion.cpp m_image = image; image 1655 Source/platform/graphics/gpu/WebGLImageConversion.cpp Image* image, image 1678 Source/platform/graphics/gpu/WebGLImageConversion.cpp if (ImageObserver *observer = image->imageObserver()) image 1679 Source/platform/graphics/gpu/WebGLImageConversion.cpp observer->didDraw(image); image 286 Source/platform/graphics/skia/NativeImageSkia.cpp NativeImageSkia::NativeImageSkia(const SkBitmap& image, const SkBitmap& resizedImage, const ImageResourceInfo& cachedImageInfo, int resizeRequests) image 287 Source/platform/graphics/skia/NativeImageSkia.cpp : m_image(image) image 155 Source/platform/graphics/skia/NativeImageSkia.h NativeImageSkia(const SkBitmap& image, const SkBitmap& resizedImage, const ImageResourceInfo&, int resizeRequests); image 285 Source/web/ContextMenuClientImpl.cpp && r.image() && !(r.image()->isNull()); image 74 Source/web/DragClientImpl.cpp WebImage image; image 85 Source/web/DragClientImpl.cpp image = dragImage->bitmap(); image 88 Source/web/DragClientImpl.cpp m_webView->startDragging(frame, dragData, dragOperationMask, image, offsetPoint); image 163 Source/web/WebElement.cpp WebCore::Image* image = unwrap<Element>()->imageContents(); image 164 Source/web/WebElement.cpp if (!image) image 167 Source/web/WebElement.cpp RefPtr<NativeImageSkia> bitmap = image->nativeImageForCurrentFrame(); image 113 Source/web/WebImageDecoder.cpp RefPtr<NativeImageSkia> image = frameBuffer->asNewNativeImage(); image 114 Source/web/WebImageDecoder.cpp return WebImage(image->bitmap()); image 5054 Source/web/tests/WebFrameTest.cpp WebImage image = element.imageContents(); image 5055 Source/web/tests/WebFrameTest.cpp ASSERT_FALSE(image.isNull()); image 5056 Source/web/tests/WebFrameTest.cpp EXPECT_EQ(image.size().width, 10); image 5057 Source/web/tests/WebFrameTest.cpp EXPECT_EQ(image.size().height, 10); image 60 Source/web/tests/WebImageTest.cpp WebImage image = WebImage::fromData(WebData(data), WebSize()); image 61 Source/web/tests/WebImageTest.cpp EXPECT_TRUE(image.size() == WebSize(1, 1)); image 62 Source/web/tests/WebImageTest.cpp SkAutoLockPixels autoLock(image.getSkBitmap()); image 63 Source/web/tests/WebImageTest.cpp EXPECT_EQ(SkColorSetARGB(255, 255, 255, 255), image.getSkBitmap().getColor(0, 0)); image 96 Source/web/tests/WebImageTest.cpp WebImage image = WebImage::fromData(WebData(badImage), WebSize()); image 97 Source/web/tests/WebImageTest.cpp EXPECT_TRUE(image.getSkBitmap().empty()); image 98 Source/web/tests/WebImageTest.cpp EXPECT_TRUE(image.getSkBitmap().isNull()); image 55 public/platform/WebImage.h WebImage(const WebImage& image) image 58 public/platform/WebImage.h assign(image); image 61 public/platform/WebImage.h WebImage& operator=(const WebImage& image) image 63 public/platform/WebImage.h assign(image);