Home
last modified time | relevance | path

Searched refs:imageElement (Results 1 – 25 of 27) sorted by relevance

12

/external/webkit/Source/WebCore/wml/
DWMLImageLoader.cpp62 WMLImageElement* imageElement = static_cast<WMLImageElement*>(element()); in notifyFinished() local
63 ASSERT(imageElement); in notifyFinished()
66 if (imageElement->useFallbackAttribute()) in notifyFinished()
69 … if (!imageElement->hasAttribute(localsrcAttr) && !imageElement->hasAttribute(HTMLNames::srcAttr)) in notifyFinished()
72 imageElement->setUseFallbackAttribute(true); in notifyFinished()
/external/webkit/Source/WebCore/html/
DHTMLAreaElement.cpp175 HTMLImageElement* HTMLAreaElement::imageElement() const in imageElement() function in WebCore::HTMLAreaElement
181 return static_cast<HTMLMapElement*>(mapElement)->imageElement(); in imageElement()
206 HTMLImageElement* imageElement = this->imageElement(); in setFocus() local
207 if (!imageElement) in setFocus()
210 RenderObject* renderer = imageElement->renderer(); in setFocus()
222 HTMLImageElement* imageElement = this->imageElement(); in updateFocusAppearance() local
223 if (!imageElement) in updateFocusAppearance()
226 imageElement->updateFocusAppearance(restorePreviousSelection); in updateFocusAppearance()
DImageDocument.cpp142 if (!isStopped() && document()->imageElement()) { in finish()
210 RefPtr<ImageDocumentElement> imageElement = ImageDocumentElement::create(this); in createDocumentStructure() local
212 imageElement->setAttribute(styleAttr, "-webkit-user-select: none"); in createDocumentStructure()
213 imageElement->setLoadManually(true); in createDocumentStructure()
214 imageElement->setSrc(url().string()); in createDocumentStructure()
216 body->appendChild(imageElement, ec); in createDocumentStructure()
223 imageElement->addEventListener("click", listener.release(), false); in createDocumentStructure()
226 m_imageElement = imageElement.get(); in createDocumentStructure()
DHTMLMapElement.cpp83 HTMLImageElement* HTMLMapElement::imageElement() const in imageElement() function in WebCore::HTMLMapElement
92 HTMLImageElement* imageElement = static_cast<HTMLImageElement*>(curr); in imageElement() local
93 String useMapName = imageElement->getAttribute(usemapAttr).string().substring(1); in imageElement()
95 return imageElement; in imageElement()
DHTMLAnchorElement.cpp122 HTMLImageElement* imageElement = static_cast<HTMLImageElement*>(event->target()->toNode()); in appendServerMapMousePosition() local
123 if (!imageElement || !imageElement->isServerMap()) in appendServerMapMousePosition()
126 RenderImage* renderer = toRenderImage(imageElement->renderer()); in appendServerMapMousePosition()
DHTMLMapElement.h44 HTMLImageElement* imageElement() const;
DImageDocument.h42 ImageDocumentElement* imageElement() const { return m_imageElement; } in imageElement() function
DHTMLAreaElement.h48 HTMLImageElement* imageElement() const;
/external/webkit/Source/WebCore/inspector/front-end/
DPanelEnablerView.js37 this.imageElement = document.createElement("img");
38 this.contentElement.appendChild(this.imageElement);
91 this.imageElement.removeStyleClass("hidden");
93 … if (this.element.offsetWidth < (this.choicesForm.offsetWidth + this.imageElement.offsetWidth))
94 this.imageElement.addStyleClass("hidden");
DResourcesPanel.js831 this.imageElement = document.createElement("img");
832 this.imageElement.className = "icon";
833 this.listItemElement.appendChild(this.imageElement);
1087 this.listItemElement.replaceChild(iconElement, this.imageElement);
/external/chromium/chrome/browser/resources/options/chromeos/
Dchange_picture_options.js82 var imageElement = document.createElement('img');
83 imageElement.src = src;
84 imageElement.addEventListener('click',
89 divElement.appendChild(imageElement);
/external/webkit/Source/WebCore/svg/
DSVGImageLoader.cpp44 SVGImageElement* imageElement = static_cast<SVGImageElement*>(element()); in dispatchLoadEvent() local
45 if (imageElement->externalResourcesRequiredBaseValue()) in dispatchLoadEvent()
46 imageElement->sendSVGLoadEventIfPossible(true); in dispatchLoadEvent()
/external/webkit/Source/WebCore/bridge/qt/
Dqt_pixmapruntime.cpp100 …HTMLImageElement* imageElement = static_cast<HTMLImageElement*>(static_cast<JSHTMLImageElement*>(o… in invoke() local
101 imageElement->setCachedImage(new CachedImage(stillImage.get())); in invoke()
103 toJS(exec, global, imageElement->document()); in invoke()
305 HTMLImageElement* imageElement = static_cast<HTMLImageElement*>(elementJSWrapper->impl()); in variantFromObject() local
307 if (!imageElement) in variantFromObject()
310 CachedImage* cachedImage = imageElement->cachedImage(); in variantFromObject()
/external/webkit/Source/WebCore/rendering/svg/
DRenderSVGImage.cpp129 SVGImageElement* imageElement = static_cast<SVGImageElement*>(node()); in paint() local
130 …if (imageElement->preserveAspectRatio().align() != SVGPreserveAspectRatio::SVG_PRESERVEASPECTRATIO… in paint()
131 imageElement->preserveAspectRatio().transformRect(destRect, srcRect); in paint()
/external/webkit/Source/WebKit/mac/WebView/
DWebDataSource.mm314 DOMElement *imageElement = [self _imageElementWithImageResource:resource];
315 if (!imageElement)
318 [fragment appendChild:imageElement];
329 DOMElement *imageElement = [[[self webFrame] DOMDocument] createElement:@"img"];
333 …[imageElement setAttribute:@"src" value:[URL isFileURL] ? [URL absoluteString] : [URL _web_origina…
335 return imageElement;
/external/webkit/Source/WebCore/accessibility/
DAXObjectCache.cpp107 HTMLImageElement* imageElement = areaElement->imageElement(); in focusedImageMapUIElement() local
108 if (!imageElement) in focusedImageMapUIElement()
111 …t* axRenderImage = areaElement->document()->axObjectCache()->getOrCreate(imageElement->renderer()); in focusedImageMapUIElement()
DAccessibilityRenderObject.cpp2350 HTMLImageElement* imageElement = map->imageElement(); in accessibilityParentForImageMap() local
2351 if (!imageElement) in accessibilityParentForImageMap()
2354 return axObjectCache()->getOrCreate(imageElement->renderer()); in accessibilityParentForImageMap()
/external/webkit/Source/WebCore/page/
DSpatialNavigation.cpp74 HTMLImageElement* image = area->imageElement(); in FocusCandidate()
731 ASSERT(area->imageElement()); in virtualRectForAreaElementAndDirection()
734 …bsoluteCoordinates(area->document()->frame(), area->computeRect(area->imageElement()->renderer()))… in virtualRectForAreaElementAndDirection()
DFocusController.cpp611 …container = scrollableEnclosingBoxOrParentFrameForNodeInDirection(direction, area->imageElement()); in advanceFocusDirectionally()
/external/webkit/Source/WebCore/platform/mac/
DPasteboardMac.mm389 RefPtr<Element> imageElement = frame->document()->createElement(HTMLNames::imgTag, false);
390 if (!imageElement)
394imageElement->setAttribute(HTMLNames::srcAttr, [URL isFileURL] ? [URL absoluteString] : resource->…
398 fragment->appendChild(imageElement, ec);
/external/webkit/Source/WebCore/rendering/
DRenderImage.cpp352 if (areaElement->imageElement() != node()) in paintAreaElementFocusRing()
376 ASSERT_UNUSED(element, element->imageElement() == node()); in areaElementFocusChanged()
/external/webkit/Source/WebCore/editing/
DEditor.cpp1198 if (HTMLImageElement* imageElement = imageElementFromImageDocument(document)) in copy() local
1199 … Pasteboard::generalPasteboard()->writeImage(imageElement, document->url(), document->title()); in copy()
/external/webkit/Source/WebCore/
DChangeLog-2011-02-1611062 need to do that. Also changed this to use the imageElement function
11074 and instead just call imageElement on the area element.
DChangeLog-2010-01-293189 (WebCore::HTMLAreaElement::imageElement):
3197 (WebCore::HTMLMapElement::imageElement):
DChangeLog-2010-05-2434928 (WebCore::HTMLMapElement::imageElement):

12