| 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 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 154 static void namedPropertyEnumeratorCallback(const v8::PropertyCallbackInfo<v8::A
rray>& info) | 154 static void namedPropertyEnumeratorCallback(const v8::PropertyCallbackInfo<v8::A
rray>& info) |
| 155 { | 155 { |
| 156 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMNamedProperty"); | 156 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMNamedProperty"); |
| 157 TestSpecialOperationsV8Internal::namedPropertyEnumerator(info); | 157 TestSpecialOperationsV8Internal::namedPropertyEnumerator(info); |
| 158 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); | 158 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); |
| 159 } | 159 } |
| 160 | 160 |
| 161 } // namespace TestSpecialOperationsV8Internal | 161 } // namespace TestSpecialOperationsV8Internal |
| 162 | 162 |
| 163 const V8DOMConfiguration::MethodConfiguration V8TestSpecialOperationsMethods[] =
{ | 163 const V8DOMConfiguration::MethodConfiguration V8TestSpecialOperationsMethods[] =
{ |
| 164 {"namedItem", TestSpecialOperationsV8Internal::namedItemMethodCallback, 0, 1
, V8DOMConfiguration::ExposedToAllScripts}, | 164 {"namedItem", TestSpecialOperationsV8Internal::namedItemMethodCallback, 0, 1
, V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnPrototype}, |
| 165 }; | 165 }; |
| 166 | 166 |
| 167 static void installV8TestSpecialOperationsTemplate(v8::Local<v8::FunctionTemplat
e> functionTemplate, v8::Isolate* isolate) | 167 static void installV8TestSpecialOperationsTemplate(v8::Local<v8::FunctionTemplat
e> functionTemplate, v8::Isolate* isolate) |
| 168 { | 168 { |
| 169 functionTemplate->ReadOnlyPrototype(); | 169 functionTemplate->ReadOnlyPrototype(); |
| 170 | 170 |
| 171 v8::Local<v8::Signature> defaultSignature; | 171 v8::Local<v8::Signature> defaultSignature; |
| 172 defaultSignature = V8DOMConfiguration::installDOMClassTemplate(isolate, func
tionTemplate, "TestSpecialOperations", v8::Local<v8::FunctionTemplate>(), V8Test
SpecialOperations::internalFieldCount, | 172 defaultSignature = V8DOMConfiguration::installDOMClassTemplate(isolate, func
tionTemplate, "TestSpecialOperations", v8::Local<v8::FunctionTemplate>(), V8Test
SpecialOperations::internalFieldCount, |
| 173 0, 0, | 173 0, 0, |
| 174 0, 0, | 174 0, 0, |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 211 { | 211 { |
| 212 scriptWrappable->toImpl<TestSpecialOperations>()->ref(); | 212 scriptWrappable->toImpl<TestSpecialOperations>()->ref(); |
| 213 } | 213 } |
| 214 | 214 |
| 215 void V8TestSpecialOperations::derefObject(ScriptWrappable* scriptWrappable) | 215 void V8TestSpecialOperations::derefObject(ScriptWrappable* scriptWrappable) |
| 216 { | 216 { |
| 217 scriptWrappable->toImpl<TestSpecialOperations>()->deref(); | 217 scriptWrappable->toImpl<TestSpecialOperations>()->deref(); |
| 218 } | 218 } |
| 219 | 219 |
| 220 } // namespace blink | 220 } // namespace blink |
| OLD | NEW |