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

Side by Side Diff: src/inspector/v8-debugger.h

Issue 2682593003: [debugger] implement legacy debug event listeners via debug delegate. (Closed)
Patch Set: addressed comments Created 3 years, 10 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
« no previous file with comments | « src/debug/debug-interface.h ('k') | src/inspector/v8-debugger.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 the V8 project authors. All rights reserved. 1 // Copyright 2016 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_INSPECTOR_V8DEBUGGER_H_ 5 #ifndef V8_INSPECTOR_V8DEBUGGER_H_
6 #define V8_INSPECTOR_V8DEBUGGER_H_ 6 #define V8_INSPECTOR_V8DEBUGGER_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "src/base/macros.h" 10 #include "src/base/macros.h"
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 void PromiseEventOccurred(v8::debug::PromiseDebugActionType type, int id, 133 void PromiseEventOccurred(v8::debug::PromiseDebugActionType type, int id,
134 int parentId) override; 134 int parentId) override;
135 void ScriptCompiled(v8::Local<v8::debug::Script> script, 135 void ScriptCompiled(v8::Local<v8::debug::Script> script,
136 bool has_compile_error) override; 136 bool has_compile_error) override;
137 void BreakProgramRequested(v8::Local<v8::Context> paused_context, 137 void BreakProgramRequested(v8::Local<v8::Context> paused_context,
138 v8::Local<v8::Object> exec_state, 138 v8::Local<v8::Object> exec_state,
139 v8::Local<v8::Value> break_points_hit) override; 139 v8::Local<v8::Value> break_points_hit) override;
140 void ExceptionThrown(v8::Local<v8::Context> paused_context, 140 void ExceptionThrown(v8::Local<v8::Context> paused_context,
141 v8::Local<v8::Object> exec_state, 141 v8::Local<v8::Object> exec_state,
142 v8::Local<v8::Value> exception, 142 v8::Local<v8::Value> exception,
143 bool is_promise_rejection, bool is_uncaught) override; 143 v8::Local<v8::Value> promise, bool is_uncaught) override;
144 bool IsFunctionBlackboxed(v8::Local<v8::debug::Script> script, 144 bool IsFunctionBlackboxed(v8::Local<v8::debug::Script> script,
145 const v8::debug::Location& start, 145 const v8::debug::Location& start,
146 const v8::debug::Location& end) override; 146 const v8::debug::Location& end) override;
147 147
148 v8::Isolate* m_isolate; 148 v8::Isolate* m_isolate;
149 V8InspectorImpl* m_inspector; 149 V8InspectorImpl* m_inspector;
150 int m_enableCount; 150 int m_enableCount;
151 bool m_breakpointsActivated; 151 bool m_breakpointsActivated;
152 v8::Global<v8::Object> m_debuggerScript; 152 v8::Global<v8::Object> m_debuggerScript;
153 v8::Global<v8::Context> m_debuggerContext; 153 v8::Global<v8::Context> m_debuggerContext;
(...skipping 21 matching lines...) Expand all
175 v8::debug::ExceptionBreakState m_pauseOnExceptionsState; 175 v8::debug::ExceptionBreakState m_pauseOnExceptionsState;
176 176
177 WasmTranslation m_wasmTranslation; 177 WasmTranslation m_wasmTranslation;
178 178
179 DISALLOW_COPY_AND_ASSIGN(V8Debugger); 179 DISALLOW_COPY_AND_ASSIGN(V8Debugger);
180 }; 180 };
181 181
182 } // namespace v8_inspector 182 } // namespace v8_inspector
183 183
184 #endif // V8_INSPECTOR_V8DEBUGGER_H_ 184 #endif // V8_INSPECTOR_V8DEBUGGER_H_
OLDNEW
« no previous file with comments | « src/debug/debug-interface.h ('k') | src/inspector/v8-debugger.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698