Index: Source/core/inspector/InspectorDebuggerAgent.h |
diff --git a/Source/core/inspector/InspectorDebuggerAgent.h b/Source/core/inspector/InspectorDebuggerAgent.h |
index a8498a20837aad939595d8e9e13dc0eac74680a6..bfee618f875d6833b8960f355504d92aba595e5c 100644 |
--- a/Source/core/inspector/InspectorDebuggerAgent.h |
+++ b/Source/core/inspector/InspectorDebuggerAgent.h |
@@ -32,6 +32,7 @@ |
#include "InspectorFrontend.h" |
#include "bindings/v8/ScriptState.h" |
+#include "core/inspector/AsyncCallStackTracker.h" |
#include "core/inspector/ConsoleAPITypes.h" |
#include "core/inspector/InjectedScript.h" |
#include "core/inspector/InspectorBaseAgent.h" |
@@ -46,6 +47,7 @@ |
namespace WebCore { |
+class Document; |
class InjectedScriptManager; |
class InspectorFrontend; |
class InstrumentingAgents; |
@@ -127,7 +129,14 @@ public: |
virtual void skipStackFrames(ErrorString*, const String* pattern); |
void schedulePauseOnNextStatement(InspectorFrontend::Debugger::Reason::Enum breakReason, PassRefPtr<JSONObject> data); |
+ void didInstallTimer(ExecutionContext*, int timerId, int timeout, bool singleShot); |
+ void didRemoveTimer(ExecutionContext*, int timerId); |
+ bool willFireTimer(ExecutionContext*, int timerId); |
void didFireTimer(); |
+ void didRequestAnimationFrame(Document*, int callbackId); |
+ void didCancelAnimationFrame(Document*, int callbackId); |
+ bool willFireAnimationFrame(Document*, int callbackId); |
+ void didFireAnimationFrame(); |
void didHandleEvent(); |
bool canBreakProgram(); |
void breakProgram(InspectorFrontend::Debugger::Reason::Enum breakReason, PassRefPtr<JSONObject> data); |
@@ -179,6 +188,7 @@ private: |
virtual void didParseSource(const String& scriptId, const Script&); |
virtual void failedToParseSource(const String& url, const String& data, int firstLine, int errorLine, const String& errorMessage); |
+ virtual void didRequestAsyncCallFrames(ScriptValue callFrames); |
void setPauseOnExceptionsImpl(ErrorString*, int); |
@@ -187,6 +197,7 @@ private: |
void clear(); |
bool assertPaused(ErrorString*); |
void clearBreakDetails(); |
+ void requestAsyncCallFramesIfNeeded(); |
String sourceMapURLForScript(const Script&); |
@@ -214,6 +225,7 @@ private: |
int m_skipStepInCount; |
bool m_skipAllPauses; |
OwnPtr<RegularExpression> m_cachedSkipStackRegExp; |
+ AsyncCallStackTracker m_asyncCallStackTracker; |
}; |
} // namespace WebCore |