Home
last modified time | relevance | path

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

/external/chromium_org/third_party/WebKit/Source/modules/imagebitmap/
DImageBitmapFactories.cpp74 ScriptPromise ImageBitmapFactories::createImageBitmap(EventTarget* eventTarget, HTMLImageElement* i… in createImageBitmap() argument
77 return createImageBitmap(eventTarget, image, 0, 0, s.width(), s.height(), exceptionState); in createImageBitmap()
80 ScriptPromise ImageBitmapFactories::createImageBitmap(EventTarget* eventTarget, HTMLImageElement* i… in createImageBitmap() argument
83 ASSERT(eventTarget->toDOMWindow()); in createImageBitmap()
105 …if (!image->cachedImage()->passesAccessControlCheck(eventTarget->toDOMWindow()->document()->securi… in createImageBitmap()
106 && eventTarget->toDOMWindow()->document()->securityOrigin()->taintsCanvas(image->src())) { in createImageBitmap()
111 …return fulfillImageBitmap(eventTarget->executionContext(), ImageBitmap::create(image, IntRect(sx, … in createImageBitmap()
114 ScriptPromise ImageBitmapFactories::createImageBitmap(EventTarget* eventTarget, HTMLVideoElement* v… in createImageBitmap() argument
117 return createImageBitmap(eventTarget, video, 0, 0, s.width(), s.height(), exceptionState); in createImageBitmap()
120 ScriptPromise ImageBitmapFactories::createImageBitmap(EventTarget* eventTarget, HTMLVideoElement* v… in createImageBitmap() argument
[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/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/events/
DEventTarget.h166 …c EventListener* on##attribute(EventTarget* eventTarget, DOMWrapperWorld* isolatedWorld) { return
167 …On##attribute(EventTarget* eventTarget, PassRefPtr<EventListener> listener, DOMWrapperWorld* isola…
174 … static EventListener* on##attribute(EventTarget* eventTarget, DOMWrapperWorld* isolatedWorld) { \
175 if (Node* node = eventTarget->toNode()) \
177 ASSERT(eventTarget->toDOMWindow()); \
178 return eventTarget->getAttributeEventListener(EventTypeNames::attribute, isolatedWorld); \
180 …static void setOn##attribute(EventTarget* eventTarget, PassRefPtr<EventListener> listener, DOMWrap…
181 if (Node* node = eventTarget->toNode()) \
184 ASSERT(eventTarget->toDOMWindow()); \
185eventTarget->setAttributeEventListener(EventTypeNames::attribute, listener, isolatedWorld); \
DDOMWindowEventQueue.cpp123 EventTarget* eventTarget = event->target(); in dispatchEvent() local
124 if (eventTarget->toDOMWindow()) in dispatchEvent()
125 eventTarget->toDOMWindow()->dispatchEvent(event, 0); in dispatchEvent()
127 eventTarget->dispatchEvent(event); in dispatchEvent()
/external/chromium_org/third_party/WebKit/Source/testing/runner/
DNotificationPresenter.cpp86 WebNotification eventTarget(notification); in simulateClick() local
87 eventTarget.dispatchClickEvent(); in simulateClick()
136 WebNotification eventTarget(notification); in cancel() local
137 eventTarget.dispatchCloseEvent(false); in cancel()
/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.js17 function DestinationListItem(eventTarget, destination) { argument
25 this.eventTarget_ = eventTarget;
/external/chromium_org/third_party/WebKit/Source/core/inspector/
DInspectorOverlay.h65 Color eventTarget; member
89 eventTargetColor = highlightConfig.eventTarget; in setDataFromConfig()
132 void highlightNode(Node*, Node* eventTarget, const HighlightConfig&);
DInspectorDOMAgent.cpp1129 Node* eventTarget = event.shiftKey() ? hoveredNodeForEvent(frame, event, false) : 0; in handleMouseMove() local
1130 if (eventTarget == node) in handleMouseMove()
1131 eventTarget = 0; in handleMouseMove()
1134 m_overlay->highlightNode(node, eventTarget, *m_inspectModeHighlightConfig); in handleMouseMove()
1171 highlightConfig->eventTarget = parseConfigColor("eventTargetColor", highlightInspectorObject); in highlightConfigFromInspectorObject()
DInspectorOverlay.cpp371 void InspectorOverlay::highlightNode(Node* node, Node* eventTarget, const HighlightConfig& highligh… in highlightNode() argument
375 m_eventTargetNode = eventTarget; in highlightNode()
/external/chromium_org/third_party/WebKit/Source/core/dom/
DScriptedAnimationController.cpp108 EventTarget* eventTarget = events[i]->target(); in dispatchEvents() local
112 if (DOMWindow* window = eventTarget->toDOMWindow()) in dispatchEvents()
115 eventTarget->dispatchEvent(events[i]); in dispatchEvents()
DTouch.cpp94 PassRefPtr<Touch> Touch::cloneWithNewTarget(EventTarget* eventTarget) const in cloneWithNewTarget()
96 …return adoptRef(new Touch(eventTarget, m_identifier, m_clientX, m_clientY, m_screenX, m_screenY, m… in cloneWithNewTarget()
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/
DExtensionServer.js829 _registerAutosubscriptionHandler: function(eventTopic, eventTarget, frontendEventType, handler) argument
832 eventTarget.addEventListener.bind(eventTarget, frontendEventType, handler, this),
833 eventTarget.removeEventListener.bind(eventTarget, frontendEventType, handler, this));
DElementsTreeOutline.js1328 _startEditingTarget: function(eventTarget) argument
1336 var textNode = eventTarget.enclosingNodeOrSelfWithClass("webkit-html-text-node");
1340 var attribute = eventTarget.enclosingNodeOrSelfWithClass("webkit-html-attribute");
1342 return this._startEditingAttribute(attribute, eventTarget);
1344 var tagName = eventTarget.enclosingNodeOrSelfWithClass("webkit-html-tag-name");
1348 var newAttribute = eventTarget.enclosingNodeOrSelfWithClass("add-attribute");
/external/chromium_org/chrome/browser/resources/bookmark_manager/js/
Ddnd.js422 function calculateDropInfo(eventTarget, dropDestination) { argument
439 var overElement = getBookmarkElement(eventTarget);
/external/chromium_org/chrome/browser/resources/enhanced_bookmark_manager/js/
Ddnd.js415 function calculateDropInfo(eventTarget, dropDestination) { argument
432 var overElement = getBookmarkElement(eventTarget);
/external/chromium_org/third_party/WebKit/Source/core/page/
DEventHandler.cpp2292 Node* eventTarget = 0; in handleGestureEvent() local
2299 eventTarget = m_scrollGestureHandlingNode.get(); in handleGestureEvent()
2325 if ((!scrollbar && !eventTarget) || !(hitType & HitTestRequest::ReadOnly)) { in handleGestureEvent()
2334 eventTarget = result.targetNode(); in handleGestureEvent()
2357 if (eventTarget) { in handleGestureEvent()
2359 if (handleScrollGestureOnResizer(eventTarget, gestureEvent)) in handleGestureEvent()
2362 eventSwallowed = eventTarget->dispatchGestureEvent(gestureEvent); in handleGestureEvent()
2365 m_scrollGestureHandlingNode = eventTarget; in handleGestureEvent()
2497 bool EventHandler::handleScrollGestureOnResizer(Node* eventTarget, const PlatformGestureEvent& gest… in handleScrollGestureOnResizer() argument
2499 … RenderLayer* layer = eventTarget->renderer() ? eventTarget->renderer()->enclosingLayer() : 0; in handleScrollGestureOnResizer()