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 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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::Handle<v8::Fu
nctionTemplate> 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(functionTempl
ate, "TestInterfaceEventInitConstructor", V8Event::domTemplate(isolate), V8TestI
nterfaceEventInitConstructor::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 isolate); | |
105 functionTemplate->SetCallHandler(V8TestInterfaceEventInitConstructor::constr
uctorCallback); | 104 functionTemplate->SetCallHandler(V8TestInterfaceEventInitConstructor::constr
uctorCallback); |
106 functionTemplate->SetLength(2); | 105 functionTemplate->SetLength(2); |
107 v8::Local<v8::ObjectTemplate> instanceTemplate = functionTemplate->InstanceT
emplate(); | 106 v8::Local<v8::ObjectTemplate> instanceTemplate = functionTemplate->InstanceT
emplate(); |
108 ALLOW_UNUSED_LOCAL(instanceTemplate); | 107 ALLOW_UNUSED_LOCAL(instanceTemplate); |
109 v8::Local<v8::ObjectTemplate> prototypeTemplate = functionTemplate->Prototyp
eTemplate(); | 108 v8::Local<v8::ObjectTemplate> prototypeTemplate = functionTemplate->Prototyp
eTemplate(); |
110 ALLOW_UNUSED_LOCAL(prototypeTemplate); | 109 ALLOW_UNUSED_LOCAL(prototypeTemplate); |
111 | 110 |
112 // Custom toString template | 111 // Custom toString template |
113 functionTemplate->Set(v8AtomicString(isolate, "toString"), V8PerIsolateData:
:from(isolate)->toStringTemplate()); | 112 functionTemplate->Set(v8AtomicString(isolate, "toString"), V8PerIsolateData:
:from(isolate)->toStringTemplate()); |
114 } | 113 } |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
147 #endif | 146 #endif |
148 } | 147 } |
149 | 148 |
150 template<> | 149 template<> |
151 v8::Handle<v8::Value> toV8NoInline(TestInterfaceEventInitConstructor* impl, v8::
Handle<v8::Object> creationContext, v8::Isolate* isolate) | 150 v8::Handle<v8::Value> toV8NoInline(TestInterfaceEventInitConstructor* impl, v8::
Handle<v8::Object> creationContext, v8::Isolate* isolate) |
152 { | 151 { |
153 return toV8(impl, creationContext, isolate); | 152 return toV8(impl, creationContext, isolate); |
154 } | 153 } |
155 | 154 |
156 } // namespace blink | 155 } // namespace blink |
OLD | NEW |