| 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 "V8TestTypedefs.h" | 7 #include "V8TestTypedefs.h" |
| 8 | 8 |
| 9 #include "bindings/core/v8/ExceptionState.h" | 9 #include "bindings/core/v8/ExceptionState.h" |
| 10 #include "bindings/core/v8/UnionTypesCore.h" | 10 #include "bindings/core/v8/UnionTypesCore.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/V8TestCallbackInterface.h" | 13 #include "bindings/core/v8/V8TestCallbackInterface.h" |
| 14 #include "bindings/core/v8/V8TestInterface.h" | 14 #include "bindings/core/v8/V8TestInterface.h" |
| 15 #include "bindings/core/v8/V8TestInterfaceEmpty.h" | 15 #include "bindings/core/v8/V8TestInterfaceEmpty.h" |
| 16 #include "core/dom/Document.h" | 16 #include "core/dom/Document.h" |
| 17 #include "core/frame/LocalDOMWindow.h" | 17 #include "core/frame/LocalDOMWindow.h" |
| 18 #include "wtf/GetPtr.h" | 18 #include "wtf/GetPtr.h" |
| 19 #include "wtf/RefPtr.h" | 19 #include "wtf/RefPtr.h" |
| 20 | 20 |
| 21 namespace blink { | 21 namespace blink { |
| 22 | 22 |
| 23 // Suppress warning: global constructors, because struct WrapperTypeInfo is triv
ial | 23 // Suppress warning: global constructors, because struct WrapperTypeInfo is triv
ial |
| 24 // and does not depend on another global objects. | 24 // and does not depend on another global objects. |
| 25 #if defined(COMPONENT_BUILD) && defined(WIN32) && COMPILER(CLANG) | 25 #if defined(COMPONENT_BUILD) && defined(WIN32) && COMPILER(CLANG) |
| 26 #pragma clang diagnostic push | 26 #pragma clang diagnostic push |
| 27 #pragma clang diagnostic ignored "-Wglobal-constructors" | 27 #pragma clang diagnostic ignored "-Wglobal-constructors" |
| 28 #endif | 28 #endif |
| 29 const WrapperTypeInfo V8TestTypedefs::wrapperTypeInfo = { gin::kEmbedderBlink, V
8TestTypedefs::domTemplate, V8TestTypedefs::refObject, V8TestTypedefs::derefObje
ct, V8TestTypedefs::trace, 0, V8TestTypedefs::preparePrototypeAndInterfaceObject
, V8TestTypedefs::installConditionallyEnabledProperties, "TestTypedefs", 0, Wrap
perTypeInfo::WrapperTypeObjectPrototype, WrapperTypeInfo::ObjectClassId, Wrapper
TypeInfo::NotInheritFromEventTarget, WrapperTypeInfo::Independent, WrapperTypeIn
fo::RefCountedObject }; | 29 const WrapperTypeInfo V8TestTypedefs::wrapperTypeInfo = { gin::kEmbedderBlink, V
8TestTypedefs::domTemplate, V8TestTypedefs::refObject, V8TestTypedefs::derefObje
ct, V8TestTypedefs::trace, 0, 0, V8TestTypedefs::preparePrototypeAndInterfaceObj
ect, V8TestTypedefs::installConditionallyEnabledProperties, "TestTypedefs", 0, W
rapperTypeInfo::WrapperTypeObjectPrototype, WrapperTypeInfo::ObjectClassId, Wrap
perTypeInfo::NotInheritFromEventTarget, WrapperTypeInfo::Independent, WrapperTyp
eInfo::RefCountedObject }; |
| 30 #if defined(COMPONENT_BUILD) && defined(WIN32) && COMPILER(CLANG) | 30 #if defined(COMPONENT_BUILD) && defined(WIN32) && COMPILER(CLANG) |
| 31 #pragma clang diagnostic pop | 31 #pragma clang diagnostic pop |
| 32 #endif | 32 #endif |
| 33 | 33 |
| 34 // This static member must be declared by DEFINE_WRAPPERTYPEINFO in TestTypedefs
.h. | 34 // This static member must be declared by DEFINE_WRAPPERTYPEINFO in TestTypedefs
.h. |
| 35 // For details, see the comment of DEFINE_WRAPPERTYPEINFO in | 35 // For details, see the comment of DEFINE_WRAPPERTYPEINFO in |
| 36 // bindings/core/v8/ScriptWrappable.h. | 36 // bindings/core/v8/ScriptWrappable.h. |
| 37 const WrapperTypeInfo& TestTypedefs::s_wrapperTypeInfo = V8TestTypedefs::wrapper
TypeInfo; | 37 const WrapperTypeInfo& TestTypedefs::s_wrapperTypeInfo = V8TestTypedefs::wrapper
TypeInfo; |
| 38 | 38 |
| 39 namespace TestTypedefsV8Internal { | 39 namespace TestTypedefsV8Internal { |
| (...skipping 338 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 378 { | 378 { |
| 379 scriptWrappable->toImpl<TestTypedefs>()->ref(); | 379 scriptWrappable->toImpl<TestTypedefs>()->ref(); |
| 380 } | 380 } |
| 381 | 381 |
| 382 void V8TestTypedefs::derefObject(ScriptWrappable* scriptWrappable) | 382 void V8TestTypedefs::derefObject(ScriptWrappable* scriptWrappable) |
| 383 { | 383 { |
| 384 scriptWrappable->toImpl<TestTypedefs>()->deref(); | 384 scriptWrappable->toImpl<TestTypedefs>()->deref(); |
| 385 } | 385 } |
| 386 | 386 |
| 387 } // namespace blink | 387 } // namespace blink |
| OLD | NEW |