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

Unified Diff: Source/core/inspector/AsyncCallStackTracker.h

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/AsyncCallStackTracker.h
diff --git a/Source/core/inspector/AsyncCallStackTracker.h b/Source/core/inspector/AsyncCallStackTracker.h
index e032134eeda9f01c1bf7576ac49ca418d53209cc..7a8889bd77aea18fe86afde2de46f2675e00536e 100644
--- a/Source/core/inspector/AsyncCallStackTracker.h
+++ b/Source/core/inspector/AsyncCallStackTracker.h
@@ -41,6 +41,8 @@
namespace WebCore {
+class EventListener;
+class EventTarget;
class ExecutionContext;
class AsyncCallStackTracker {
@@ -83,6 +85,11 @@ public:
void didCancelAnimationFrame(ExecutionContext*, int callbackId);
void willFireAnimationFrame(ExecutionContext*, int callbackId);
+ void didAddEventListener(EventTarget*, const AtomicString& eventType, EventListener*, bool useCapture, const ScriptValue& callFrames);
+ void didRemoveEventListener(EventTarget*, const AtomicString& eventType, EventListener*, bool useCapture);
+ void didRemoveAllEventListeners(EventTarget*);
+ void willHandleEvent(EventTarget*, const AtomicString& eventType, EventListener*, bool useCapture);
+
void didFireAsyncCall();
void clear();

Powered by Google App Engine
This is Rietveld 408576698