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 "V8TestInterfaceConstructor4.h" | 8 #include "V8TestInterfaceConstructor4.h" |
9 | 9 |
10 #include "bindings/core/v8/ExceptionState.h" | 10 #include "bindings/core/v8/ExceptionState.h" |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
90 } | 90 } |
91 | 91 |
92 if (ConstructorMode::current(info.GetIsolate()) == ConstructorMode::WrapExis
tingObject) { | 92 if (ConstructorMode::current(info.GetIsolate()) == ConstructorMode::WrapExis
tingObject) { |
93 v8SetReturnValue(info, info.Holder()); | 93 v8SetReturnValue(info, info.Holder()); |
94 return; | 94 return; |
95 } | 95 } |
96 | 96 |
97 TestInterfaceConstructor4V8Internal::constructor(info); | 97 TestInterfaceConstructor4V8Internal::constructor(info); |
98 } | 98 } |
99 | 99 |
100 static void installV8TestInterfaceConstructor4Template(v8::Handle<v8::FunctionTe
mplate> functionTemplate, v8::Isolate* isolate) | 100 static void installV8TestInterfaceConstructor4Template(v8::Local<v8::FunctionTem
plate> functionTemplate, v8::Isolate* isolate) |
101 { | 101 { |
102 functionTemplate->ReadOnlyPrototype(); | 102 functionTemplate->ReadOnlyPrototype(); |
103 | 103 |
104 v8::Local<v8::Signature> defaultSignature; | 104 v8::Local<v8::Signature> defaultSignature; |
105 defaultSignature = V8DOMConfiguration::installDOMClassTemplate(isolate, func
tionTemplate, "TestInterfaceConstructor4", v8::Local<v8::FunctionTemplate>(), V8
TestInterfaceConstructor4::internalFieldCount, | 105 defaultSignature = V8DOMConfiguration::installDOMClassTemplate(isolate, func
tionTemplate, "TestInterfaceConstructor4", v8::Local<v8::FunctionTemplate>(), V8
TestInterfaceConstructor4::internalFieldCount, |
106 0, 0, | 106 0, 0, |
107 0, 0, | 107 0, 0, |
108 0, 0); | 108 0, 0); |
109 functionTemplate->SetCallHandler(V8TestInterfaceConstructor4::constructorCal
lback); | 109 functionTemplate->SetCallHandler(V8TestInterfaceConstructor4::constructorCal
lback); |
110 functionTemplate->SetLength(1); | 110 functionTemplate->SetLength(1); |
(...skipping 30 matching lines...) Expand all Loading... |
141 { | 141 { |
142 scriptWrappable->toImpl<TestInterfaceConstructor4>()->ref(); | 142 scriptWrappable->toImpl<TestInterfaceConstructor4>()->ref(); |
143 } | 143 } |
144 | 144 |
145 void V8TestInterfaceConstructor4::derefObject(ScriptWrappable* scriptWrappable) | 145 void V8TestInterfaceConstructor4::derefObject(ScriptWrappable* scriptWrappable) |
146 { | 146 { |
147 scriptWrappable->toImpl<TestInterfaceConstructor4>()->deref(); | 147 scriptWrappable->toImpl<TestInterfaceConstructor4>()->deref(); |
148 } | 148 } |
149 | 149 |
150 } // namespace blink | 150 } // namespace blink |
OLD | NEW |