Home
last modified time | relevance | path

Searched refs:eventTarget (Results 1 – 24 of 24) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/modules/imagebitmap/
DImageBitmapFactories.cpp81 …mapFactories::createImageBitmap(ScriptState* scriptState, EventTarget& eventTarget, HTMLImageEleme… in createImageBitmap() argument
84 …return createImageBitmap(scriptState, eventTarget, image, 0, 0, s.width(), s.height(), exceptionSt… in createImageBitmap()
87 …mapFactories::createImageBitmap(ScriptState* scriptState, EventTarget& eventTarget, HTMLImageEleme… in createImageBitmap() argument
90 ASSERT(eventTarget.toDOMWindow()); in createImageBitmap()
108 …>cachedImage()->passesAccessControlCheck(eventTarget.toDOMWindow()->document()->securityOrigin()) … in createImageBitmap()
116 …mapFactories::createImageBitmap(ScriptState* scriptState, EventTarget& eventTarget, HTMLVideoEleme… in createImageBitmap() argument
119 …return createImageBitmap(scriptState, eventTarget, video, 0, 0, s.width(), s.height(), exceptionSt… in createImageBitmap()
122 …mapFactories::createImageBitmap(ScriptState* scriptState, EventTarget& eventTarget, HTMLVideoEleme… in createImageBitmap() argument
125 ASSERT(eventTarget.toDOMWindow()); in createImageBitmap()
145 … && eventTarget.toDOMWindow()->document()->securityOrigin()->taintsCanvas(video->currentSrc())) { in createImageBitmap()
[all …]
/external/chromium_org/third_party/WebKit/Source/core/frame/
DDOMWindowTimers.cpp43 int setTimeout(EventTarget& eventTarget, PassOwnPtr<ScheduledAction> action, int timeout) in setTimeout() argument
45 return DOMTimer::install(eventTarget.executionContext(), action, timeout, true); in setTimeout()
48 int setInterval(EventTarget& eventTarget, PassOwnPtr<ScheduledAction> action, int timeout) in setInterval() argument
50 return DOMTimer::install(eventTarget.executionContext(), action, timeout, false); in setInterval()
53 void clearTimeout(EventTarget& eventTarget, int timeoutID) in clearTimeout() argument
55 if (ExecutionContext* context = eventTarget.executionContext()) in clearTimeout()
59 void clearInterval(EventTarget& eventTarget, int timeoutID) in clearInterval() argument
61 if (ExecutionContext* context = eventTarget.executionContext()) in clearInterval()
/external/chromium_org/third_party/WebKit/Source/core/inspector/
DAsyncCallStackTracker.cpp84 static XMLHttpRequest* toXmlHttpRequest(EventTarget* eventTarget) in toXmlHttpRequest() argument
86 const AtomicString& interfaceName = eventTarget->interfaceName(); in toXmlHttpRequest()
88 return static_cast<XMLHttpRequest*>(eventTarget); in toXmlHttpRequest()
90 return static_cast<XMLHttpRequestUpload*>(eventTarget)->xmlHttpRequest(); in toXmlHttpRequest()
201 void AsyncCallStackTracker::didEnqueueEvent(EventTarget* eventTarget, Event* event, const ScriptVal… in didEnqueueEvent() argument
203 ASSERT(eventTarget->executionContext()); in didEnqueueEvent()
207 ExecutionContextData* data = createContextDataIfNeeded(eventTarget->executionContext()); in didEnqueueEvent()
211 void AsyncCallStackTracker::didRemoveEvent(EventTarget* eventTarget, Event* event) in didRemoveEvent() argument
213 ASSERT(eventTarget->executionContext()); in didRemoveEvent()
215 if (ExecutionContextData* data = m_executionContextDataMap.get(eventTarget->executionContext())) in didRemoveEvent()
[all …]
DInspectorOverlay.h68 Color eventTarget; member
92 eventTargetColor = highlightConfig.eventTarget; in setDataFromConfig()
133 void highlightNode(Node*, Node* eventTarget, const HighlightConfig&, bool omitTooltip);
DInspectorInstrumentation.cpp205 InstrumentingAgents* instrumentingAgentsFor(EventTarget* eventTarget) in instrumentingAgentsFor() argument
207 if (!eventTarget) in instrumentingAgentsFor()
209 return instrumentingAgentsFor(eventTarget->executionContext()); in instrumentingAgentsFor()
DInspectorDOMAgent.h74 …EventListenerInfo(EventTarget* eventTarget, const AtomicString& eventType, const EventListenerVect… in EventListenerInfo()
75 : eventTarget(eventTarget) in EventListenerInfo()
81 EventTarget* eventTarget; member
DInspectorDebuggerAgent.cpp717 void InspectorDebuggerAgent::didEnqueueEvent(EventTarget* eventTarget, Event* event) in didEnqueueEvent() argument
720 …m_asyncCallStackTracker.didEnqueueEvent(eventTarget, event, scriptDebugServer().currentCallFramesF… in didEnqueueEvent()
723 void InspectorDebuggerAgent::didRemoveEvent(EventTarget* eventTarget, Event* event) in didRemoveEvent() argument
726 m_asyncCallStackTracker.didRemoveEvent(eventTarget, event); in didRemoveEvent()
729 void InspectorDebuggerAgent::willHandleEvent(EventTarget* eventTarget, Event* event, EventListener*… in willHandleEvent() argument
732 m_asyncCallStackTracker.willHandleEvent(eventTarget, event, listener, useCapture); in willHandleEvent()
DInspectorDOMAgent.cpp877 …nerObject = buildObjectForEventListener(listener, info.eventType, info.eventTarget->toNode(), obje… in getEventListenersForNode()
891 …nerObject = buildObjectForEventListener(listener, info.eventType, info.eventTarget->toNode(), obje… in getEventListenersForNode()
1156 Node* eventTarget = event.shiftKey() ? hoveredNodeForEvent(frame, event, false) : 0; in handleMouseMove() local
1157 if (eventTarget == node) in handleMouseMove()
1158 eventTarget = 0; in handleMouseMove()
1161 …m_overlay->highlightNode(node, eventTarget, *m_inspectModeHighlightConfig, event.ctrlKey() || even… in handleMouseMove()
1198 highlightConfig->eventTarget = parseConfigColor("eventTargetColor", highlightInspectorObject); in highlightConfigFromInspectorObject()
DInspectorOverlay.cpp359 void InspectorOverlay::highlightNode(Node* node, Node* eventTarget, const HighlightConfig& highligh… in highlightNode() argument
363 m_eventTargetNode = eventTarget; in highlightNode()
/external/chromium_org/third_party/WebKit/Source/core/events/
DEventTarget.h157 …static EventListener* on##attribute(EventTarget& eventTarget) { return eventTarget.getAttributeEve…
158 …static void setOn##attribute(EventTarget& eventTarget, PassRefPtr<EventListener> listener) { event…
165 static EventListener* on##attribute(EventTarget& eventTarget) { \
166 if (Node* node = eventTarget.toNode()) \
168 ASSERT(eventTarget.toDOMWindow()); \
169 return eventTarget.getAttributeEventListener(EventTypeNames::attribute); \
171 static void setOn##attribute(EventTarget& eventTarget, PassRefPtr<EventListener> listener) { \
172 if (Node* node = eventTarget.toNode()) \
175 ASSERT(eventTarget.toDOMWindow()); \
176 eventTarget.setAttributeEventListener(EventTypeNames::attribute, listener); \
DDOMWindowEventQueue.cpp142 EventTarget* eventTarget = event->target(); in dispatchEvent() local
143 if (eventTarget->toDOMWindow()) in dispatchEvent()
144 eventTarget->toDOMWindow()->dispatchEvent(event, nullptr); in dispatchEvent()
146 eventTarget->dispatchEvent(event); in dispatchEvent()
/external/chromium_org/third_party/libXNVCtrl/
DNVCtrl.c1123 xnvctrlEventTarget *eventTarget; in wire_to_event() local
1148 eventTarget = (xnvctrlEventTarget *) wire; in wire_to_event()
1149 reTarget->attribute_changed.type = eventTarget->u.u.type & 0x7F; in wire_to_event()
1151 _XSetLastRequestRead(dpy, (xGenericReply*) eventTarget); in wire_to_event()
1153 ((eventTarget->u.u.type & 0x80) != 0); in wire_to_event()
1156 eventTarget->u.attribute_changed.time; in wire_to_event()
1158 eventTarget->u.attribute_changed.target_type; in wire_to_event()
1160 eventTarget->u.attribute_changed.target_id; in wire_to_event()
1162 eventTarget->u.attribute_changed.display_mask; in wire_to_event()
1164 eventTarget->u.attribute_changed.attribute; in wire_to_event()
[all …]
/external/chromium_org/third_party/WebKit/Source/core/dom/
DScriptedAnimationController.cpp127 EventTarget* eventTarget = events[i]->target(); in dispatchEvents() local
131 if (LocalDOMWindow* window = eventTarget->toDOMWindow()) in dispatchEvents()
134 eventTarget->dispatchEvent(events[i]); in dispatchEvents()
136 InspectorInstrumentation::didRemoveEvent(eventTarget, events[i].get()); in dispatchEvents()
DTouch.cpp76 PassRefPtrWillBeRawPtr<Touch> Touch::cloneWithNewTarget(EventTarget* eventTarget) const in cloneWithNewTarget()
78 …return adoptRefWillBeNoop(new Touch(eventTarget, m_identifier, m_clientPos, m_screenPos, m_pagePos… in cloneWithNewTarget()
/external/chromium_org/chrome/browser/resources/print_preview/search/
Drecent_destination_list.js16 function RecentDestinationList(eventTarget) { argument
19 eventTarget,
Dcloud_destination_list.js15 function CloudDestinationList(eventTarget) { argument
18 eventTarget,
Ddestination_list.js20 function DestinationList(eventTarget, title, opt_actionLinkLabel) { argument
28 this.eventTarget_ = eventTarget;
Ddestination_list_item.js18 function DestinationListItem(eventTarget, destination, query) { argument
26 this.eventTarget_ = eventTarget;
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/extensions/
DExtensionServer.js873 _registerAutosubscriptionHandler: function(eventTopic, eventTarget, frontendEventType, handler) argument
876 eventTarget.addEventListener.bind(eventTarget, frontendEventType, handler, this),
877 eventTarget.removeEventListener.bind(eventTarget, frontendEventType, handler, this));
/external/chromium_org/chrome/browser/resources/bookmark_manager/js/
Ddnd.js432 function calculateDropInfo(eventTarget, dropDestination) { argument
449 var overElement = getBookmarkElement(eventTarget);
/external/chromium_org/third_party/WebKit/Source/core/page/
DEventHandler.cpp2099 RefPtrWillBeRawPtr<Node> eventTarget = nullptr; in handleGestureEvent() local
2106 eventTarget = m_scrollGestureHandlingNode.get(); in handleGestureEvent()
2133 if ((!scrollbar && !eventTarget) || !(hitType & HitTestRequest::ReadOnly)) { in handleGestureEvent()
2142 eventTarget = result.targetNode(); in handleGestureEvent()
2165 if (eventTarget) { in handleGestureEvent()
2167 if (handleScrollGestureOnResizer(eventTarget.get(), gestureEvent)) in handleGestureEvent()
2170 eventSwallowed = eventTarget->dispatchGestureEvent(gestureEvent); in handleGestureEvent()
2173 m_scrollGestureHandlingNode = eventTarget; in handleGestureEvent()
2305 bool EventHandler::handleScrollGestureOnResizer(Node* eventTarget, const PlatformGestureEvent& gest… in handleScrollGestureOnResizer() argument
2307 … RenderLayer* layer = eventTarget->renderer() ? eventTarget->renderer()->enclosingLayer() : 0; in handleScrollGestureOnResizer()
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/elements/
DElementsTreeOutline.js1369 _startEditingTarget: function(eventTarget) argument
1377 var textNode = eventTarget.enclosingNodeOrSelfWithClass("webkit-html-text-node");
1381 var attribute = eventTarget.enclosingNodeOrSelfWithClass("webkit-html-attribute");
1383 return this._startEditingAttribute(attribute, eventTarget);
1385 var tagName = eventTarget.enclosingNodeOrSelfWithClass("webkit-html-tag-name");
1389 var newAttribute = eventTarget.enclosingNodeOrSelfWithClass("add-attribute");
/external/chromium_org/third_party/WebKit/Source/core/editing/
DEditor.cpp925 EventTarget* eventTarget = event->target(); in countEditingEvent() local
926 Node* node = eventTarget->toNode(); in countEditingEvent()
/external/chromium_org/third_party/d3/src/
Dd3.js8926eventTarget = d3.select(d3.event.target), event_ = event.of(target, arguments), g = d3.select(targ…
8944 d3.select("body").style("cursor", eventTarget.style("cursor"));