Home
last modified time | relevance | path

Searched refs:relatedTarget (Results 1 – 25 of 30) sorted by relevance

12

/external/webkit/Source/WebCore/dom/
DMouseEvent.cpp34 …tr<AbstractView> view, const PlatformMouseEvent& event, int detail, PassRefPtr<Node> relatedTarget) in create() argument
43 relatedTarget, 0, false); in create()
55 unsigned short button, PassRefPtr<EventTarget> relatedTarget, in MouseEvent() argument
61 , m_relatedTarget(relatedTarget) in MouseEvent()
73 unsigned short button, PassRefPtr<EventTarget> relatedTarget) in initMouseEvent() argument
88 m_relatedTarget = relatedTarget; in initMouseEvent()
120 return relatedTarget() ? relatedTarget()->toNode() : 0; in toElement()
129 return relatedTarget() ? relatedTarget()->toNode() : 0; in fromElement()
173 …RefPtr<EventTarget> relatedTarget = dispatcher->adjustRelatedTarget(event(), event()->relatedTarge… in dispatchEvent() local
174 event()->setRelatedTarget(relatedTarget); in dispatchEvent()
[all …]
DMouseEvent.h45 …PassRefPtr<EventTarget> relatedTarget, PassRefPtr<Clipboard> clipboard = 0, bool isSimulated = fal…
48 ctrlKey, altKey, shiftKey, metaKey, button, relatedTarget, clipboard, isSimulated));
50 …, PassRefPtr<AbstractView>, const PlatformMouseEvent&, int detail, PassRefPtr<Node> relatedTarget);
57 unsigned short button, PassRefPtr<EventTarget> relatedTarget);
63 EventTarget* relatedTarget() const { return m_relatedTarget.get(); } in relatedTarget() function
64 … void setRelatedTarget(PassRefPtr<EventTarget> relatedTarget) { m_relatedTarget = relatedTarget; } in setRelatedTarget() argument
81 … PassRefPtr<EventTarget> relatedTarget, PassRefPtr<Clipboard> clipboard, bool isSimulated);
DEventDispatcher.cpp133 PassRefPtr<EventTarget> EventDispatcher::adjustToShadowBoundaries(PassRefPtr<Node> relatedTarget, c… in adjustToShadowBoundaries() argument
167 if (m_node->shadowHost() == relatedTarget.get()) in adjustToShadowBoundaries()
181 …firstDivergentBoundary != relatedTargetAncestors.begin() ? *firstDivergentBoundary : relatedTarget; in adjustToShadowBoundaries()
196 RefPtr<Node> relatedTarget = prpRelatedTarget->toNode(); in adjustRelatedTarget() local
197 if (!relatedTarget) in adjustRelatedTarget()
212 Node* outermostShadowBoundary = relatedTarget.get(); in adjustRelatedTarget()
224 return adjustToShadowBoundaries(relatedTarget.release(), relatedTargetAncestors); in adjustRelatedTarget()
DMouseEvent.idl33 readonly attribute EventTarget relatedTarget;
49 in EventTarget relatedTarget);
DEventDispatcher.h63 …PassRefPtr<EventTarget> adjustToShadowBoundaries(PassRefPtr<Node> relatedTarget, const Vector<Node…
DNode.h555 …t PlatformMouseEvent&, const AtomicString& eventType, int clickCount = 0, Node* relatedTarget = 0);
DNode.cpp2749 int detail, Node* relatedTarget) in dispatchMouseEvent() argument
2751 …hMediator(MouseEvent::create(eventType, document()->defaultView(), event, detail, relatedTarget))); in dispatchMouseEvent()
/external/webkit/Tools/DumpRenderTree/mac/
DEventSendingController.mm781 id relatedTarget = [(DOMMouseEvent*)event relatedTarget];
782 if (relatedTarget) {
783 printf(" relatedTarget: %s", [[[relatedTarget class] description] UTF8String]);
784 if ([relatedTarget isKindOfClass:[DOMNode class]])
785 printf(" (nodeName: %s)", [[(DOMNode*)relatedTarget nodeName] UTF8String]);
/external/webkit/Source/WebKit/win/Interfaces/
DDOMEvents.idl264 //readonly attribute EventTarget relatedTarget;
265 HRESULT relatedTarget([out, retval] IDOMEventTarget** result);
281 // in EventTarget relatedTarget);
282 …BOOL shiftKey, [in] BOOL metaKey, [in] unsigned short button, [in] IDOMEventTarget* relatedTarget);
/external/webkit/Source/WebCore/html/shadow/
DMediaControlElements.cpp205 if (!mouseEvent->relatedTarget() || !mouseEvent->relatedTarget()->toNode()) in defaultEventHandler()
208 if (this->containsIncludingShadowDOM(mouseEvent->relatedTarget()->toNode())) in defaultEventHandler()
/external/webkit/Source/WebKit/win/
DDOMEventsClasses.cpp458 HRESULT STDMETHODCALLTYPE DOMMouseEvent::relatedTarget( in relatedTarget() function in DOMMouseEvent
DDOMEventsClasses.h566 virtual HRESULT STDMETHODCALLTYPE relatedTarget(
584 /* [in] */ IDOMEventTarget* relatedTarget);
/external/chromium/chrome/browser/resources/
Dnew_new_tab.js1203 var relatedEl = findAncestor(e.relatedTarget, f);
1310 var relatedEl = findAncestor(e.relatedTarget, f);
/external/webkit/Source/WebCore/bindings/objc/
DPublicDOMInterfaces.h1139 @property(readonly, retain) id <DOMEventTarget> relatedTarget;
1146 …metaKey:(BOOL)metaKey button:(unsigned short)button relatedTarget:(id <DOMEventTarget>)relatedTarg…
1147 …)altKey :(BOOL)shiftKey :(BOOL)metaKey :(unsigned short)button :(id <DOMEventTarget>)relatedTarget;
/external/webkit/PerformanceTests/SunSpider/tests/parse-only/
Dmootools-1.2.2-core-nc.js968 case 'mouseover': related = event.relatedTarget || event.fromElement; break;
969 case 'mouseout': related = event.relatedTarget || event.toElement;
988 relatedTarget: related, property
2095 var related = event.relatedTarget;
Dconcat-jquery-mootools-prototype.js2735 if ( !event.relatedTarget && event.fromElement )
2736 event.relatedTarget = event.fromElement == event.target ? event.toElement : event.fromElement;
2866 var parent = event.relatedTarget;
5344 case 'mouseover': related = event.relatedTarget || event.fromElement; break;
5345 case 'mouseout': related = event.relatedTarget || event.toElement;
5364 relatedTarget: related, property
6471 var related = event.relatedTarget;
12184 relatedTarget: function(event) { method
12297 relatedTarget: Event.relatedTarget(event), property
Djquery-1.3.2.js2735 if ( !event.relatedTarget && event.fromElement )
2736 event.relatedTarget = event.fromElement == event.target ? event.toElement : event.fromElement;
2866 var parent = event.relatedTarget;
Dprototype-1.6.0.3.js3805 relatedTarget: function(event) { method
3918 relatedTarget: Event.relatedTarget(event), property
/external/chromium/chrome/common/extensions/docs/examples/extensions/gdocs/js/
Djquery-1.4.1.min.js18 …r===j.selector){if(j.live==="mouseenter"||j.live==="mouseleave")f=c(a.relatedTarget).closest(j.sel…
55 …arget.nodeType===3)a.target=a.target.parentNode;if(!a.relatedTarget&&a.fromElement)a.relatedTarget
59 a.relatedTarget;b&&b!==this;)try{b=b.parentNode}catch(d){break}if(b!==this){a.type=a.data;c.event.h…
/external/chromium/chrome/common/extensions/docs/examples/extensions/benchmark/jquery/
Djquery-1.4.2.min.js18 …em;f=null;if(i.preType==="mouseenter"||i.preType==="mouseleave")f=c(a.relatedTarget).closest(i.sel…
56 …arget.nodeType===3)a.target=a.target.parentNode;if(!a.relatedTarget&&a.fromElement)a.relatedTarget
60 isImmediatePropagationStopped:Y};var Da=function(a){var b=a.relatedTarget;try{for(;b&&b!==this;)b=b…
/external/doclava/res/assets/templates/assets/
Djquery-resizable.min.js19relatedTarget&&H.fromElement){H.relatedTarget=H.fromElement==H.target?H.toElement:H.fromElement}if…
/external/webkit/Source/WebCore/html/
DHTMLMediaElement.cpp2413 if (mouseEvent->relatedTarget() != this) { in defaultEventHandler()
/external/webkit/Source/WebCore/
DWebCore.order26130 -[DOMMouseEvent relatedTarget]
DChangeLog-2006-05-109004 (WebCore::MouseEvent::relatedTarget):
27240 REGRESSION: event.relatedTarget not working, breaks menus at www.ati.com
27246 relatedTarget parameter to a couple overloads.
DChangeLog13962 Turns out, the relatedTarget of an event could be also an ancestor of an event,
25586 1) calculate lowest common ancestor between relatedTarget and target, and
25588 inner (specific to relatedTarget) boundary. Then, we
25591 3) updating relatedTarget be the inner boundary.
25602 to relatedTarget and event target ancestor chain.

12