| 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 "V8TestInterfaceNode.h" | 7 #include "V8TestInterfaceNode.h" |
| 8 | 8 |
| 9 #include "bindings/core/v8/ExceptionState.h" | 9 #include "bindings/core/v8/ExceptionState.h" |
| 10 #include "bindings/core/v8/V8AbstractEventListener.h" | 10 #include "bindings/core/v8/V8AbstractEventListener.h" |
| 11 #include "bindings/core/v8/V8DOMConfiguration.h" | 11 #include "bindings/core/v8/V8DOMConfiguration.h" |
| 12 #include "bindings/core/v8/V8EventListenerList.h" | 12 #include "bindings/core/v8/V8EventListenerList.h" |
| 13 #include "bindings/core/v8/V8ObjectConstructor.h" | 13 #include "bindings/core/v8/V8ObjectConstructor.h" |
| 14 #include "bindings/core/v8/V8TestInterfaceEmpty.h" | 14 #include "bindings/core/v8/V8TestInterfaceEmpty.h" |
| 15 #include "core/HTMLNames.h" | 15 #include "core/HTMLNames.h" |
| 16 #include "core/dom/Document.h" | 16 #include "core/dom/Document.h" |
| 17 #include "core/dom/custom/CustomElementProcessingStack.h" | 17 #include "core/dom/custom/CustomElementProcessingStack.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 V8TestInterfaceNode::wrapperTypeInfo = { gin::kEmbedderBli
nk, V8TestInterfaceNode::domTemplate, V8TestInterfaceNode::refObject, V8TestInte
rfaceNode::derefObject, V8TestInterfaceNode::trace, 0, V8TestInterfaceNode::prep
arePrototypeAndInterfaceObject, V8TestInterfaceNode::installConditionallyEnabled
Properties, "TestInterfaceNode", &V8Node::wrapperTypeInfo, WrapperTypeInfo::Wrap
perTypeObjectPrototype, WrapperTypeInfo::NodeClassId, WrapperTypeInfo::InheritFr
omEventTarget, WrapperTypeInfo::Dependent, WrapperTypeInfo::WillBeGarbageCollect
edObject }; | 29 const WrapperTypeInfo V8TestInterfaceNode::wrapperTypeInfo = { gin::kEmbedderBli
nk, V8TestInterfaceNode::domTemplate, V8TestInterfaceNode::refObject, V8TestInte
rfaceNode::derefObject, V8TestInterfaceNode::trace, 0, 0, V8TestInterfaceNode::p
reparePrototypeAndInterfaceObject, V8TestInterfaceNode::installConditionallyEnab
ledProperties, "TestInterfaceNode", &V8Node::wrapperTypeInfo, WrapperTypeInfo::W
rapperTypeObjectPrototype, WrapperTypeInfo::NodeClassId, WrapperTypeInfo::Inheri
tFromEventTarget, WrapperTypeInfo::Dependent, WrapperTypeInfo::WillBeGarbageColl
ectedObject }; |
| 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 TestInterfac
eNode.h. | 34 // This static member must be declared by DEFINE_WRAPPERTYPEINFO in TestInterfac
eNode.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& TestInterfaceNode::s_wrapperTypeInfo = V8TestInterfaceNod
e::wrapperTypeInfo; | 37 const WrapperTypeInfo& TestInterfaceNode::s_wrapperTypeInfo = V8TestInterfaceNod
e::wrapperTypeInfo; |
| 38 | 38 |
| 39 namespace TestInterfaceNodeV8Internal { | 39 namespace TestInterfaceNodeV8Internal { |
| (...skipping 324 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 364 } | 364 } |
| 365 | 365 |
| 366 void V8TestInterfaceNode::derefObject(ScriptWrappable* scriptWrappable) | 366 void V8TestInterfaceNode::derefObject(ScriptWrappable* scriptWrappable) |
| 367 { | 367 { |
| 368 #if !ENABLE(OILPAN) | 368 #if !ENABLE(OILPAN) |
| 369 scriptWrappable->toImpl<TestInterfaceNode>()->deref(); | 369 scriptWrappable->toImpl<TestInterfaceNode>()->deref(); |
| 370 #endif | 370 #endif |
| 371 } | 371 } |
| 372 | 372 |
| 373 } // namespace blink | 373 } // namespace blink |
| OLD | NEW |