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 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
78 } | 78 } |
79 RefPtrWillBeRawPtr<TestInterfaceEventInitConstructor> impl = TestInterfaceEv
entInitConstructor::create(type, testInterfaceEventInit); | 79 RefPtrWillBeRawPtr<TestInterfaceEventInitConstructor> impl = TestInterfaceEv
entInitConstructor::create(type, testInterfaceEventInit); |
80 v8::Local<v8::Object> wrapper = info.Holder(); | 80 v8::Local<v8::Object> wrapper = info.Holder(); |
81 impl->associateWithWrapper(info.GetIsolate(), &V8TestInterfaceEventInitConst
ructor::wrapperTypeInfo, wrapper); | 81 impl->associateWithWrapper(info.GetIsolate(), &V8TestInterfaceEventInitConst
ructor::wrapperTypeInfo, wrapper); |
82 v8SetReturnValue(info, wrapper); | 82 v8SetReturnValue(info, wrapper); |
83 } | 83 } |
84 | 84 |
85 } // namespace TestInterfaceEventInitConstructorV8Internal | 85 } // namespace TestInterfaceEventInitConstructorV8Internal |
86 | 86 |
87 static const V8DOMConfiguration::AccessorConfiguration V8TestInterfaceEventInitC
onstructorAccessors[] = { | 87 static const V8DOMConfiguration::AccessorConfiguration V8TestInterfaceEventInitC
onstructorAccessors[] = { |
88 {"readonlyStringAttribute", TestInterfaceEventInitConstructorV8Internal::rea
donlyStringAttributeAttributeGetterCallback, 0, 0, 0, 0, v8::DEFAULT, static_cas
t<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScripts, V8D
OMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder}, | 88 {"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::OnPrototype, V8DOMConfiguration
::CheckHolder}, |
89 }; | 89 }; |
90 | 90 |
91 void V8TestInterfaceEventInitConstructor::constructorCallback(const v8::Function
CallbackInfo<v8::Value>& info) | 91 void V8TestInterfaceEventInitConstructor::constructorCallback(const v8::Function
CallbackInfo<v8::Value>& info) |
92 { | 92 { |
93 TRACE_EVENT_SCOPED_SAMPLING_STATE("blink", "DOMConstructor"); | 93 TRACE_EVENT_SCOPED_SAMPLING_STATE("blink", "DOMConstructor"); |
94 if (!info.IsConstructCall()) { | 94 if (!info.IsConstructCall()) { |
95 V8ThrowException::throwTypeError(info.GetIsolate(), ExceptionMessages::c
onstructorNotCallableAsFunction("TestInterfaceEventInitConstructor")); | 95 V8ThrowException::throwTypeError(info.GetIsolate(), ExceptionMessages::c
onstructorNotCallableAsFunction("TestInterfaceEventInitConstructor")); |
96 return; | 96 return; |
97 } | 97 } |
98 | 98 |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
152 } | 152 } |
153 | 153 |
154 void V8TestInterfaceEventInitConstructor::derefObject(ScriptWrappable* scriptWra
ppable) | 154 void V8TestInterfaceEventInitConstructor::derefObject(ScriptWrappable* scriptWra
ppable) |
155 { | 155 { |
156 #if !ENABLE(OILPAN) | 156 #if !ENABLE(OILPAN) |
157 scriptWrappable->toImpl<TestInterfaceEventInitConstructor>()->deref(); | 157 scriptWrappable->toImpl<TestInterfaceEventInitConstructor>()->deref(); |
158 #endif | 158 #endif |
159 } | 159 } |
160 | 160 |
161 } // namespace blink | 161 } // namespace blink |
OLD | NEW |