| 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 "RuntimeEnabledFeatures.h" | 10 #include "RuntimeEnabledFeatures.h" |
| (...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 253 exceptionState.throwIfNeeded(); | 253 exceptionState.throwIfNeeded(); |
| 254 return; | 254 return; |
| 255 } | 255 } |
| 256 options.get("initializedByEventConstructorReadonlyAnyAttribute", initial
izedByEventConstructorReadonlyAnyAttribute); | 256 options.get("initializedByEventConstructorReadonlyAnyAttribute", initial
izedByEventConstructorReadonlyAnyAttribute); |
| 257 if (!initializedByEventConstructorReadonlyAnyAttribute.IsEmpty()) | 257 if (!initializedByEventConstructorReadonlyAnyAttribute.IsEmpty()) |
| 258 V8HiddenValue::setHiddenValue(isolate, info.Holder(), v8AtomicString
(isolate, "initializedByEventConstructorReadonlyAnyAttribute"), initializedByEve
ntConstructorReadonlyAnyAttribute); | 258 V8HiddenValue::setHiddenValue(isolate, info.Holder(), v8AtomicString
(isolate, "initializedByEventConstructorReadonlyAnyAttribute"), initializedByEve
ntConstructorReadonlyAnyAttribute); |
| 259 } | 259 } |
| 260 RefPtr<TestInterfaceEventConstructor> event = TestInterfaceEventConstructor:
:create(type, eventInit, exceptionState); | 260 RefPtr<TestInterfaceEventConstructor> event = TestInterfaceEventConstructor:
:create(type, eventInit, exceptionState); |
| 261 if (exceptionState.throwIfNeeded()) | 261 if (exceptionState.throwIfNeeded()) |
| 262 return; | 262 return; |
| 263 if (DOMWrapperWorld::current(isolate)->isIsolatedWorld()) { | 263 if (DOMWrapperWorld::current(isolate).isIsolatedWorld()) { |
| 264 if (!initializedByEventConstructorReadonlyAnyAttribute.IsEmpty()) | 264 if (!initializedByEventConstructorReadonlyAnyAttribute.IsEmpty()) |
| 265 event->setSerializedInitializedByEventConstructorReadonlyAnyAttribut
e(SerializedScriptValue::createAndSwallowExceptions(initializedByEventConstructo
rReadonlyAnyAttribute, isolate)); | 265 event->setSerializedInitializedByEventConstructorReadonlyAnyAttribut
e(SerializedScriptValue::createAndSwallowExceptions(initializedByEventConstructo
rReadonlyAnyAttribute, isolate)); |
| 266 } | 266 } |
| 267 | 267 |
| 268 v8::Handle<v8::Object> wrapper = info.Holder(); | 268 v8::Handle<v8::Object> wrapper = info.Holder(); |
| 269 V8DOMWrapper::associateObjectWithWrapper<V8TestInterfaceEventConstructor>(ev
ent.release(), &V8TestInterfaceEventConstructor::wrapperTypeInfo, wrapper, isola
te, WrapperConfiguration::Independent); | 269 V8DOMWrapper::associateObjectWithWrapper<V8TestInterfaceEventConstructor>(ev
ent.release(), &V8TestInterfaceEventConstructor::wrapperTypeInfo, wrapper, isola
te, WrapperConfiguration::Independent); |
| 270 v8SetReturnValue(info, wrapper); | 270 v8SetReturnValue(info, wrapper); |
| 271 } | 271 } |
| 272 | 272 |
| 273 } // namespace TestInterfaceEventConstructorV8Internal | 273 } // namespace TestInterfaceEventConstructorV8Internal |
| (...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 413 fromInternalPointer(object)->deref(); | 413 fromInternalPointer(object)->deref(); |
| 414 } | 414 } |
| 415 | 415 |
| 416 template<> | 416 template<> |
| 417 v8::Handle<v8::Value> toV8NoInline(TestInterfaceEventConstructor* impl, v8::Hand
le<v8::Object> creationContext, v8::Isolate* isolate) | 417 v8::Handle<v8::Value> toV8NoInline(TestInterfaceEventConstructor* impl, v8::Hand
le<v8::Object> creationContext, v8::Isolate* isolate) |
| 418 { | 418 { |
| 419 return toV8(impl, creationContext, isolate); | 419 return toV8(impl, creationContext, isolate); |
| 420 } | 420 } |
| 421 | 421 |
| 422 } // namespace WebCore | 422 } // namespace WebCore |
| OLD | NEW |