Home
last modified time | relevance | path

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

12

/external/chromium_org/third_party/WebKit/Source/core/html/
DHTMLAreaElement.cpp175 HTMLImageElement* HTMLAreaElement::imageElement() const in imageElement() function in blink::HTMLAreaElement
178 return mapElement->imageElement(); in imageElement()
194 HTMLImageElement* image = imageElement(); in rendererIsFocusable()
208 HTMLImageElement* imageElement = this->imageElement(); in setFocus() local
209 if (!imageElement) in setFocus()
212 RenderObject* renderer = imageElement->renderer(); in setFocus()
224 HTMLImageElement* imageElement = this->imageElement(); in updateFocusAppearance() local
225 if (!imageElement) in updateFocusAppearance()
228 imageElement->updateFocusAppearance(restorePreviousSelection); in updateFocusAppearance()
DHTMLPictureElement.cpp27 …t* imageElement = Traversal<HTMLImageElement>::firstChild(*this); imageElement; imageElement = Tra… in DEFINE_NODE_FACTORY() local
28 imageElement->selectSourceURL(ImageLoader::UpdateNormal); in DEFINE_NODE_FACTORY()
DHTMLMapElement.cpp70 HTMLImageElement* HTMLMapElement::imageElement() in imageElement() function in blink::HTMLMapElement
78 HTMLImageElement& imageElement = toHTMLImageElement(*curr); in imageElement() local
79 String useMapName = imageElement.getAttribute(usemapAttr).string().substring(1); in imageElement()
81 return &imageElement; in imageElement()
DHTMLAnchorElement.cpp130 HTMLImageElement& imageElement = toHTMLImageElement(*target); in appendServerMapMousePosition() local
131 if (!imageElement.isServerMap()) in appendServerMapMousePosition()
134 if (!imageElement.renderer() || !imageElement.renderer()->isRenderImage()) in appendServerMapMousePosition()
136 RenderImage* renderer = toRenderImage(imageElement.renderer()); in appendServerMapMousePosition()
DHTMLMapElement.h43 HTMLImageElement* imageElement();
DImageDocument.h49 HTMLImageElement* imageElement() const { return m_imageElement.get(); } in imageElement() function
DHTMLAreaElement.h48 HTMLImageElement* imageElement() const;
DImageDocument.cpp141 if (!isStopped() && document()->imageElement() && document()->cachedImage()) { in finish()
148 …IntSize size = flooredIntSize(cachedImage->imageSizeForRenderer(document()->imageElement()->render… in finish()
/external/chromium_org/third_party/WebKit/Source/core/frame/
DImageBitmapTest.cpp84 …RefPtrWillBeRawPtr<HTMLImageElement> imageElement = HTMLImageElement::create(*Document::create().g… in TEST_F() local
85imageElement->setImageResource(new ImageResource(BitmapImage::create(NativeImageSkia::create(m_bit… in TEST_F()
87 …RefPtrWillBeRawPtr<ImageBitmap> imageBitmapNoCrop = ImageBitmap::create(imageElement.get(), IntRec… in TEST_F()
88 …RefPtrWillBeRawPtr<ImageBitmap> imageBitmapInteriorCrop = ImageBitmap::create(imageElement.get(), … in TEST_F()
89 …RefPtrWillBeRawPtr<ImageBitmap> imageBitmapExteriorCrop = ImageBitmap::create(imageElement.get(), … in TEST_F()
90 …RefPtrWillBeRawPtr<ImageBitmap> imageBitmapOutsideCrop = ImageBitmap::create(imageElement.get(), I… in TEST_F()
92 ASSERT_EQ(imageBitmapNoCrop->bitmapImage().get(), imageElement->cachedImage()->image()); in TEST_F()
93 ASSERT_EQ(imageBitmapInteriorCrop->bitmapImage().get(), imageElement->cachedImage()->image()); in TEST_F()
94 ASSERT_EQ(imageBitmapExteriorCrop->bitmapImage().get(), imageElement->cachedImage()->image()); in TEST_F()
97 ASSERT_NE(emptyImage.get(), imageElement->cachedImage()->image()); in TEST_F()
DImageBitmap.h35 PassRefPtrWillBeRawPtr<HTMLImageElement> imageElement() const { return m_imageElement; } in imageElement() function
DImageBitmap.cpp110 : m_imageElement(bitmap->imageElement()) in ImageBitmap()
/external/chromium_org/third_party/WebKit/Source/core/svg/
DSVGImageLoader.cpp42 SVGImageElement* imageElement = toSVGImageElement(element()); in dispatchLoadEvent() local
43 imageElement->sendSVGLoadEventToSelfAndAncestorChainIfPossible(); in dispatchLoadEvent()
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/components/
DDOMPresentationUtils.js128 var imageElement = document.createElement("img");
129 imageElement.addEventListener("load", buildContent, false);
130 imageElement.addEventListener("error", errorCallback, false);
131 resource.populateImageSource(imageElement);
143 …uralWidth = precomputedDimensions ? precomputedDimensions.naturalWidth : imageElement.naturalWidth;
144 …lHeight = precomputedDimensions ? precomputedDimensions.naturalHeight : imageElement.naturalHeight;
155 container.createChild("tr").createChild("td", "image-container").appendChild(imageElement);
/external/chromium_org/third_party/WebKit/Source/core/paint/
DSVGImagePainter.cpp62 SVGImageElement* imageElement = toSVGImageElement(renderer.element()); in paintForeground() local
63 imageElement->preserveAspectRatio()->currentValue()->transformRect(destRect, srcRect); in paintForeground()
DImagePainter.cpp47 if (areaElement.imageElement() != m_renderImage.node()) in paintAreaElementFocusRing()
/external/chromium_org/third_party/WebKit/Source/core/page/
DPageSerializer.cpp229 HTMLImageElement& imageElement = toHTMLImageElement(element); in serializeFrame() local
230 KURL url = document.completeURL(imageElement.getAttribute(HTMLNames::srcAttr)); in serializeFrame()
231 ImageResource* cachedImage = imageElement.cachedImage(); in serializeFrame()
232 addImageToResources(cachedImage, imageElement.renderer(), url); in serializeFrame()
DSpatialNavigation.cpp71 HTMLImageElement* image = area.imageElement(); in FocusCandidate()
744 ASSERT(area.imageElement()); in virtualRectForAreaElementAndDirection()
747 …tToAbsoluteCoordinates(area.document().frame(), area.computeRect(area.imageElement()->renderer()))… in virtualRectForAreaElementAndDirection()
DFocusController.cpp912 … container = scrollableEnclosingBoxOrParentFrameForNodeInDirection(type, area.imageElement()); in advanceFocusDirectionally()
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/timeline/
DTimelineUIUtilsImpl.js457 …var imageElement = /** @type {?Element} */ (record.getUserObject("TimelineUIUtils::preview-element…
462 …if (!imageElement && WebInspector.TimelineUIUtilsImpl._needsPreviewElement(record.type()) && targe…
473 imageElement = element || null;
488 …ilsImpl._generateDetailsContentSynchronously(record, model, linkifier, imageElement, relatedNode));
/external/chromium_org/third_party/WebKit/Source/core/accessibility/
DAXObjectCache.cpp135 HTMLImageElement* imageElement = areaElement->imageElement(); in focusedImageMapUIElement() local
136 if (!imageElement) in focusedImageMapUIElement()
139 AXObject* axRenderImage = areaElement->document().axObjectCache()->getOrCreate(imageElement); in focusedImageMapUIElement()
/external/chromium_org/ui/login/account_picker/
Duser_pod_row.js592 this.imageElement.addEventListener('load',
666 get imageElement() { getter in UserPod
837 this.imageElement.src = 'chrome://userimage/' + this.user.username +
1771 this.imageElement.src = this.user.userImage;
1853 this.imageElement.src = this.user.iconUrl;
1854 this.imageElement.alt = this.user.label;
1855 this.imageElement.title = this.user.label;
/external/chromium_org/chrome/browser/resources/chromeos/login/
Dscreen_supervised_user_creation.js73 this.imageElement.src = 'chrome://userimage/' + this.user.username +
101 get imageElement() { getter in ManagerPod
269 this.imageElement.src = this.user.avatarurl;
287 get imageElement() { getter in ImportPod
/external/chromium_org/third_party/WebKit/Source/core/rendering/
DRenderImage.cpp285 ASSERT(areaElement->imageElement() == node()); in areaElementFocusChanged()
/external/chromium_org/third_party/WebKit/Source/core/editing/
DEditor.cpp855 if (HTMLImageElement* imageElement = imageElementFromImageDocument(document)) in copy() local
856 … writeImageNodeToPasteboard(Pasteboard::generalPasteboard(), imageElement, document->title()); in copy()
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/resources/
DResourcesPanel.js853 this.imageElement = this.listItemElement.createChild("img", "icon");
1200 this.listItemElement.replaceChild(iconElement, this.imageElement);

12