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 236 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
247 } | 247 } |
248 options.get("initializedByEventConstructorReadonlyAnyAttribute", initial
izedByEventConstructorReadonlyAnyAttribute); | 248 options.get("initializedByEventConstructorReadonlyAnyAttribute", initial
izedByEventConstructorReadonlyAnyAttribute); |
249 if (!initializedByEventConstructorReadonlyAnyAttribute.IsEmpty()) | 249 if (!initializedByEventConstructorReadonlyAnyAttribute.IsEmpty()) |
250 V8HiddenValue::setHiddenValue(info.GetIsolate(), info.Holder(), v8At
omicString(info.GetIsolate(), "initializedByEventConstructorReadonlyAnyAttribute
"), initializedByEventConstructorReadonlyAnyAttribute); | 250 V8HiddenValue::setHiddenValue(info.GetIsolate(), info.Holder(), v8At
omicString(info.GetIsolate(), "initializedByEventConstructorReadonlyAnyAttribute
"), initializedByEventConstructorReadonlyAnyAttribute); |
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(initializedByEventConstructo
rReadonlyAnyAttribute, info.GetIsolate())); | 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(&V8TestInterfaceEventConstructor::wrapperTypeInf
o, wrapper, info.GetIsolate()); |
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[] = { |
(...skipping 119 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 |