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 "V8TestInterfaceEventInitConstructor.h" | 7 #include "V8TestInterfaceEventInitConstructor.h" |
8 | 8 |
9 #include "bindings/core/v8/ExceptionState.h" | 9 #include "bindings/core/v8/ExceptionState.h" |
10 #include "bindings/core/v8/V8DOMConfiguration.h" | 10 #include "bindings/core/v8/V8DOMConfiguration.h" |
11 #include "bindings/core/v8/V8ObjectConstructor.h" | 11 #include "bindings/core/v8/V8ObjectConstructor.h" |
12 #include "bindings/core/v8/V8TestInterfaceEventInit.h" | 12 #include "bindings/core/v8/V8TestInterfaceEventInit.h" |
13 #include "core/dom/Document.h" | 13 #include "core/dom/Document.h" |
14 #include "core/frame/LocalDOMWindow.h" | 14 #include "core/frame/LocalDOMWindow.h" |
15 #include "platform/RuntimeEnabledFeatures.h" | 15 #include "platform/RuntimeEnabledFeatures.h" |
16 #include "wtf/GetPtr.h" | 16 #include "wtf/GetPtr.h" |
17 #include "wtf/RefPtr.h" | 17 #include "wtf/RefPtr.h" |
18 | 18 |
19 namespace blink { | 19 namespace blink { |
20 | 20 |
21 // Suppress warning: global constructors, because struct WrapperTypeInfo is triv
ial | 21 // Suppress warning: global constructors, because struct WrapperTypeInfo is triv
ial |
22 // and does not depend on another global objects. | 22 // and does not depend on another global objects. |
23 #if defined(COMPONENT_BUILD) && defined(WIN32) && COMPILER(CLANG) | 23 #if defined(COMPONENT_BUILD) && defined(WIN32) && COMPILER(CLANG) |
24 #pragma clang diagnostic push | 24 #pragma clang diagnostic push |
25 #pragma clang diagnostic ignored "-Wglobal-constructors" | 25 #pragma clang diagnostic ignored "-Wglobal-constructors" |
26 #endif | 26 #endif |
27 const WrapperTypeInfo V8TestInterfaceEventInitConstructor::wrapperTypeInfo = { g
in::kEmbedderBlink, V8TestInterfaceEventInitConstructor::domTemplate, V8TestInte
rfaceEventInitConstructor::refObject, V8TestInterfaceEventInitConstructor::deref
Object, V8TestInterfaceEventInitConstructor::trace, 0, V8TestInterfaceEventInitC
onstructor::preparePrototypeAndInterfaceObject, V8TestInterfaceEventInitConstruc
tor::installConditionallyEnabledProperties, "TestInterfaceEventInitConstructor",
&V8Event::wrapperTypeInfo, WrapperTypeInfo::WrapperTypeObjectPrototype, Wrapper
TypeInfo::ObjectClassId, WrapperTypeInfo::NotInheritFromEventTarget, WrapperType
Info::Independent, WrapperTypeInfo::WillBeGarbageCollectedObject }; | 27 const WrapperTypeInfo V8TestInterfaceEventInitConstructor::wrapperTypeInfo = { g
in::kEmbedderBlink, V8TestInterfaceEventInitConstructor::domTemplate, V8TestInte
rfaceEventInitConstructor::refObject, V8TestInterfaceEventInitConstructor::deref
Object, V8TestInterfaceEventInitConstructor::trace, 0, 0, V8TestInterfaceEventIn
itConstructor::preparePrototypeAndInterfaceObject, V8TestInterfaceEventInitConst
ructor::installConditionallyEnabledProperties, "TestInterfaceEventInitConstructo
r", &V8Event::wrapperTypeInfo, WrapperTypeInfo::WrapperTypeObjectPrototype, Wrap
perTypeInfo::ObjectClassId, WrapperTypeInfo::NotInheritFromEventTarget, WrapperT
ypeInfo::Independent, WrapperTypeInfo::WillBeGarbageCollectedObject }; |
28 #if defined(COMPONENT_BUILD) && defined(WIN32) && COMPILER(CLANG) | 28 #if defined(COMPONENT_BUILD) && defined(WIN32) && COMPILER(CLANG) |
29 #pragma clang diagnostic pop | 29 #pragma clang diagnostic pop |
30 #endif | 30 #endif |
31 | 31 |
32 // This static member must be declared by DEFINE_WRAPPERTYPEINFO in TestInterfac
eEventInitConstructor.h. | 32 // This static member must be declared by DEFINE_WRAPPERTYPEINFO in TestInterfac
eEventInitConstructor.h. |
33 // For details, see the comment of DEFINE_WRAPPERTYPEINFO in | 33 // For details, see the comment of DEFINE_WRAPPERTYPEINFO in |
34 // bindings/core/v8/ScriptWrappable.h. | 34 // bindings/core/v8/ScriptWrappable.h. |
35 const WrapperTypeInfo& TestInterfaceEventInitConstructor::s_wrapperTypeInfo = V8
TestInterfaceEventInitConstructor::wrapperTypeInfo; | 35 const WrapperTypeInfo& TestInterfaceEventInitConstructor::s_wrapperTypeInfo = V8
TestInterfaceEventInitConstructor::wrapperTypeInfo; |
36 | 36 |
37 namespace TestInterfaceEventInitConstructorV8Internal { | 37 namespace TestInterfaceEventInitConstructorV8Internal { |
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
160 } | 160 } |
161 | 161 |
162 void V8TestInterfaceEventInitConstructor::derefObject(ScriptWrappable* scriptWra
ppable) | 162 void V8TestInterfaceEventInitConstructor::derefObject(ScriptWrappable* scriptWra
ppable) |
163 { | 163 { |
164 #if !ENABLE(OILPAN) | 164 #if !ENABLE(OILPAN) |
165 scriptWrappable->toImpl<TestInterfaceEventInitConstructor>()->deref(); | 165 scriptWrappable->toImpl<TestInterfaceEventInitConstructor>()->deref(); |
166 #endif | 166 #endif |
167 } | 167 } |
168 | 168 |
169 } // namespace blink | 169 } // namespace blink |
OLD | NEW |