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 "V8TestInterfaceEventConstructor.h" | 8 #include "V8TestInterfaceEventConstructor.h" |
9 | 9 |
10 #include "bindings/core/v8/Dictionary.h" | 10 #include "bindings/core/v8/Dictionary.h" |
(...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
251 } | 251 } |
252 RefPtrWillBeRawPtr<TestInterfaceEventConstructor> event = TestInterfaceEvent
Constructor::create(type, eventInit, exceptionState); | 252 RefPtrWillBeRawPtr<TestInterfaceEventConstructor> event = TestInterfaceEvent
Constructor::create(type, eventInit, exceptionState); |
253 if (exceptionState.throwIfNeeded()) | 253 if (exceptionState.throwIfNeeded()) |
254 return; | 254 return; |
255 if (DOMWrapperWorld::current(info.GetIsolate()).isIsolatedWorld()) { | 255 if (DOMWrapperWorld::current(info.GetIsolate()).isIsolatedWorld()) { |
256 if (!initializedByEventConstructorReadonlyAnyAttribute.IsEmpty()) | 256 if (!initializedByEventConstructorReadonlyAnyAttribute.IsEmpty()) |
257 event->setSerializedInitializedByEventConstructorReadonlyAnyAttribut
e(SerializedScriptValue::createAndSwallowExceptions(info.GetIsolate(), initializ
edByEventConstructorReadonlyAnyAttribute)); | 257 event->setSerializedInitializedByEventConstructorReadonlyAnyAttribut
e(SerializedScriptValue::createAndSwallowExceptions(info.GetIsolate(), initializ
edByEventConstructorReadonlyAnyAttribute)); |
258 } | 258 } |
259 | 259 |
260 v8::Handle<v8::Object> wrapper = info.Holder(); | 260 v8::Handle<v8::Object> wrapper = info.Holder(); |
261 event->associateWithWrapper(&V8TestInterfaceEventConstructor::wrapperTypeInf
o, wrapper, info.GetIsolate()); | 261 event->associateWithWrapper(info.GetIsolate(), &V8TestInterfaceEventConstruc
tor::wrapperTypeInfo, wrapper); |
262 v8SetReturnValue(info, wrapper); | 262 v8SetReturnValue(info, wrapper); |
263 } | 263 } |
264 | 264 |
265 } // namespace TestInterfaceEventConstructorV8Internal | 265 } // namespace TestInterfaceEventConstructorV8Internal |
266 | 266 |
267 static const V8DOMConfiguration::AttributeConfiguration V8TestInterfaceEventCons
tructorAttributes[] = { | 267 static const V8DOMConfiguration::AttributeConfiguration V8TestInterfaceEventCons
tructorAttributes[] = { |
268 {"readonlyStringAttribute", TestInterfaceEventConstructorV8Internal::readonl
yStringAttributeAttributeGetterCallback, 0, 0, 0, 0, static_cast<v8::AccessContr
ol>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfigurati
on::ExposedToAllScripts, V8DOMConfiguration::OnInstance}, | 268 {"readonlyStringAttribute", TestInterfaceEventConstructorV8Internal::readonl
yStringAttributeAttributeGetterCallback, 0, 0, 0, 0, static_cast<v8::AccessContr
ol>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfigurati
on::ExposedToAllScripts, V8DOMConfiguration::OnInstance}, |
269 {"initializedByEventConstructorReadonlyStringAttribute", TestInterfaceEventC
onstructorV8Internal::initializedByEventConstructorReadonlyStringAttributeAttrib
uteGetterCallback, 0, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), stat
ic_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScript
s, V8DOMConfiguration::OnInstance}, | 269 {"initializedByEventConstructorReadonlyStringAttribute", TestInterfaceEventC
onstructorV8Internal::initializedByEventConstructorReadonlyStringAttributeAttrib
uteGetterCallback, 0, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), stat
ic_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScript
s, V8DOMConfiguration::OnInstance}, |
270 {"initializedByEventConstructorReadonlyAnyAttribute", TestInterfaceEventCons
tructorV8Internal::initializedByEventConstructorReadonlyAnyAttributeAttributeGet
terCallback, 0, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cas
t<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScripts, V8D
OMConfiguration::OnInstance}, | 270 {"initializedByEventConstructorReadonlyAnyAttribute", TestInterfaceEventCons
tructorV8Internal::initializedByEventConstructorReadonlyAnyAttributeAttributeGet
terCallback, 0, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cas
t<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScripts, V8D
OMConfiguration::OnInstance}, |
271 {"initializedByEventConstructorReadonlyBooleanAttribute", TestInterfaceEvent
ConstructorV8Internal::initializedByEventConstructorReadonlyBooleanAttributeAttr
ibuteGetterCallback, 0, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), st
atic_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScri
pts, V8DOMConfiguration::OnInstance}, | 271 {"initializedByEventConstructorReadonlyBooleanAttribute", TestInterfaceEvent
ConstructorV8Internal::initializedByEventConstructorReadonlyBooleanAttributeAttr
ibuteGetterCallback, 0, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), st
atic_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScri
pts, V8DOMConfiguration::OnInstance}, |
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
387 #endif | 387 #endif |
388 } | 388 } |
389 | 389 |
390 template<> | 390 template<> |
391 v8::Handle<v8::Value> toV8NoInline(TestInterfaceEventConstructor* impl, v8::Hand
le<v8::Object> creationContext, v8::Isolate* isolate) | 391 v8::Handle<v8::Value> toV8NoInline(TestInterfaceEventConstructor* impl, v8::Hand
le<v8::Object> creationContext, v8::Isolate* isolate) |
392 { | 392 { |
393 return toV8(impl, creationContext, isolate); | 393 return toV8(impl, creationContext, isolate); |
394 } | 394 } |
395 | 395 |
396 } // namespace blink | 396 } // namespace blink |
OLD | NEW |