Home
last modified time | relevance | path

Searched refs:useCapture (Results 1 – 25 of 38) sorted by relevance

12

/external/chromium_org/third_party/WebKit/Source/core/events/
DRegisteredEventListener.h34 RegisteredEventListener(PassRefPtr<EventListener> listener, bool useCapture) in RegisteredEventListener() argument
36 , useCapture(useCapture) in RegisteredEventListener()
41 bool useCapture; variable
48 return *a.listener == *b.listener && a.useCapture == b.useCapture;
DEventListenerMap.cpp84 if (vector->at(j).useCapture) in containsCapturing()
110 …dListenerToVector(EventListenerVector* vector, PassRefPtr<EventListener> listener, bool useCapture) in addListenerToVector() argument
112 RegisteredEventListener registeredListener(listener, useCapture); in addListenerToVector()
121 …istenerMap::add(const AtomicString& eventType, PassRefPtr<EventListener> listener, bool useCapture) in add() argument
127 return addListenerToVector(m_entries[i].second.get(), listener, useCapture); in add()
131 return addListenerToVector(m_entries.last().second.get(), listener, useCapture); in add()
134 …tor(EventListenerVector* listenerVector, EventListener* listener, bool useCapture, size_t& indexOf… in removeListenerFromVector() argument
136 RegisteredEventListener registeredListener(listener, useCapture); in removeListenerFromVector()
144 …p::remove(const AtomicString& eventType, EventListener* listener, bool useCapture, size_t& indexOf… in remove() argument
150 …emoved = removeListenerFromVector(m_entries[i].second.get(), listener, useCapture, indexOfRemovedL… in remove()
[all …]
DEventTarget.cpp90 …ddEventListener(const AtomicString& eventType, PassRefPtr<EventListener> listener, bool useCapture) in addEventListener() argument
105 return ensureEventTargetData().eventListenerMap.add(eventType, listener, useCapture); in addEventListener()
108 …veEventListener(const AtomicString& eventType, PassRefPtr<EventListener> listener, bool useCapture) in removeEventListener() argument
121 if (!d->eventListenerMap.remove(eventType, listener.get(), useCapture, indexOfRemovedListener)) in removeEventListener()
334 if (event->eventPhase() == Event::CAPTURING_PHASE && !registeredListener.useCapture) in fireEventListeners()
336 if (event->eventPhase() == Event::BUBBLING_PHASE && registeredListener.useCapture) in fireEventListeners()
348 …on::willHandleEvent(this, event, registeredListener.listener.get(), registeredListener.useCapture); in fireEventListeners()
DEventListenerMap.h55 bool add(const AtomicString& eventType, PassRefPtr<EventListener>, bool useCapture);
56 …bool remove(const AtomicString& eventType, EventListener*, bool useCapture, size_t& indexOfRemoved…
DEventTarget.idl30 optional boolean useCapture);
33 optional boolean useCapture);
DEventTarget.h118 …ddEventListener(const AtomicString& eventType, PassRefPtr<EventListener>, bool useCapture = false);
121 …veEventListener(const AtomicString& eventType, PassRefPtr<EventListener>, bool useCapture = false);
/external/chromium_org/chrome/renderer/resources/extensions/
Dapp_view_deny.js32 var useCapture = true; variable
38 window.removeEventListener(event.type, listener, useCapture);
39 }, useCapture);
Dtag_watcher.js45 var useCapture = true;
51 window.removeEventListener(event.type, listener, useCapture);
52 }, useCapture);
Dapp_view.js129 var useCapture = true; variable
136 window.removeEventListener(event.type, listener, useCapture);
137 }, useCapture);
Dextension_options.js368 var useCapture = true; variable
375 window.removeEventListener(event.type, listener, useCapture);
376 }, useCapture);
/external/chromium_org/extensions/renderer/resources/
Dweb_view_deny.js31 var useCapture = true; variable
37 window.removeEventListener(event.type, listener, useCapture);
38 }, useCapture);
Dweb_view.js971 var useCapture = true; variable
978 window.removeEventListener(event.type, listener, useCapture);
979 }, useCapture);
/external/chromium-trace/trace-viewer/src/base/
Devent_target.js118 addEventListener: function(type, listener, useCapture) { argument
120 this, type, listener, useCapture);
126 removeEventListener: function(type, listener, useCapture) { argument
128 this, type, listener, useCapture);
/external/chromium_org/third_party/WebKit/Source/modules/netinfo/
DNetworkInformation.cpp88 …ddEventListener(const AtomicString& eventType, PassRefPtr<EventListener> listener, bool useCapture) in addEventListener() argument
90 if (!EventTargetWithInlineData::addEventListener(eventType, listener, useCapture)) in addEventListener()
96 …veEventListener(const AtomicString& eventType, PassRefPtr<EventListener> listener, bool useCapture) in removeEventListener() argument
98 if (!EventTargetWithInlineData::removeEventListener(eventType, listener, useCapture)) in removeEventListener()
DNetworkInformation.h36 …istener(const AtomicString& eventType, PassRefPtr<EventListener>, bool useCapture = false) OVERRID…
37 …istener(const AtomicString& eventType, PassRefPtr<EventListener>, bool useCapture = false) OVERRID…
/external/chromium_org/remoting/webapp/
Dwcs_sandbox_content.js216 window.addEventListener = function(type, listener, useCapture) { argument
220 oldAEL(type, listener, useCapture);
/external/chromium_org/third_party/WebKit/Source/core/svg/
DSVGElement.cpp739 …ventListener(const AtomicString& eventType, PassRefPtr<EventListener> prpListener, bool useCapture) in addEventListener() argument
744 if (!Node::addEventListener(eventType, listener, useCapture)) in addEventListener()
752 bool result = (*it)->Node::addEventListener(eventType, listener, useCapture); in addEventListener()
759 …ventListener(const AtomicString& eventType, PassRefPtr<EventListener> prpListener, bool useCapture) in removeEventListener() argument
764 if (!Node::removeEventListener(eventType, listener, useCapture)) in removeEventListener()
775 shadowTreeElement->Node::removeEventListener(eventType, listener, useCapture); in removeEventListener()
789 if (entry[i].useCapture) in hasLoadListener()
DSVGElement.h147 …istener(const AtomicString& eventType, PassRefPtr<EventListener>, bool useCapture = false) OVERRID…
148 …istener(const AtomicString& eventType, PassRefPtr<EventListener>, bool useCapture = false) OVERRID…
/external/chromium_org/third_party/WebKit/Source/core/frame/
DLocalDOMWindow.h247 …istener(const AtomicString& eventType, PassRefPtr<EventListener>, bool useCapture = false) OVERRID…
248 …istener(const AtomicString& eventType, PassRefPtr<EventListener>, bool useCapture = false) OVERRID…
/external/chromium_org/third_party/WebKit/Source/core/animation/
DAnimationPlayer.h157 …istener(const AtomicString& eventType, PassRefPtr<EventListener>, bool useCapture = false) OVERRID…
DAnimationPlayer.cpp723 …ddEventListener(const AtomicString& eventType, PassRefPtr<EventListener> listener, bool useCapture) in addEventListener() argument
727 return EventTargetWithInlineData::addEventListener(eventType, listener, useCapture); in addEventListener()
/external/chromium_org/third_party/WebKit/Source/core/inspector/
DInspectorDOMDebuggerAgent.h95 void willHandleEvent(EventTarget*, Event*, EventListener*, bool useCapture);
DAsyncCallStackTracker.h129 void willHandleEvent(EventTarget*, Event*, EventListener*, bool useCapture);
/external/chromium_org/third_party/WebKit/Source/core/dom/
DNode.cpp1882 …de* targetNode, const AtomicString& eventType, PassRefPtr<EventListener> listener, bool useCapture) in tryAddEventListener() argument
1884 if (!targetNode->EventTarget::addEventListener(eventType, listener, useCapture)) in tryAddEventListener()
1895 …ddEventListener(const AtomicString& eventType, PassRefPtr<EventListener> listener, bool useCapture) in addEventListener() argument
1897 return tryAddEventListener(this, eventType, listener, useCapture); in addEventListener()
1900 …de* targetNode, const AtomicString& eventType, PassRefPtr<EventListener> listener, bool useCapture) in tryRemoveEventListener() argument
1902 if (!targetNode->EventTarget::removeEventListener(eventType, listener, useCapture)) in tryRemoveEventListener()
1914 …veEventListener(const AtomicString& eventType, PassRefPtr<EventListener> listener, bool useCapture) in removeEventListener() argument
1916 return tryRemoveEventListener(this, eventType, listener, useCapture); in removeEventListener()
/external/chromium_org/chrome/browser/resources/chromeos/chromevox/chromevox/injected/
Devent_watcher.js454 listener.type, listener.listener, listener.useCapture);
483 listener, useCapture) { argument
485 {'type': type, 'listener': listener, 'useCapture': useCapture}); property
486 doc.addEventListener(type, listener, useCapture);

12