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

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

Issue 2785293002: [inspector] move console to builtins (Closed)
Patch Set: use console helper 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
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 189 matching lines...) Expand 10 before | Expand all | Expand 10 after
200 enum Builtin { 200 enum Builtin {
201 kObjectKeys, 201 kObjectKeys,
202 kObjectGetPrototypeOf, 202 kObjectGetPrototypeOf,
203 kObjectGetOwnPropertyDescriptor, 203 kObjectGetOwnPropertyDescriptor,
204 kObjectGetOwnPropertyNames, 204 kObjectGetOwnPropertyNames,
205 kObjectGetOwnPropertySymbols, 205 kObjectGetOwnPropertySymbols,
206 }; 206 };
207 207
208 Local<Function> GetBuiltin(Isolate* isolate, Builtin builtin); 208 Local<Function> GetBuiltin(Isolate* isolate, Builtin builtin);
209 209
210 void SetConsoleDelegate(Isolate* isolate, ConsoleDelegate* delegate);
211
210 /** 212 /**
211 * Native wrapper around v8::internal::JSGeneratorObject object. 213 * Native wrapper around v8::internal::JSGeneratorObject object.
212 */ 214 */
213 class GeneratorObject { 215 class GeneratorObject {
214 public: 216 public:
215 v8::MaybeLocal<debug::Script> Script(); 217 v8::MaybeLocal<debug::Script> Script();
216 v8::Local<v8::Function> Function(); 218 v8::Local<v8::Function> Function();
217 debug::Location SuspendedLocation(); 219 debug::Location SuspendedLocation();
218 bool IsSuspended(); 220 bool IsSuspended();
219 221
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
282 ~Coverage(); 284 ~Coverage();
283 285
284 private: 286 private:
285 explicit Coverage(i::Coverage* coverage) : coverage_(coverage) {} 287 explicit Coverage(i::Coverage* coverage) : coverage_(coverage) {}
286 i::Coverage* coverage_; 288 i::Coverage* coverage_;
287 }; 289 };
288 } // namespace debug 290 } // namespace debug
289 } // namespace v8 291 } // namespace v8
290 292
291 #endif // V8_DEBUG_DEBUG_INTERFACE_H_ 293 #endif // V8_DEBUG_DEBUG_INTERFACE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698