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

Side by Side Diff: include/v8.h

Issue 2795003003: Revert of [inspector] move console to builtins (Closed)
Patch Set: 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 | « BUILD.gn ('k') | src/api.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 /** \mainpage V8 API Reference Guide 5 /** \mainpage V8 API Reference Guide
6 * 6 *
7 * V8 is Google's open source JavaScript engine. 7 * V8 is Google's open source JavaScript engine.
8 * 8 *
9 * This set of documents provides reference material generated from the 9 * This set of documents provides reference material generated from the
10 * V8 header file, include/v8.h. 10 * V8 header file, include/v8.h.
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 class HeapObject; 143 class HeapObject;
144 class Isolate; 144 class Isolate;
145 class Object; 145 class Object;
146 struct StreamedSource; 146 struct StreamedSource;
147 template<typename T> class CustomArguments; 147 template<typename T> class CustomArguments;
148 class PropertyCallbackArguments; 148 class PropertyCallbackArguments;
149 class FunctionCallbackArguments; 149 class FunctionCallbackArguments;
150 class GlobalHandles; 150 class GlobalHandles;
151 } // namespace internal 151 } // namespace internal
152 152
153 namespace debug {
154 class ConsoleCallArguments;
155 } // namespace debug
156 153
157 // --- Handles --- 154 // --- Handles ---
158 155
159 #define TYPE_CHECK(T, S) \ 156 #define TYPE_CHECK(T, S) \
160 while (false) { \ 157 while (false) { \
161 *(static_cast<T* volatile*>(0)) = static_cast<S*>(0); \ 158 *(static_cast<T* volatile*>(0)) = static_cast<S*>(0); \
162 } 159 }
163 160
164 /** 161 /**
165 * An object reference managed by the v8 garbage collector. 162 * An object reference managed by the v8 garbage collector.
(...skipping 3396 matching lines...) Expand 10 before | Expand all | Expand 10 after
3562 V8_INLINE bool IsConstructCall() const; 3559 V8_INLINE bool IsConstructCall() const;
3563 V8_INLINE Local<Value> Data() const; 3560 V8_INLINE Local<Value> Data() const;
3564 V8_INLINE Isolate* GetIsolate() const; 3561 V8_INLINE Isolate* GetIsolate() const;
3565 V8_INLINE ReturnValue<T> GetReturnValue() const; 3562 V8_INLINE ReturnValue<T> GetReturnValue() const;
3566 // This shouldn't be public, but the arm compiler needs it. 3563 // This shouldn't be public, but the arm compiler needs it.
3567 static const int kArgsLength = 8; 3564 static const int kArgsLength = 8;
3568 3565
3569 protected: 3566 protected:
3570 friend class internal::FunctionCallbackArguments; 3567 friend class internal::FunctionCallbackArguments;
3571 friend class internal::CustomArguments<FunctionCallbackInfo>; 3568 friend class internal::CustomArguments<FunctionCallbackInfo>;
3572 friend class debug::ConsoleCallArguments;
3573 static const int kHolderIndex = 0; 3569 static const int kHolderIndex = 0;
3574 static const int kIsolateIndex = 1; 3570 static const int kIsolateIndex = 1;
3575 static const int kReturnValueDefaultValueIndex = 2; 3571 static const int kReturnValueDefaultValueIndex = 2;
3576 static const int kReturnValueIndex = 3; 3572 static const int kReturnValueIndex = 3;
3577 static const int kDataIndex = 4; 3573 static const int kDataIndex = 4;
3578 static const int kCalleeIndex = 5; 3574 static const int kCalleeIndex = 5;
3579 static const int kContextSaveIndex = 6; 3575 static const int kContextSaveIndex = 6;
3580 static const int kNewTargetIndex = 7; 3576 static const int kNewTargetIndex = 7;
3581 3577
3582 V8_INLINE FunctionCallbackInfo(internal::Object** implicit_args, 3578 V8_INLINE FunctionCallbackInfo(internal::Object** implicit_args,
(...skipping 6412 matching lines...) Expand 10 before | Expand all | Expand 10 after
9995 */ 9991 */
9996 9992
9997 9993
9998 } // namespace v8 9994 } // namespace v8
9999 9995
10000 9996
10001 #undef TYPE_CHECK 9997 #undef TYPE_CHECK
10002 9998
10003 9999
10004 #endif // INCLUDE_V8_H_ 10000 #endif // INCLUDE_V8_H_
OLDNEW
« no previous file with comments | « BUILD.gn ('k') | src/api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698