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

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

Issue 2785293002: [inspector] move console to builtins (Closed)
Patch Set: removed unused variable 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/builtins/builtins-definitions.h ('k') | src/debug/interface-types.h » ('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);
213
212 /** 214 /**
213 * Native wrapper around v8::internal::JSGeneratorObject object. 215 * Native wrapper around v8::internal::JSGeneratorObject object.
214 */ 216 */
215 class GeneratorObject { 217 class GeneratorObject {
216 public: 218 public:
217 v8::MaybeLocal<debug::Script> Script(); 219 v8::MaybeLocal<debug::Script> Script();
218 v8::Local<v8::Function> Function(); 220 v8::Local<v8::Function> Function();
219 debug::Location SuspendedLocation(); 221 debug::Location SuspendedLocation();
220 bool IsSuspended(); 222 bool IsSuspended();
221 223
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
284 ~Coverage(); 286 ~Coverage();
285 287
286 private: 288 private:
287 explicit Coverage(i::Coverage* coverage) : coverage_(coverage) {} 289 explicit Coverage(i::Coverage* coverage) : coverage_(coverage) {}
288 i::Coverage* coverage_; 290 i::Coverage* coverage_;
289 }; 291 };
290 } // namespace debug 292 } // namespace debug
291 } // namespace v8 293 } // namespace v8
292 294
293 #endif // V8_DEBUG_DEBUG_INTERFACE_H_ 295 #endif // V8_DEBUG_DEBUG_INTERFACE_H_
OLDNEW
« no previous file with comments | « src/builtins/builtins-definitions.h ('k') | src/debug/interface-types.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698