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

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

Issue 374903002: DevTools: Async call stacks for Promises and Object.observe. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebased Created 6 years, 5 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/core/inspector/InspectorDebuggerAgent.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 19 matching lines...) Expand all
30 #ifndef ScriptDebugListener_h 30 #ifndef ScriptDebugListener_h
31 #define ScriptDebugListener_h 31 #define ScriptDebugListener_h
32 32
33 33
34 #include "bindings/core/v8/ScriptState.h" 34 #include "bindings/core/v8/ScriptState.h"
35 #include "wtf/Forward.h" 35 #include "wtf/Forward.h"
36 #include "wtf/Vector.h" 36 #include "wtf/Vector.h"
37 #include "wtf/text/WTFString.h" 37 #include "wtf/text/WTFString.h"
38 38
39 namespace WebCore { 39 namespace WebCore {
40
41 class ExecutionContext;
40 class ScriptValue; 42 class ScriptValue;
41 43
42 class ScriptDebugListener { 44 class ScriptDebugListener {
43 public: 45 public:
44 class Script { 46 class Script {
45 public: 47 public:
46 Script() 48 Script()
47 : startLine(0) 49 : startLine(0)
48 , startColumn(0) 50 , startColumn(0)
49 , endLine(0) 51 , endLine(0)
(...skipping 18 matching lines...) Expand all
68 StepInto, 70 StepInto,
69 StepOut 71 StepOut
70 }; 72 };
71 73
72 virtual ~ScriptDebugListener() { } 74 virtual ~ScriptDebugListener() { }
73 75
74 virtual void didParseSource(const String& scriptId, const Script&) = 0; 76 virtual void didParseSource(const String& scriptId, const Script&) = 0;
75 virtual void failedToParseSource(const String& url, const String& data, int firstLine, int errorLine, const String& errorMessage) = 0; 77 virtual void failedToParseSource(const String& url, const String& data, int firstLine, int errorLine, const String& errorMessage) = 0;
76 virtual SkipPauseRequest didPause(ScriptState*, const ScriptValue& callFrame s, const ScriptValue& exception, const Vector<String>& hitBreakpoints) = 0; 78 virtual SkipPauseRequest didPause(ScriptState*, const ScriptValue& callFrame s, const ScriptValue& exception, const Vector<String>& hitBreakpoints) = 0;
77 virtual void didContinue() = 0; 79 virtual void didContinue() = 0;
80 virtual void didReceiveV8AsyncTaskEvent(ExecutionContext*, const String& eve ntType, const String& eventName, int id) = 0;
78 }; 81 };
79 82
80 } // namespace WebCore 83 } // namespace WebCore
81 84
82 85
83 #endif // ScriptDebugListener_h 86 #endif // ScriptDebugListener_h
OLDNEW
« no previous file with comments | « Source/core/inspector/InspectorDebuggerAgent.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698