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

Side by Side Diff: include/v8.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 | « 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
153 156
154 // --- Handles --- 157 // --- Handles ---
155 158
156 #define TYPE_CHECK(T, S) \ 159 #define TYPE_CHECK(T, S) \
157 while (false) { \ 160 while (false) { \
158 *(static_cast<T* volatile*>(0)) = static_cast<S*>(0); \ 161 *(static_cast<T* volatile*>(0)) = static_cast<S*>(0); \
159 } 162 }
160 163
161 /** 164 /**
162 * An object reference managed by the v8 garbage collector. 165 * An object reference managed by the v8 garbage collector.
(...skipping 3432 matching lines...) Expand 10 before | Expand all | Expand 10 after
3595 V8_INLINE bool IsConstructCall() const; 3598 V8_INLINE bool IsConstructCall() const;
3596 V8_INLINE Local<Value> Data() const; 3599 V8_INLINE Local<Value> Data() const;
3597 V8_INLINE Isolate* GetIsolate() const; 3600 V8_INLINE Isolate* GetIsolate() const;
3598 V8_INLINE ReturnValue<T> GetReturnValue() const; 3601 V8_INLINE ReturnValue<T> GetReturnValue() const;
3599 // This shouldn't be public, but the arm compiler needs it. 3602 // This shouldn't be public, but the arm compiler needs it.
3600 static const int kArgsLength = 8; 3603 static const int kArgsLength = 8;
3601 3604
3602 protected: 3605 protected:
3603 friend class internal::FunctionCallbackArguments; 3606 friend class internal::FunctionCallbackArguments;
3604 friend class internal::CustomArguments<FunctionCallbackInfo>; 3607 friend class internal::CustomArguments<FunctionCallbackInfo>;
3608 friend class debug::ConsoleCallArguments;
3605 static const int kHolderIndex = 0; 3609 static const int kHolderIndex = 0;
3606 static const int kIsolateIndex = 1; 3610 static const int kIsolateIndex = 1;
3607 static const int kReturnValueDefaultValueIndex = 2; 3611 static const int kReturnValueDefaultValueIndex = 2;
3608 static const int kReturnValueIndex = 3; 3612 static const int kReturnValueIndex = 3;
3609 static const int kDataIndex = 4; 3613 static const int kDataIndex = 4;
3610 static const int kCalleeIndex = 5; 3614 static const int kCalleeIndex = 5;
3611 static const int kContextSaveIndex = 6; 3615 static const int kContextSaveIndex = 6;
3612 static const int kNewTargetIndex = 7; 3616 static const int kNewTargetIndex = 7;
3613 3617
3614 V8_INLINE FunctionCallbackInfo(internal::Object** implicit_args, 3618 V8_INLINE FunctionCallbackInfo(internal::Object** implicit_args,
(...skipping 6442 matching lines...) Expand 10 before | Expand all | Expand 10 after
10057 */ 10061 */
10058 10062
10059 10063
10060 } // namespace v8 10064 } // namespace v8
10061 10065
10062 10066
10063 #undef TYPE_CHECK 10067 #undef TYPE_CHECK
10064 10068
10065 10069
10066 #endif // INCLUDE_V8_H_ 10070 #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