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

Side by Side Diff: src/api-arguments.h

Issue 2303533004: Revert of [api] Add interceptor for defineProperty(). (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@DefineProperty
Patch Set: Created 4 years, 3 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/api.cc ('k') | src/api-arguments-inl.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_API_ARGUMENTS_H_ 5 #ifndef V8_API_ARGUMENTS_H_
6 #define V8_API_ARGUMENTS_H_ 6 #define V8_API_ARGUMENTS_H_
7 7
8 #include "src/api.h" 8 #include "src/api.h"
9 #include "src/isolate.h" 9 #include "src/isolate.h"
10 10
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 inline Handle<Object> Call(GenericNamedPropertyDeleterCallback f, 112 inline Handle<Object> Call(GenericNamedPropertyDeleterCallback f,
113 Handle<Name> name); 113 Handle<Name> name);
114 114
115 inline Handle<Object> Call(IndexedPropertyGetterCallback f, uint32_t index); 115 inline Handle<Object> Call(IndexedPropertyGetterCallback f, uint32_t index);
116 inline Handle<Object> Call(IndexedPropertyQueryCallback f, uint32_t index); 116 inline Handle<Object> Call(IndexedPropertyQueryCallback f, uint32_t index);
117 inline Handle<Object> Call(IndexedPropertyDeleterCallback f, uint32_t index); 117 inline Handle<Object> Call(IndexedPropertyDeleterCallback f, uint32_t index);
118 118
119 inline Handle<Object> Call(GenericNamedPropertySetterCallback f, 119 inline Handle<Object> Call(GenericNamedPropertySetterCallback f,
120 Handle<Name> name, Handle<Object> value); 120 Handle<Name> name, Handle<Object> value);
121 121
122 inline Handle<Object> Call(GenericNamedPropertyDefinerCallback f,
123 Handle<Name> name,
124 const v8::PropertyDescriptor& desc);
125
126 inline Handle<Object> Call(IndexedPropertySetterCallback f, uint32_t index, 122 inline Handle<Object> Call(IndexedPropertySetterCallback f, uint32_t index,
127 Handle<Object> value); 123 Handle<Object> value);
128 124
129 inline Handle<Object> Call(IndexedPropertyDefinerCallback f, uint32_t index,
130 const v8::PropertyDescriptor& desc);
131
132 inline void Call(AccessorNameSetterCallback f, Handle<Name> name, 125 inline void Call(AccessorNameSetterCallback f, Handle<Name> name,
133 Handle<Object> value); 126 Handle<Object> value);
134 127
135 private: 128 private:
136 inline JSObject* holder() { 129 inline JSObject* holder() {
137 return JSObject::cast(this->begin()[T::kHolderIndex]); 130 return JSObject::cast(this->begin()[T::kHolderIndex]);
138 } 131 }
139 }; 132 };
140 133
141 class FunctionCallbackArguments 134 class FunctionCallbackArguments
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
189 182
190 private: 183 private:
191 internal::Object** argv_; 184 internal::Object** argv_;
192 int argc_; 185 int argc_;
193 }; 186 };
194 187
195 } // namespace internal 188 } // namespace internal
196 } // namespace v8 189 } // namespace v8
197 190
198 #endif // V8_API_ARGUMENTS_H_ 191 #endif // V8_API_ARGUMENTS_H_
OLDNEW
« no previous file with comments | « src/api.cc ('k') | src/api-arguments-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698