Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(130)

Unified Diff: Source/core/inspector/InspectorInstrumentation.idl

Issue 114033002: DevTools: Capture async stacks for event listeners. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: construct event description Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/core/inspector/InspectorInstrumentation.idl
diff --git a/Source/core/inspector/InspectorInstrumentation.idl b/Source/core/inspector/InspectorInstrumentation.idl
index 02e859136093ef5dfcac6fe7febb38d474b68098..bd610097b603e752ec63d3a0b32b2f2ff1a4b650 100644
--- a/Source/core/inspector/InspectorInstrumentation.idl
+++ b/Source/core/inspector/InspectorInstrumentation.idl
@@ -172,8 +172,17 @@ interface InspectorInstrumentation {
[Timeline, Inline=FastReturn]
void didDispatchEvent(const InspectorInstrumentationCookie&);
- [DOMDebugger, Inline=FastReturn]
- InspectorInstrumentationCookie willHandleEvent(ExecutionContext*, Event*);
+ [Debugger, Inline=FastReturn]
+ void didAddEventListener([Keep] EventTarget*, const AtomicString& eventType, EventListener* listener, bool useCapture);
+
+ [Debugger, Inline=FastReturn]
+ void didRemoveEventListener([Keep] EventTarget*, const AtomicString& eventType, EventListener* listener, bool useCapture);
+
+ [Debugger, Inline=FastReturn]
+ void didRemoveAllEventListeners([Keep] EventTarget*);
+
+ [Debugger, DOMDebugger, Inline=FastReturn]
+ InspectorInstrumentationCookie willHandleEvent([Keep] EventTarget*, const AtomicString& eventType, EventListener* listener, bool useCapture);
[Debugger, Inline=FastReturn]
void didHandleEvent(const InspectorInstrumentationCookie&);

Powered by Google App Engine
This is Rietveld 408576698