| 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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 69 } | 69 } |
| 70 RefPtrWillBeRawPtr<TestInterfaceEventInitConstructor> impl = TestInterfaceEv
entInitConstructor::create(type, testInterfaceEventInit); | 70 RefPtrWillBeRawPtr<TestInterfaceEventInitConstructor> impl = TestInterfaceEv
entInitConstructor::create(type, testInterfaceEventInit); |
| 71 v8::Local<v8::Object> wrapper = info.Holder(); | 71 v8::Local<v8::Object> wrapper = info.Holder(); |
| 72 impl->associateWithWrapper(info.GetIsolate(), &V8TestInterfaceEventInitConst
ructor::wrapperTypeInfo, wrapper); | 72 impl->associateWithWrapper(info.GetIsolate(), &V8TestInterfaceEventInitConst
ructor::wrapperTypeInfo, wrapper); |
| 73 v8SetReturnValue(info, wrapper); | 73 v8SetReturnValue(info, wrapper); |
| 74 } | 74 } |
| 75 | 75 |
| 76 } // namespace TestInterfaceEventInitConstructorV8Internal | 76 } // namespace TestInterfaceEventInitConstructorV8Internal |
| 77 | 77 |
| 78 static const V8DOMConfiguration::AccessorConfiguration V8TestInterfaceEventInitC
onstructorAccessors[] = { | 78 static const V8DOMConfiguration::AccessorConfiguration V8TestInterfaceEventInitC
onstructorAccessors[] = { |
| 79 {"readonlyStringAttribute", TestInterfaceEventInitConstructorV8Internal::rea
donlyStringAttributeAttributeGetterCallback, 0, 0, 0, 0, static_cast<v8::AccessC
ontrol>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfigu
ration::ExposedToAllScripts}, | 79 {"readonlyStringAttribute", TestInterfaceEventInitConstructorV8Internal::rea
donlyStringAttributeAttributeGetterCallback, 0, 0, 0, 0, static_cast<v8::AccessC
ontrol>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfigu
ration::ExposedToAllScripts, V8DOMConfiguration::CheckHolder}, |
| 80 }; | 80 }; |
| 81 | 81 |
| 82 void V8TestInterfaceEventInitConstructor::constructorCallback(const v8::Function
CallbackInfo<v8::Value>& info) | 82 void V8TestInterfaceEventInitConstructor::constructorCallback(const v8::Function
CallbackInfo<v8::Value>& info) |
| 83 { | 83 { |
| 84 TRACE_EVENT_SCOPED_SAMPLING_STATE("blink", "DOMConstructor"); | 84 TRACE_EVENT_SCOPED_SAMPLING_STATE("blink", "DOMConstructor"); |
| 85 if (!info.IsConstructCall()) { | 85 if (!info.IsConstructCall()) { |
| 86 V8ThrowException::throwTypeError(info.GetIsolate(), ExceptionMessages::c
onstructorNotCallableAsFunction("TestInterfaceEventInitConstructor")); | 86 V8ThrowException::throwTypeError(info.GetIsolate(), ExceptionMessages::c
onstructorNotCallableAsFunction("TestInterfaceEventInitConstructor")); |
| 87 return; | 87 return; |
| 88 } | 88 } |
| 89 | 89 |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 143 } | 143 } |
| 144 | 144 |
| 145 void V8TestInterfaceEventInitConstructor::derefObject(ScriptWrappable* scriptWra
ppable) | 145 void V8TestInterfaceEventInitConstructor::derefObject(ScriptWrappable* scriptWra
ppable) |
| 146 { | 146 { |
| 147 #if !ENABLE(OILPAN) | 147 #if !ENABLE(OILPAN) |
| 148 scriptWrappable->toImpl<TestInterfaceEventInitConstructor>()->deref(); | 148 scriptWrappable->toImpl<TestInterfaceEventInitConstructor>()->deref(); |
| 149 #endif | 149 #endif |
| 150 } | 150 } |
| 151 | 151 |
| 152 } // namespace blink | 152 } // namespace blink |
| OLD | NEW |