Home | History | Annotate | Download | only in page

Lines Matching refs:Element

41 #include "Element.h"
243 // The button for a FILE input is a sub element with no set input type
244 // In order to get around this problem we assume any non-FILE input element
259 static Element* elementUnderMouse(Document* documentUnderMouse, const IntPoint& p)
275 return static_cast<Element*>(n);
313 Element* element = elementUnderMouse(m_documentUnderMouse, point);
314 if (!asFileInput(element)) {
319 Frame* innerFrame = element->document()->frame();
363 Element* element = elementUnderMouse(m_documentUnderMouse, point);
364 Frame* innerFrame = element->ownerDocument()->frame();
389 if (HTMLInputElement* fileInput = asFileInput(element)) {
507 // The element picked an operation which is not supported by the source
546 static CachedImage* getCachedImage(Element* element)
548 ASSERT(element);
549 RenderObject* renderer = element->renderer();
556 static Image* getImage(Element* element)
558 ASSERT(element);
559 RenderObject* renderer = element->renderer();
569 static void prepareClipboardForImageDrag(Frame* src, Clipboard* clipboard, Element* node, const KURL& linkURL, const KURL& imageURL, const String& label)
653 Image* image = getImage(static_cast<Element*>(node));
659 Element* element = static_cast<Element*>(node);
662 prepareClipboardForImageDrag(src, clipboard, element, linkURL, imageURL, dragSource.altDisplayString());
670 doImageDrag(element, dragOrigin, dragSource.imageRect(), clipboard, src, m_dragOffset);
684 // the enclosing anchor element
722 // Only way I know to get here is if to get here is if the original element clicked on in the mousedown is no longer
732 void DragController::doImageDrag(Element* element, const IntPoint& dragOrigin, const IntRect& rect, Clipboard* clipboard, Frame* frame, IntPoint& dragImageOffset)
738 Image* image = getImage(element);
761 dragImage = createDragImageIconForCachedImage(getCachedImage(element));