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 "V8TestNode.h" | 8 #include "V8TestNode.h" |
9 | 9 |
10 #include "bindings/core/v8/ExceptionState.h" | 10 #include "bindings/core/v8/ExceptionState.h" |
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
176 } | 176 } |
177 | 177 |
178 if (ConstructorMode::current(info.GetIsolate()) == ConstructorMode::WrapExis
tingObject) { | 178 if (ConstructorMode::current(info.GetIsolate()) == ConstructorMode::WrapExis
tingObject) { |
179 v8SetReturnValue(info, info.Holder()); | 179 v8SetReturnValue(info, info.Holder()); |
180 return; | 180 return; |
181 } | 181 } |
182 | 182 |
183 TestNodeV8Internal::constructor(info); | 183 TestNodeV8Internal::constructor(info); |
184 } | 184 } |
185 | 185 |
186 static void installV8TestNodeTemplate(v8::Handle<v8::FunctionTemplate> functionT
emplate, v8::Isolate* isolate) | 186 static void installV8TestNodeTemplate(v8::Local<v8::FunctionTemplate> functionTe
mplate, v8::Isolate* isolate) |
187 { | 187 { |
188 functionTemplate->ReadOnlyPrototype(); | 188 functionTemplate->ReadOnlyPrototype(); |
189 | 189 |
190 v8::Local<v8::Signature> defaultSignature; | 190 v8::Local<v8::Signature> defaultSignature; |
191 defaultSignature = V8DOMConfiguration::installDOMClassTemplate(isolate, func
tionTemplate, "TestNode", V8Node::domTemplate(isolate), V8TestNode::internalFiel
dCount, | 191 defaultSignature = V8DOMConfiguration::installDOMClassTemplate(isolate, func
tionTemplate, "TestNode", V8Node::domTemplate(isolate), V8TestNode::internalFiel
dCount, |
192 V8TestNodeAttributes, WTF_ARRAY_LENGTH(V8TestNodeAttributes), | 192 V8TestNodeAttributes, WTF_ARRAY_LENGTH(V8TestNodeAttributes), |
193 0, 0, | 193 0, 0, |
194 0, 0); | 194 0, 0); |
195 functionTemplate->SetCallHandler(V8TestNode::constructorCallback); | 195 functionTemplate->SetCallHandler(V8TestNode::constructorCallback); |
196 functionTemplate->SetLength(0); | 196 functionTemplate->SetLength(0); |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
231 } | 231 } |
232 | 232 |
233 void V8TestNode::derefObject(ScriptWrappable* scriptWrappable) | 233 void V8TestNode::derefObject(ScriptWrappable* scriptWrappable) |
234 { | 234 { |
235 #if !ENABLE(OILPAN) | 235 #if !ENABLE(OILPAN) |
236 scriptWrappable->toImpl<TestNode>()->deref(); | 236 scriptWrappable->toImpl<TestNode>()->deref(); |
237 #endif | 237 #endif |
238 } | 238 } |
239 | 239 |
240 } // namespace blink | 240 } // namespace blink |
OLD | NEW |