Searched defs:imageElement (Results 1 - 11 of 11) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/core/svg/
H A DSVGImageLoader.cpp42 SVGImageElement* imageElement = toSVGImageElement(element()); local
43 imageElement->sendSVGLoadEventIfPossible(true);
/external/chromium_org/third_party/WebKit/Source/core/frame/
H A DImageBitmap.h34 PassRefPtrWillBeRawPtr<HTMLImageElement> imageElement() const { return m_imageElement; } function in class:WebCore::FINAL
H A DImageBitmapTest.cpp92 RefPtrWillBeRawPtr<HTMLImageElement> imageElement = HTMLImageElement::create(*Document::create().get()); local
93 imageElement->setImageResource(new ImageResource(BitmapImage::create(NativeImageSkia::create(m_bitmap)).get()));
95 RefPtrWillBeRawPtr<ImageBitmap> imageBitmapNoCrop = ImageBitmap::create(imageElement.get(), IntRect(0, 0, m_bitmap.width(), m_bitmap.height()));
96 RefPtrWillBeRawPtr<ImageBitmap> imageBitmapInteriorCrop = ImageBitmap::create(imageElement.get(), IntRect(m_bitmap.width() / 2, m_bitmap.height() / 2, m_bitmap.width() / 2, m_bitmap.height() / 2));
97 RefPtrWillBeRawPtr<ImageBitmap> imageBitmapExteriorCrop = ImageBitmap::create(imageElement.get(), IntRect(-m_bitmap.width() / 2, -m_bitmap.height() / 2, m_bitmap.width(), m_bitmap.height()));
98 RefPtrWillBeRawPtr<ImageBitmap> imageBitmapOutsideCrop = ImageBitmap::create(imageElement.get(), IntRect(-m_bitmap.width(), -m_bitmap.height(), m_bitmap.width(), m_bitmap.height()));
100 ASSERT_EQ(imageBitmapNoCrop->bitmapImage().get(), imageElement->cachedImage()->image());
101 ASSERT_EQ(imageBitmapInteriorCrop->bitmapImage().get(), imageElement->cachedImage()->image());
102 ASSERT_EQ(imageBitmapExteriorCrop->bitmapImage().get(), imageElement->cachedImage()->image());
105 ASSERT_NE(emptyImage.get(), imageElement
[all...]
/external/chromium_org/third_party/WebKit/Source/core/html/
H A DImageDocument.h49 HTMLImageElement* imageElement() const { return m_imageElement.get(); } function in class:WebCore::FINAL
H A DHTMLMapElement.cpp68 HTMLImageElement* HTMLMapElement::imageElement() function in class:WebCore::HTMLMapElement
76 HTMLImageElement& imageElement = toHTMLImageElement(*curr); local
77 String useMapName = imageElement.getAttribute(usemapAttr).string().substring(1);
79 return &imageElement;
H A DHTMLAreaElement.cpp176 HTMLImageElement* HTMLAreaElement::imageElement() const function in class:WebCore::HTMLAreaElement
185 return toHTMLMapElement(*mapElement).imageElement();
200 HTMLImageElement* image = imageElement();
214 HTMLImageElement* imageElement = this->imageElement(); local
215 if (!imageElement)
218 RenderObject* renderer = imageElement->renderer();
230 HTMLImageElement* imageElement = this->imageElement();
231 if (!imageElement)
[all...]
/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/
H A DRenderSVGImage.cpp168 SVGImageElement* imageElement = toSVGImageElement(element()); local
169 imageElement->preserveAspectRatio()->currentValue()->transformRect(destRect, srcRect);
/external/chromium_org/third_party/WebKit/Source/core/page/
H A DPageSerializer.cpp230 HTMLImageElement& imageElement = toHTMLImageElement(element); local
231 KURL url = document.completeURL(imageElement.getAttribute(HTMLNames::srcAttr));
232 ImageResource* cachedImage = imageElement.cachedImage();
233 addImageToResources(cachedImage, imageElement.renderer(), url);
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/source_frame/
H A DSourceFrame.js669 var imageElement = document.createElement("div"); variable
673 imageElement.className = "error-icon-small";
677 imageElement.className = "warning-icon-small";
686 messageLineElement.appendChild(imageElement);
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/components/
H A DInspectorView.js435 var imageElement = parent.createChild("div", styleName); variable
/external/chromium_org/third_party/WebKit/Source/core/editing/
H A DEditor.cpp878 if (HTMLImageElement* imageElement = imageElementFromImageDocument(document))
879 writeImageNodeToPasteboard(Pasteboard::generalPasteboard(), imageElement, document->title()); local

Completed in 278 milliseconds