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

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

Issue 114033002: DevTools: Capture async stacks for event listeners. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: addressed 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/InspectorDebuggerAgent.h
diff --git a/Source/core/inspector/InspectorDebuggerAgent.h b/Source/core/inspector/InspectorDebuggerAgent.h
index 718a0c24e93661c751c12e69f128abe5154c8ddc..6107ad4752a854bb9b4735f0e73cdfd262daf3f0 100644
--- a/Source/core/inspector/InspectorDebuggerAgent.h
+++ b/Source/core/inspector/InspectorDebuggerAgent.h
@@ -32,13 +32,13 @@
#include "InspectorFrontend.h"
#include "bindings/v8/ScriptState.h"
+#include "core/frame/ConsoleTypes.h"
#include "core/inspector/AsyncCallStackTracker.h"
#include "core/inspector/ConsoleAPITypes.h"
#include "core/inspector/InjectedScript.h"
#include "core/inspector/InspectorBaseAgent.h"
#include "core/inspector/ScriptBreakpoint.h"
#include "core/inspector/ScriptDebugListener.h"
-#include "core/frame/ConsoleTypes.h"
#include "wtf/Forward.h"
#include "wtf/HashMap.h"
#include "wtf/PassRefPtr.h"
@@ -48,6 +48,8 @@
namespace WebCore {
class Document;
+class EventListener;
+class EventTarget;
class InjectedScriptManager;
class InspectorFrontend;
class InstrumentingAgents;
@@ -55,9 +57,9 @@ class JSONObject;
class ScriptArguments;
class ScriptCallStack;
class ScriptDebugServer;
+class ScriptRegexp;
class ScriptSourceCode;
class ScriptValue;
-class ScriptRegexp;
typedef String ErrorString;
@@ -138,6 +140,10 @@ public:
void didCancelAnimationFrame(Document*, int callbackId);
bool willFireAnimationFrame(Document*, int callbackId);
void didFireAnimationFrame();
+ void didAddEventListener(EventTarget*, const AtomicString& eventType, EventListener*, bool useCapture);
+ void didRemoveEventListener(EventTarget*, const AtomicString& eventType, EventListener*, bool useCapture);
+ void didRemoveAllEventListeners(EventTarget*);
+ void willHandleEvent(EventTarget*, const AtomicString& eventType, EventListener*, bool useCapture);
void didHandleEvent();
bool canBreakProgram();
void breakProgram(InspectorFrontend::Debugger::Reason::Enum breakReason, PassRefPtr<JSONObject> data);
« no previous file with comments | « Source/core/inspector/InspectorDOMDebuggerAgent.cpp ('k') | Source/core/inspector/InspectorDebuggerAgent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698