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

Side by Side Diff: src/debug/debug-interface.h

Issue 2840543002: [d8] implement console for d8. (Closed)
Patch Set: no stress Created 3 years, 8 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/d8-console.cc ('k') | test/message/console.js » ('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_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
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
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_
OLDNEW
« no previous file with comments | « src/d8-console.cc ('k') | test/message/console.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698