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

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

Issue 74063002: DevTools: Support asynchronous call stacks on backend. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: removed trash 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 775166b294b412a9bb10da21e93b6c2756edac01..8281c138d9b153b58aaf85148fed816139000c7f 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;
@@ -125,9 +127,17 @@ public:
virtual void setOverlayMessage(ErrorString*, const String*);
virtual void setVariableValue(ErrorString*, int in_scopeNumber, const String& in_variableName, const RefPtr<JSONObject>& in_newValue, const String* in_callFrame, const String* in_functionObjectId);
virtual void skipStackFrames(ErrorString*, const String* pattern);
+ virtual void setAsyncCallStackDepth(ErrorString*, int depth);
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);
@@ -215,6 +225,7 @@ private:
int m_skipStepInCount;
bool m_skipAllPauses;
OwnPtr<RegularExpression> m_cachedSkipStackRegExp;
+ AsyncCallStackTracker m_asyncCallStackTracker;
};
} // namespace WebCore

Powered by Google App Engine
This is Rietveld 408576698