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 "V8TestInterfaceEmpty.h" | 8 #include "V8TestInterfaceEmpty.h" |
9 | 9 |
10 #include "bindings/core/v8/ExceptionState.h" | 10 #include "bindings/core/v8/ExceptionState.h" |
(...skipping 13 matching lines...) Expand all Loading... |
24 | 24 |
25 // This static member must be declared by DEFINE_WRAPPERTYPEINFO in TestInterfac
eEmpty.h. | 25 // This static member must be declared by DEFINE_WRAPPERTYPEINFO in TestInterfac
eEmpty.h. |
26 // For details, see the comment of DEFINE_WRAPPERTYPEINFO in | 26 // For details, see the comment of DEFINE_WRAPPERTYPEINFO in |
27 // bindings/core/v8/ScriptWrappable.h. | 27 // bindings/core/v8/ScriptWrappable.h. |
28 const WrapperTypeInfo& TestInterfaceEmpty::s_wrapperTypeInfo = V8TestInterfaceEm
pty::wrapperTypeInfo; | 28 const WrapperTypeInfo& TestInterfaceEmpty::s_wrapperTypeInfo = V8TestInterfaceEm
pty::wrapperTypeInfo; |
29 | 29 |
30 namespace TestInterfaceEmptyV8Internal { | 30 namespace TestInterfaceEmptyV8Internal { |
31 | 31 |
32 } // namespace TestInterfaceEmptyV8Internal | 32 } // namespace TestInterfaceEmptyV8Internal |
33 | 33 |
34 static void installV8TestInterfaceEmptyTemplate(v8::Handle<v8::FunctionTemplate>
functionTemplate, v8::Isolate* isolate) | 34 static void installV8TestInterfaceEmptyTemplate(v8::Local<v8::FunctionTemplate>
functionTemplate, v8::Isolate* isolate) |
35 { | 35 { |
36 functionTemplate->ReadOnlyPrototype(); | 36 functionTemplate->ReadOnlyPrototype(); |
37 | 37 |
38 v8::Local<v8::Signature> defaultSignature; | 38 v8::Local<v8::Signature> defaultSignature; |
39 defaultSignature = V8DOMConfiguration::installDOMClassTemplate(isolate, func
tionTemplate, "TestInterfaceEmpty", v8::Local<v8::FunctionTemplate>(), V8TestInt
erfaceEmpty::internalFieldCount, | 39 defaultSignature = V8DOMConfiguration::installDOMClassTemplate(isolate, func
tionTemplate, "TestInterfaceEmpty", v8::Local<v8::FunctionTemplate>(), V8TestInt
erfaceEmpty::internalFieldCount, |
40 0, 0, | 40 0, 0, |
41 0, 0, | 41 0, 0, |
42 0, 0); | 42 0, 0); |
43 v8::Local<v8::ObjectTemplate> instanceTemplate = functionTemplate->InstanceT
emplate(); | 43 v8::Local<v8::ObjectTemplate> instanceTemplate = functionTemplate->InstanceT
emplate(); |
44 ALLOW_UNUSED_LOCAL(instanceTemplate); | 44 ALLOW_UNUSED_LOCAL(instanceTemplate); |
(...skipping 28 matching lines...) Expand all Loading... |
73 { | 73 { |
74 scriptWrappable->toImpl<TestInterfaceEmpty>()->ref(); | 74 scriptWrappable->toImpl<TestInterfaceEmpty>()->ref(); |
75 } | 75 } |
76 | 76 |
77 void V8TestInterfaceEmpty::derefObject(ScriptWrappable* scriptWrappable) | 77 void V8TestInterfaceEmpty::derefObject(ScriptWrappable* scriptWrappable) |
78 { | 78 { |
79 scriptWrappable->toImpl<TestInterfaceEmpty>()->deref(); | 79 scriptWrappable->toImpl<TestInterfaceEmpty>()->deref(); |
80 } | 80 } |
81 | 81 |
82 } // namespace blink | 82 } // namespace blink |
OLD | NEW |