OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium 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 // This file has been auto-generated by code_generator_v8.py. DO NOT MODIFY! | 5 // This file has been auto-generated by code_generator_v8.py. DO NOT MODIFY! |
6 | 6 |
7 #include "config.h" | 7 #include "config.h" |
8 #include "V8TestSpecialOperations.h" | 8 #include "V8TestSpecialOperations.h" |
9 | 9 |
10 #include "bindings/core/v8/ExceptionState.h" | 10 #include "bindings/core/v8/ExceptionState.h" |
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
167 static void namedPropertyEnumeratorCallback(const v8::PropertyCallbackInfo<v8::A
rray>& info) | 167 static void namedPropertyEnumeratorCallback(const v8::PropertyCallbackInfo<v8::A
rray>& info) |
168 { | 168 { |
169 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMNamedProperty"); | 169 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMNamedProperty"); |
170 TestSpecialOperationsV8Internal::namedPropertyEnumerator(info); | 170 TestSpecialOperationsV8Internal::namedPropertyEnumerator(info); |
171 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); | 171 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); |
172 } | 172 } |
173 | 173 |
174 } // namespace TestSpecialOperationsV8Internal | 174 } // namespace TestSpecialOperationsV8Internal |
175 | 175 |
176 static const V8DOMConfiguration::MethodConfiguration V8TestSpecialOperationsMeth
ods[] = { | 176 static const V8DOMConfiguration::MethodConfiguration V8TestSpecialOperationsMeth
ods[] = { |
177 {"namedItem", TestSpecialOperationsV8Internal::namedItemMethodCallback, 0, 1
}, | 177 {"namedItem", TestSpecialOperationsV8Internal::namedItemMethodCallback, 0, 1
, V8DOMConfiguration::ExposedToAllScripts}, |
178 }; | 178 }; |
179 | 179 |
180 static void installV8TestSpecialOperationsTemplate(v8::Handle<v8::FunctionTempla
te> functionTemplate, v8::Isolate* isolate) | 180 static void installV8TestSpecialOperationsTemplate(v8::Handle<v8::FunctionTempla
te> functionTemplate, v8::Isolate* isolate) |
181 { | 181 { |
182 functionTemplate->ReadOnlyPrototype(); | 182 functionTemplate->ReadOnlyPrototype(); |
183 | 183 |
184 v8::Local<v8::Signature> defaultSignature; | 184 v8::Local<v8::Signature> defaultSignature; |
185 defaultSignature = V8DOMConfiguration::installDOMClassTemplate(functionTempl
ate, "TestSpecialOperations", v8::Local<v8::FunctionTemplate>(), V8TestSpecialOp
erations::internalFieldCount, | 185 defaultSignature = V8DOMConfiguration::installDOMClassTemplate(functionTempl
ate, "TestSpecialOperations", v8::Local<v8::FunctionTemplate>(), V8TestSpecialOp
erations::internalFieldCount, |
186 0, 0, | 186 0, 0, |
187 0, 0, | 187 0, 0, |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
247 fromInternalPointer(object)->deref(); | 247 fromInternalPointer(object)->deref(); |
248 } | 248 } |
249 | 249 |
250 template<> | 250 template<> |
251 v8::Handle<v8::Value> toV8NoInline(TestSpecialOperations* impl, v8::Handle<v8::O
bject> creationContext, v8::Isolate* isolate) | 251 v8::Handle<v8::Value> toV8NoInline(TestSpecialOperations* impl, v8::Handle<v8::O
bject> creationContext, v8::Isolate* isolate) |
252 { | 252 { |
253 return toV8(impl, creationContext, isolate); | 253 return toV8(impl, creationContext, isolate); |
254 } | 254 } |
255 | 255 |
256 } // namespace blink | 256 } // namespace blink |
OLD | NEW |