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

Side by Side Diff: Source/core/inspector/ScriptDebugListener.h

Issue 74063002: DevTools: Support asynchronous call stacks on backend. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Async call stacks are off by default, added Debugger.enableAsyncCallStacks protocol command Created 7 years, 1 month 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2008 Apple Inc. All rights reserved. 2 * Copyright (C) 2008 Apple Inc. All rights reserved.
3 * Copyright (C) 2010 Google Inc. All rights reserved. 3 * Copyright (C) 2010 Google Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 8 *
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 int endColumn; 62 int endColumn;
63 bool isContentScript; 63 bool isContentScript;
64 }; 64 };
65 65
66 virtual ~ScriptDebugListener() { } 66 virtual ~ScriptDebugListener() { }
67 67
68 virtual void didParseSource(const String& scriptId, const Script&) = 0; 68 virtual void didParseSource(const String& scriptId, const Script&) = 0;
69 virtual void failedToParseSource(const String& url, const String& data, int firstLine, int errorLine, const String& errorMessage) = 0; 69 virtual void failedToParseSource(const String& url, const String& data, int firstLine, int errorLine, const String& errorMessage) = 0;
70 virtual void didPause(ScriptState*, const ScriptValue& callFrames, const Scr iptValue& exception, const Vector<String>& hitBreakpoints) = 0; 70 virtual void didPause(ScriptState*, const ScriptValue& callFrames, const Scr iptValue& exception, const Vector<String>& hitBreakpoints) = 0;
71 virtual void didContinue() = 0; 71 virtual void didContinue() = 0;
72 virtual void didRequestAsyncCallFrames(ScriptValue callFrames) = 0;
72 73
73 enum SkipPauseRequest { 74 enum SkipPauseRequest {
74 NoSkip, 75 NoSkip,
75 Continue, 76 Continue,
76 StepInto, 77 StepInto,
77 StepOut 78 StepOut
78 }; 79 };
79 80
80 virtual SkipPauseRequest shouldSkipExceptionPause(RefPtr<JavaScriptCallFrame >& topFrame) = 0; 81 virtual SkipPauseRequest shouldSkipExceptionPause(RefPtr<JavaScriptCallFrame >& topFrame) = 0;
81 virtual SkipPauseRequest shouldSkipBreakpointPause(RefPtr<JavaScriptCallFram e>& topFrame) = 0; 82 virtual SkipPauseRequest shouldSkipBreakpointPause(RefPtr<JavaScriptCallFram e>& topFrame) = 0;
82 virtual SkipPauseRequest shouldSkipStepPause(RefPtr<JavaScriptCallFrame>& to pFrame) = 0; 83 virtual SkipPauseRequest shouldSkipStepPause(RefPtr<JavaScriptCallFrame>& to pFrame) = 0;
83 }; 84 };
84 85
85 } // namespace WebCore 86 } // namespace WebCore
86 87
87 88
88 #endif // ScriptDebugListener_h 89 #endif // ScriptDebugListener_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698