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 "V8TestInterfaceConstructor.h" | 8 #include "V8TestInterfaceConstructor.h" |
9 | 9 |
10 #include "bindings/core/v8/Dictionary.h" | 10 #include "bindings/core/v8/Dictionary.h" |
(...skipping 283 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
294 } | 294 } |
295 | 295 |
296 if (ConstructorMode::current(info.GetIsolate()) == ConstructorMode::WrapExis
tingObject) { | 296 if (ConstructorMode::current(info.GetIsolate()) == ConstructorMode::WrapExis
tingObject) { |
297 v8SetReturnValue(info, info.Holder()); | 297 v8SetReturnValue(info, info.Holder()); |
298 return; | 298 return; |
299 } | 299 } |
300 | 300 |
301 TestInterfaceConstructorV8Internal::constructor(info); | 301 TestInterfaceConstructorV8Internal::constructor(info); |
302 } | 302 } |
303 | 303 |
304 static void installV8TestInterfaceConstructorTemplate(v8::Handle<v8::FunctionTem
plate> functionTemplate, v8::Isolate* isolate) | 304 static void installV8TestInterfaceConstructorTemplate(v8::Local<v8::FunctionTemp
late> functionTemplate, v8::Isolate* isolate) |
305 { | 305 { |
306 functionTemplate->ReadOnlyPrototype(); | 306 functionTemplate->ReadOnlyPrototype(); |
307 | 307 |
308 v8::Local<v8::Signature> defaultSignature; | 308 v8::Local<v8::Signature> defaultSignature; |
309 defaultSignature = V8DOMConfiguration::installDOMClassTemplate(isolate, func
tionTemplate, "TestInterfaceConstructor", v8::Local<v8::FunctionTemplate>(), V8T
estInterfaceConstructor::internalFieldCount, | 309 defaultSignature = V8DOMConfiguration::installDOMClassTemplate(isolate, func
tionTemplate, "TestInterfaceConstructor", v8::Local<v8::FunctionTemplate>(), V8T
estInterfaceConstructor::internalFieldCount, |
310 0, 0, | 310 0, 0, |
311 0, 0, | 311 0, 0, |
312 0, 0); | 312 0, 0); |
313 functionTemplate->SetCallHandler(V8TestInterfaceConstructor::constructorCall
back); | 313 functionTemplate->SetCallHandler(V8TestInterfaceConstructor::constructorCall
back); |
314 functionTemplate->SetLength(0); | 314 functionTemplate->SetLength(0); |
(...skipping 30 matching lines...) Expand all Loading... |
345 { | 345 { |
346 scriptWrappable->toImpl<TestInterfaceConstructor>()->ref(); | 346 scriptWrappable->toImpl<TestInterfaceConstructor>()->ref(); |
347 } | 347 } |
348 | 348 |
349 void V8TestInterfaceConstructor::derefObject(ScriptWrappable* scriptWrappable) | 349 void V8TestInterfaceConstructor::derefObject(ScriptWrappable* scriptWrappable) |
350 { | 350 { |
351 scriptWrappable->toImpl<TestInterfaceConstructor>()->deref(); | 351 scriptWrappable->toImpl<TestInterfaceConstructor>()->deref(); |
352 } | 352 } |
353 | 353 |
354 } // namespace blink | 354 } // namespace blink |
OLD | NEW |