| 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 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 144 TestSpecialOperationsV8Internal::namedPropertyEnumerator(info); | 144 TestSpecialOperationsV8Internal::namedPropertyEnumerator(info); |
| 145 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); | 145 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); |
| 146 } | 146 } |
| 147 | 147 |
| 148 } // namespace TestSpecialOperationsV8Internal | 148 } // namespace TestSpecialOperationsV8Internal |
| 149 | 149 |
| 150 static const V8DOMConfiguration::MethodConfiguration V8TestSpecialOperationsMeth
ods[] = { | 150 static const V8DOMConfiguration::MethodConfiguration V8TestSpecialOperationsMeth
ods[] = { |
| 151 {"namedItem", TestSpecialOperationsV8Internal::namedItemMethodCallback, 0, 1
, V8DOMConfiguration::ExposedToAllScripts}, | 151 {"namedItem", TestSpecialOperationsV8Internal::namedItemMethodCallback, 0, 1
, V8DOMConfiguration::ExposedToAllScripts}, |
| 152 }; | 152 }; |
| 153 | 153 |
| 154 static void installV8TestSpecialOperationsTemplate(v8::Handle<v8::FunctionTempla
te> functionTemplate, v8::Isolate* isolate) | 154 static void installV8TestSpecialOperationsTemplate(v8::Local<v8::FunctionTemplat
e> functionTemplate, v8::Isolate* isolate) |
| 155 { | 155 { |
| 156 functionTemplate->ReadOnlyPrototype(); | 156 functionTemplate->ReadOnlyPrototype(); |
| 157 | 157 |
| 158 v8::Local<v8::Signature> defaultSignature; | 158 v8::Local<v8::Signature> defaultSignature; |
| 159 defaultSignature = V8DOMConfiguration::installDOMClassTemplate(isolate, func
tionTemplate, "TestSpecialOperations", v8::Local<v8::FunctionTemplate>(), V8Test
SpecialOperations::internalFieldCount, | 159 defaultSignature = V8DOMConfiguration::installDOMClassTemplate(isolate, func
tionTemplate, "TestSpecialOperations", v8::Local<v8::FunctionTemplate>(), V8Test
SpecialOperations::internalFieldCount, |
| 160 0, 0, | 160 0, 0, |
| 161 0, 0, | 161 0, 0, |
| 162 V8TestSpecialOperationsMethods, WTF_ARRAY_LENGTH(V8TestSpecialOperations
Methods)); | 162 V8TestSpecialOperationsMethods, WTF_ARRAY_LENGTH(V8TestSpecialOperations
Methods)); |
| 163 v8::Local<v8::ObjectTemplate> instanceTemplate = functionTemplate->InstanceT
emplate(); | 163 v8::Local<v8::ObjectTemplate> instanceTemplate = functionTemplate->InstanceT
emplate(); |
| 164 ALLOW_UNUSED_LOCAL(instanceTemplate); | 164 ALLOW_UNUSED_LOCAL(instanceTemplate); |
| (...skipping 29 matching lines...) Expand all Loading... |
| 194 { | 194 { |
| 195 scriptWrappable->toImpl<TestSpecialOperations>()->ref(); | 195 scriptWrappable->toImpl<TestSpecialOperations>()->ref(); |
| 196 } | 196 } |
| 197 | 197 |
| 198 void V8TestSpecialOperations::derefObject(ScriptWrappable* scriptWrappable) | 198 void V8TestSpecialOperations::derefObject(ScriptWrappable* scriptWrappable) |
| 199 { | 199 { |
| 200 scriptWrappable->toImpl<TestSpecialOperations>()->deref(); | 200 scriptWrappable->toImpl<TestSpecialOperations>()->deref(); |
| 201 } | 201 } |
| 202 | 202 |
| 203 } // namespace blink | 203 } // namespace blink |
| OLD | NEW |