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 "V8TestInterfaceEventInitConstructor.h" | 8 #include "V8TestInterfaceEventInitConstructor.h" |
9 | 9 |
10 #include "bindings/core/v8/ExceptionState.h" | 10 #include "bindings/core/v8/ExceptionState.h" |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
85 } | 85 } |
86 | 86 |
87 if (ConstructorMode::current(info.GetIsolate()) == ConstructorMode::WrapExis
tingObject) { | 87 if (ConstructorMode::current(info.GetIsolate()) == ConstructorMode::WrapExis
tingObject) { |
88 v8SetReturnValue(info, info.Holder()); | 88 v8SetReturnValue(info, info.Holder()); |
89 return; | 89 return; |
90 } | 90 } |
91 | 91 |
92 TestInterfaceEventInitConstructorV8Internal::constructor(info); | 92 TestInterfaceEventInitConstructorV8Internal::constructor(info); |
93 } | 93 } |
94 | 94 |
95 static void installV8TestInterfaceEventInitConstructorTemplate(v8::Handle<v8::Fu
nctionTemplate> functionTemplate, v8::Isolate* isolate) | 95 static void installV8TestInterfaceEventInitConstructorTemplate(v8::Local<v8::Fun
ctionTemplate> functionTemplate, v8::Isolate* isolate) |
96 { | 96 { |
97 functionTemplate->ReadOnlyPrototype(); | 97 functionTemplate->ReadOnlyPrototype(); |
98 | 98 |
99 v8::Local<v8::Signature> defaultSignature; | 99 v8::Local<v8::Signature> defaultSignature; |
100 defaultSignature = V8DOMConfiguration::installDOMClassTemplate(isolate, func
tionTemplate, "TestInterfaceEventInitConstructor", V8Event::domTemplate(isolate)
, V8TestInterfaceEventInitConstructor::internalFieldCount, | 100 defaultSignature = V8DOMConfiguration::installDOMClassTemplate(isolate, func
tionTemplate, "TestInterfaceEventInitConstructor", V8Event::domTemplate(isolate)
, V8TestInterfaceEventInitConstructor::internalFieldCount, |
101 V8TestInterfaceEventInitConstructorAttributes, WTF_ARRAY_LENGTH(V8TestIn
terfaceEventInitConstructorAttributes), | 101 V8TestInterfaceEventInitConstructorAttributes, WTF_ARRAY_LENGTH(V8TestIn
terfaceEventInitConstructorAttributes), |
102 0, 0, | 102 0, 0, |
103 0, 0); | 103 0, 0); |
104 functionTemplate->SetCallHandler(V8TestInterfaceEventInitConstructor::constr
uctorCallback); | 104 functionTemplate->SetCallHandler(V8TestInterfaceEventInitConstructor::constr
uctorCallback); |
105 functionTemplate->SetLength(2); | 105 functionTemplate->SetLength(2); |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
140 } | 140 } |
141 | 141 |
142 void V8TestInterfaceEventInitConstructor::derefObject(ScriptWrappable* scriptWra
ppable) | 142 void V8TestInterfaceEventInitConstructor::derefObject(ScriptWrappable* scriptWra
ppable) |
143 { | 143 { |
144 #if !ENABLE(OILPAN) | 144 #if !ENABLE(OILPAN) |
145 scriptWrappable->toImpl<TestInterfaceEventInitConstructor>()->deref(); | 145 scriptWrappable->toImpl<TestInterfaceEventInitConstructor>()->deref(); |
146 #endif | 146 #endif |
147 } | 147 } |
148 | 148 |
149 } // namespace blink | 149 } // namespace blink |
OLD | NEW |