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" |
11 #include "bindings/core/v8/V8DOMConfiguration.h" | 11 #include "bindings/core/v8/V8DOMConfiguration.h" |
12 #include "bindings/core/v8/V8ObjectConstructor.h" | 12 #include "bindings/core/v8/V8ObjectConstructor.h" |
13 #include "bindings/core/v8/V8TestInterfaceEventInit.h" | 13 #include "bindings/core/v8/V8TestInterfaceEventInit.h" |
14 #include "core/dom/ContextFeatures.h" | 14 #include "core/dom/ContextFeatures.h" |
15 #include "core/dom/Document.h" | 15 #include "core/dom/Document.h" |
16 #include "core/frame/LocalDOMWindow.h" | 16 #include "core/frame/LocalDOMWindow.h" |
17 #include "platform/RuntimeEnabledFeatures.h" | 17 #include "platform/RuntimeEnabledFeatures.h" |
18 #include "platform/TraceEvent.h" | 18 #include "platform/TraceEvent.h" |
19 #include "wtf/GetPtr.h" | 19 #include "wtf/GetPtr.h" |
20 #include "wtf/RefPtr.h" | 20 #include "wtf/RefPtr.h" |
21 | 21 |
22 namespace blink { | 22 namespace blink { |
23 | 23 |
| 24 // Suppress warning: global constructors, because struct WrapperTypeInfo is triv
ial |
| 25 // and does not depend on another global objects. |
| 26 #if defined(COMPONENT_BUILD) && defined(WIN32) && COMPILER(CLANG) |
| 27 #pragma clang diagnostic push |
| 28 #pragma clang diagnostic ignored "-Wglobal-constructors" |
| 29 #endif |
24 const WrapperTypeInfo V8TestInterfaceEventInitConstructor::wrapperTypeInfo = { g
in::kEmbedderBlink, V8TestInterfaceEventInitConstructor::domTemplate, V8TestInte
rfaceEventInitConstructor::refObject, V8TestInterfaceEventInitConstructor::deref
Object, V8TestInterfaceEventInitConstructor::trace, 0, 0, V8TestInterfaceEventIn
itConstructor::preparePrototypeObject, V8TestInterfaceEventInitConstructor::inst
allConditionallyEnabledProperties, "TestInterfaceEventInitConstructor", &V8Event
::wrapperTypeInfo, WrapperTypeInfo::WrapperTypeObjectPrototype, WrapperTypeInfo:
:ObjectClassId, WrapperTypeInfo::NotInheritFromEventTarget, WrapperTypeInfo::Ind
ependent, WrapperTypeInfo::WillBeGarbageCollectedObject }; | 30 const WrapperTypeInfo V8TestInterfaceEventInitConstructor::wrapperTypeInfo = { g
in::kEmbedderBlink, V8TestInterfaceEventInitConstructor::domTemplate, V8TestInte
rfaceEventInitConstructor::refObject, V8TestInterfaceEventInitConstructor::deref
Object, V8TestInterfaceEventInitConstructor::trace, 0, 0, V8TestInterfaceEventIn
itConstructor::preparePrototypeObject, V8TestInterfaceEventInitConstructor::inst
allConditionallyEnabledProperties, "TestInterfaceEventInitConstructor", &V8Event
::wrapperTypeInfo, WrapperTypeInfo::WrapperTypeObjectPrototype, WrapperTypeInfo:
:ObjectClassId, WrapperTypeInfo::NotInheritFromEventTarget, WrapperTypeInfo::Ind
ependent, WrapperTypeInfo::WillBeGarbageCollectedObject }; |
| 31 #if defined(COMPONENT_BUILD) && defined(WIN32) && COMPILER(CLANG) |
| 32 #pragma clang diagnostic pop |
| 33 #endif |
25 | 34 |
26 // This static member must be declared by DEFINE_WRAPPERTYPEINFO in TestInterfac
eEventInitConstructor.h. | 35 // This static member must be declared by DEFINE_WRAPPERTYPEINFO in TestInterfac
eEventInitConstructor.h. |
27 // For details, see the comment of DEFINE_WRAPPERTYPEINFO in | 36 // For details, see the comment of DEFINE_WRAPPERTYPEINFO in |
28 // bindings/core/v8/ScriptWrappable.h. | 37 // bindings/core/v8/ScriptWrappable.h. |
29 const WrapperTypeInfo& TestInterfaceEventInitConstructor::s_wrapperTypeInfo = V8
TestInterfaceEventInitConstructor::wrapperTypeInfo; | 38 const WrapperTypeInfo& TestInterfaceEventInitConstructor::s_wrapperTypeInfo = V8
TestInterfaceEventInitConstructor::wrapperTypeInfo; |
30 | 39 |
31 namespace TestInterfaceEventInitConstructorV8Internal { | 40 namespace TestInterfaceEventInitConstructorV8Internal { |
32 | 41 |
33 static void readonlyStringAttributeAttributeGetter(const v8::FunctionCallbackInf
o<v8::Value>& info) | 42 static void readonlyStringAttributeAttributeGetter(const v8::FunctionCallbackInf
o<v8::Value>& info) |
34 { | 43 { |
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
143 } | 152 } |
144 | 153 |
145 void V8TestInterfaceEventInitConstructor::derefObject(ScriptWrappable* scriptWra
ppable) | 154 void V8TestInterfaceEventInitConstructor::derefObject(ScriptWrappable* scriptWra
ppable) |
146 { | 155 { |
147 #if !ENABLE(OILPAN) | 156 #if !ENABLE(OILPAN) |
148 scriptWrappable->toImpl<TestInterfaceEventInitConstructor>()->deref(); | 157 scriptWrappable->toImpl<TestInterfaceEventInitConstructor>()->deref(); |
149 #endif | 158 #endif |
150 } | 159 } |
151 | 160 |
152 } // namespace blink | 161 } // namespace blink |
OLD | NEW |