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 "V8TestInterfaceConstructor3.h" | 8 #include "V8TestInterfaceConstructor3.h" |
9 | 9 |
10 #include "bindings/core/v8/ExceptionState.h" | 10 #include "bindings/core/v8/ExceptionState.h" |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 } | 62 } |
63 | 63 |
64 TestInterfaceConstructor3V8Internal::constructor(info); | 64 TestInterfaceConstructor3V8Internal::constructor(info); |
65 } | 65 } |
66 | 66 |
67 static void installV8TestInterfaceConstructor3Template(v8::Handle<v8::FunctionTe
mplate> functionTemplate, v8::Isolate* isolate) | 67 static void installV8TestInterfaceConstructor3Template(v8::Handle<v8::FunctionTe
mplate> functionTemplate, v8::Isolate* isolate) |
68 { | 68 { |
69 functionTemplate->ReadOnlyPrototype(); | 69 functionTemplate->ReadOnlyPrototype(); |
70 | 70 |
71 v8::Local<v8::Signature> defaultSignature; | 71 v8::Local<v8::Signature> defaultSignature; |
72 defaultSignature = V8DOMConfiguration::installDOMClassTemplate(functionTempl
ate, "TestInterfaceConstructor3", v8::Local<v8::FunctionTemplate>(), V8TestInter
faceConstructor3::internalFieldCount, | 72 defaultSignature = V8DOMConfiguration::installDOMClassTemplate(isolate, func
tionTemplate, "TestInterfaceConstructor3", v8::Local<v8::FunctionTemplate>(), V8
TestInterfaceConstructor3::internalFieldCount, |
73 0, 0, | 73 0, 0, |
74 0, 0, | 74 0, 0, |
75 0, 0, | 75 0, 0); |
76 isolate); | |
77 functionTemplate->SetCallHandler(V8TestInterfaceConstructor3::constructorCal
lback); | 76 functionTemplate->SetCallHandler(V8TestInterfaceConstructor3::constructorCal
lback); |
78 functionTemplate->SetLength(1); | 77 functionTemplate->SetLength(1); |
79 v8::Local<v8::ObjectTemplate> instanceTemplate = functionTemplate->InstanceT
emplate(); | 78 v8::Local<v8::ObjectTemplate> instanceTemplate = functionTemplate->InstanceT
emplate(); |
80 ALLOW_UNUSED_LOCAL(instanceTemplate); | 79 ALLOW_UNUSED_LOCAL(instanceTemplate); |
81 v8::Local<v8::ObjectTemplate> prototypeTemplate = functionTemplate->Prototyp
eTemplate(); | 80 v8::Local<v8::ObjectTemplate> prototypeTemplate = functionTemplate->Prototyp
eTemplate(); |
82 ALLOW_UNUSED_LOCAL(prototypeTemplate); | 81 ALLOW_UNUSED_LOCAL(prototypeTemplate); |
83 | 82 |
84 // Custom toString template | 83 // Custom toString template |
85 functionTemplate->Set(v8AtomicString(isolate, "toString"), V8PerIsolateData:
:from(isolate)->toStringTemplate()); | 84 functionTemplate->Set(v8AtomicString(isolate, "toString"), V8PerIsolateData:
:from(isolate)->toStringTemplate()); |
86 } | 85 } |
(...skipping 28 matching lines...) Expand all Loading... |
115 scriptWrappable->toImpl<TestInterfaceConstructor3>()->deref(); | 114 scriptWrappable->toImpl<TestInterfaceConstructor3>()->deref(); |
116 } | 115 } |
117 | 116 |
118 template<> | 117 template<> |
119 v8::Handle<v8::Value> toV8NoInline(TestInterfaceConstructor3* impl, v8::Handle<v
8::Object> creationContext, v8::Isolate* isolate) | 118 v8::Handle<v8::Value> toV8NoInline(TestInterfaceConstructor3* impl, v8::Handle<v
8::Object> creationContext, v8::Isolate* isolate) |
120 { | 119 { |
121 return toV8(impl, creationContext, isolate); | 120 return toV8(impl, creationContext, isolate); |
122 } | 121 } |
123 | 122 |
124 } // namespace blink | 123 } // namespace blink |
OLD | NEW |