| 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 "V8TestInterfaceConstructor2.h" | 8 #include "V8TestInterfaceConstructor2.h" | 
| 9 | 9 | 
| 10 #include "bindings/core/v8/Dictionary.h" | 10 #include "bindings/core/v8/Dictionary.h" | 
| (...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 187     } | 187     } | 
| 188 | 188 | 
| 189     TestInterfaceConstructor2V8Internal::constructor(info); | 189     TestInterfaceConstructor2V8Internal::constructor(info); | 
| 190 } | 190 } | 
| 191 | 191 | 
| 192 static void installV8TestInterfaceConstructor2Template(v8::Handle<v8::FunctionTe
     mplate> functionTemplate, v8::Isolate* isolate) | 192 static void installV8TestInterfaceConstructor2Template(v8::Handle<v8::FunctionTe
     mplate> functionTemplate, v8::Isolate* isolate) | 
| 193 { | 193 { | 
| 194     functionTemplate->ReadOnlyPrototype(); | 194     functionTemplate->ReadOnlyPrototype(); | 
| 195 | 195 | 
| 196     v8::Local<v8::Signature> defaultSignature; | 196     v8::Local<v8::Signature> defaultSignature; | 
| 197     defaultSignature = V8DOMConfiguration::installDOMClassTemplate(functionTempl
     ate, "TestInterfaceConstructor2", v8::Local<v8::FunctionTemplate>(), V8TestInter
     faceConstructor2::internalFieldCount, | 197     defaultSignature = V8DOMConfiguration::installDOMClassTemplate(isolate, func
     tionTemplate, "TestInterfaceConstructor2", v8::Local<v8::FunctionTemplate>(), V8
     TestInterfaceConstructor2::internalFieldCount, | 
| 198         0, 0, | 198         0, 0, | 
| 199         0, 0, | 199         0, 0, | 
| 200         0, 0, | 200         0, 0); | 
| 201         isolate); |  | 
| 202     functionTemplate->SetCallHandler(V8TestInterfaceConstructor2::constructorCal
     lback); | 201     functionTemplate->SetCallHandler(V8TestInterfaceConstructor2::constructorCal
     lback); | 
| 203     functionTemplate->SetLength(1); | 202     functionTemplate->SetLength(1); | 
| 204     v8::Local<v8::ObjectTemplate> instanceTemplate = functionTemplate->InstanceT
     emplate(); | 203     v8::Local<v8::ObjectTemplate> instanceTemplate = functionTemplate->InstanceT
     emplate(); | 
| 205     ALLOW_UNUSED_LOCAL(instanceTemplate); | 204     ALLOW_UNUSED_LOCAL(instanceTemplate); | 
| 206     v8::Local<v8::ObjectTemplate> prototypeTemplate = functionTemplate->Prototyp
     eTemplate(); | 205     v8::Local<v8::ObjectTemplate> prototypeTemplate = functionTemplate->Prototyp
     eTemplate(); | 
| 207     ALLOW_UNUSED_LOCAL(prototypeTemplate); | 206     ALLOW_UNUSED_LOCAL(prototypeTemplate); | 
| 208 | 207 | 
| 209     // Custom toString template | 208     // Custom toString template | 
| 210     functionTemplate->Set(v8AtomicString(isolate, "toString"), V8PerIsolateData:
     :from(isolate)->toStringTemplate()); | 209     functionTemplate->Set(v8AtomicString(isolate, "toString"), V8PerIsolateData:
     :from(isolate)->toStringTemplate()); | 
| 211 } | 210 } | 
| (...skipping 28 matching lines...) Expand all  Loading... | 
| 240     scriptWrappable->toImpl<TestInterfaceConstructor2>()->deref(); | 239     scriptWrappable->toImpl<TestInterfaceConstructor2>()->deref(); | 
| 241 } | 240 } | 
| 242 | 241 | 
| 243 template<> | 242 template<> | 
| 244 v8::Handle<v8::Value> toV8NoInline(TestInterfaceConstructor2* impl, v8::Handle<v
     8::Object> creationContext, v8::Isolate* isolate) | 243 v8::Handle<v8::Value> toV8NoInline(TestInterfaceConstructor2* impl, v8::Handle<v
     8::Object> creationContext, v8::Isolate* isolate) | 
| 245 { | 244 { | 
| 246     return toV8(impl, creationContext, isolate); | 245     return toV8(impl, creationContext, isolate); | 
| 247 } | 246 } | 
| 248 | 247 | 
| 249 } // namespace blink | 248 } // namespace blink | 
| OLD | NEW | 
|---|