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 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
182 } | 182 } |
183 | 183 |
184 if (ConstructorMode::current(info.GetIsolate()) == ConstructorMode::WrapExis
tingObject) { | 184 if (ConstructorMode::current(info.GetIsolate()) == ConstructorMode::WrapExis
tingObject) { |
185 v8SetReturnValue(info, info.Holder()); | 185 v8SetReturnValue(info, info.Holder()); |
186 return; | 186 return; |
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::Local<v8::FunctionTem
plate> 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(isolate, func
tionTemplate, "TestInterfaceConstructor2", v8::Local<v8::FunctionTemplate>(), V8
TestInterfaceConstructor2::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 functionTemplate->SetCallHandler(V8TestInterfaceConstructor2::constructorCal
lback); | 201 functionTemplate->SetCallHandler(V8TestInterfaceConstructor2::constructorCal
lback); |
202 functionTemplate->SetLength(1); | 202 functionTemplate->SetLength(1); |
(...skipping 30 matching lines...) Expand all Loading... |
233 { | 233 { |
234 scriptWrappable->toImpl<TestInterfaceConstructor2>()->ref(); | 234 scriptWrappable->toImpl<TestInterfaceConstructor2>()->ref(); |
235 } | 235 } |
236 | 236 |
237 void V8TestInterfaceConstructor2::derefObject(ScriptWrappable* scriptWrappable) | 237 void V8TestInterfaceConstructor2::derefObject(ScriptWrappable* scriptWrappable) |
238 { | 238 { |
239 scriptWrappable->toImpl<TestInterfaceConstructor2>()->deref(); | 239 scriptWrappable->toImpl<TestInterfaceConstructor2>()->deref(); |
240 } | 240 } |
241 | 241 |
242 } // namespace blink | 242 } // namespace blink |
OLD | NEW |