| OLD | NEW |
| 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_DEBUG_DEBUG_INTERFACE_H_ | 5 #ifndef V8_DEBUG_DEBUG_INTERFACE_H_ |
| 6 #define V8_DEBUG_DEBUG_INTERFACE_H_ | 6 #define V8_DEBUG_DEBUG_INTERFACE_H_ |
| 7 | 7 |
| 8 #include <functional> | 8 #include <functional> |
| 9 | 9 |
| 10 #include "include/v8-debug.h" | 10 #include "include/v8-debug.h" |
| (...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 202 enum Builtin { | 202 enum Builtin { |
| 203 kObjectKeys, | 203 kObjectKeys, |
| 204 kObjectGetPrototypeOf, | 204 kObjectGetPrototypeOf, |
| 205 kObjectGetOwnPropertyDescriptor, | 205 kObjectGetOwnPropertyDescriptor, |
| 206 kObjectGetOwnPropertyNames, | 206 kObjectGetOwnPropertyNames, |
| 207 kObjectGetOwnPropertySymbols, | 207 kObjectGetOwnPropertySymbols, |
| 208 }; | 208 }; |
| 209 | 209 |
| 210 Local<Function> GetBuiltin(Isolate* isolate, Builtin builtin); | 210 Local<Function> GetBuiltin(Isolate* isolate, Builtin builtin); |
| 211 | 211 |
| 212 void SetConsoleDelegate(Isolate* isolate, ConsoleDelegate* delegate); | 212 V8_EXPORT_PRIVATE void SetConsoleDelegate(Isolate* isolate, |
| 213 ConsoleDelegate* delegate); |
| 213 | 214 |
| 214 int GetStackFrameId(v8::Local<v8::StackFrame> frame); | 215 int GetStackFrameId(v8::Local<v8::StackFrame> frame); |
| 215 | 216 |
| 216 /** | 217 /** |
| 217 * Native wrapper around v8::internal::JSGeneratorObject object. | 218 * Native wrapper around v8::internal::JSGeneratorObject object. |
| 218 */ | 219 */ |
| 219 class GeneratorObject { | 220 class GeneratorObject { |
| 220 public: | 221 public: |
| 221 v8::MaybeLocal<debug::Script> Script(); | 222 v8::MaybeLocal<debug::Script> Script(); |
| 222 v8::Local<v8::Function> Function(); | 223 v8::Local<v8::Function> Function(); |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 288 ~Coverage(); | 289 ~Coverage(); |
| 289 | 290 |
| 290 private: | 291 private: |
| 291 explicit Coverage(i::Coverage* coverage) : coverage_(coverage) {} | 292 explicit Coverage(i::Coverage* coverage) : coverage_(coverage) {} |
| 292 i::Coverage* coverage_; | 293 i::Coverage* coverage_; |
| 293 }; | 294 }; |
| 294 } // namespace debug | 295 } // namespace debug |
| 295 } // namespace v8 | 296 } // namespace v8 |
| 296 | 297 |
| 297 #endif // V8_DEBUG_DEBUG_INTERFACE_H_ | 298 #endif // V8_DEBUG_DEBUG_INTERFACE_H_ |
| OLD | NEW |