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

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

Issue 300393002: Merge DevTools Refactor CL to Blink36 (Closed) Base URL: svn://svn.chromium.org/blink/branches/dart/1985
Patch Set: PTAL Created 6 years, 6 months 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
« no previous file with comments | « Source/core/inspector/PageRuntimeAgent.cpp ('k') | Source/core/inspector/WorkerDebuggerAgent.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/inspector/ScriptDebugListener.h
diff --git a/Source/core/inspector/ScriptDebugListener.h b/Source/core/inspector/ScriptDebugListener.h
index 2b836bd8a9e30dce1680fa89c9530e2c8a2e0290..a5782d12df3f63dc4d933643a35af0c9ba5abcaa 100644
--- a/Source/core/inspector/ScriptDebugListener.h
+++ b/Source/core/inspector/ScriptDebugListener.h
@@ -38,7 +38,8 @@
namespace WebCore {
class ScriptValue;
-class JavaScriptCallFrame;
+class StackTrace;
+class ScriptCallFrame;
class ScriptDebugListener {
public:
@@ -70,7 +71,7 @@ public:
virtual void didParseSource(const String& scriptId, const Script&) = 0;
virtual void failedToParseSource(const String& url, const String& data, int firstLine, int errorLine, const String& errorMessage) = 0;
- virtual void didPause(ScriptState*, const ScriptValue& callFrames, const ScriptValue& exception, const Vector<String>& hitBreakpoints) = 0;
+ virtual void didPause(ScriptState*, const StackTrace& callFrames, const ScriptValue& exception, const Vector<String>& hitBreakpoints) = 0;
virtual void didContinue() = 0;
enum SkipPauseRequest {
@@ -80,9 +81,9 @@ public:
StepOut
};
- virtual SkipPauseRequest shouldSkipExceptionPause(RefPtr<JavaScriptCallFrame>& topFrame) = 0;
- virtual SkipPauseRequest shouldSkipBreakpointPause(RefPtr<JavaScriptCallFrame>& topFrame) = 0;
- virtual SkipPauseRequest shouldSkipStepPause(RefPtr<JavaScriptCallFrame>& topFrame) = 0;
+ virtual SkipPauseRequest shouldSkipExceptionPause(const ScriptCallFrame& topFrame) = 0;
+ virtual SkipPauseRequest shouldSkipBreakpointPause(const ScriptCallFrame& topFrame) = 0;
+ virtual SkipPauseRequest shouldSkipStepPause(const ScriptCallFrame& topFrame) = 0;
};
} // namespace WebCore
« no previous file with comments | « Source/core/inspector/PageRuntimeAgent.cpp ('k') | Source/core/inspector/WorkerDebuggerAgent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698