| 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 "V8TestInterfaceNode.h" | 8 #include "V8TestInterfaceNode.h" |
| 9 | 9 |
| 10 #include "bindings/core/v8/ExceptionState.h" | 10 #include "bindings/core/v8/ExceptionState.h" |
| 11 #include "bindings/core/v8/V8AbstractEventListener.h" | 11 #include "bindings/core/v8/V8AbstractEventListener.h" |
| 12 #include "bindings/core/v8/V8DOMConfiguration.h" | 12 #include "bindings/core/v8/V8DOMConfiguration.h" |
| 13 #include "bindings/core/v8/V8EventListenerList.h" | 13 #include "bindings/core/v8/V8EventListenerList.h" |
| 14 #include "bindings/core/v8/V8HiddenValue.h" | 14 #include "bindings/core/v8/V8HiddenValue.h" |
| 15 #include "bindings/core/v8/V8ObjectConstructor.h" | 15 #include "bindings/core/v8/V8ObjectConstructor.h" |
| 16 #include "bindings/tests/v8/V8TestInterfaceEmpty.h" | 16 #include "bindings/tests/v8/V8TestInterfaceEmpty.h" |
| 17 #include "core/HTMLNames.h" | 17 #include "core/HTMLNames.h" |
| 18 #include "core/dom/ContextFeatures.h" | 18 #include "core/dom/ContextFeatures.h" |
| 19 #include "core/dom/Document.h" | 19 #include "core/dom/Document.h" |
| 20 #include "core/dom/custom/CustomElementProcessingStack.h" | 20 #include "core/dom/custom/CustomElementProcessingStack.h" |
| 21 #include "platform/RuntimeEnabledFeatures.h" | 21 #include "platform/RuntimeEnabledFeatures.h" |
| 22 #include "platform/TraceEvent.h" | 22 #include "platform/TraceEvent.h" |
| 23 #include "wtf/GetPtr.h" | 23 #include "wtf/GetPtr.h" |
| 24 #include "wtf/RefPtr.h" | 24 #include "wtf/RefPtr.h" |
| 25 | 25 |
| 26 namespace blink { | 26 namespace blink { |
| 27 | 27 |
| 28 static void initializeScriptWrappableForInterface(TestInterfaceNode* impl) | |
| 29 { | |
| 30 impl->setTypeInfo(&V8TestInterfaceNode::wrapperTypeInfo); | |
| 31 } | |
| 32 | |
| 33 } // namespace blink | |
| 34 | |
| 35 void webCoreInitializeScriptWrappableForInterface(blink::TestInterfaceNode* obje
ct) | |
| 36 { | |
| 37 blink::initializeScriptWrappableForInterface(object); | |
| 38 } | |
| 39 | |
| 40 namespace blink { | |
| 41 | |
| 42 const WrapperTypeInfo V8TestInterfaceNode::wrapperTypeInfo = { gin::kEmbedderBli
nk, V8TestInterfaceNode::domTemplate, V8TestInterfaceNode::refObject, V8TestInte
rfaceNode::derefObject, V8TestInterfaceNode::createPersistentHandle, 0, V8TestIn
terfaceNode::toEventTarget, 0, V8TestInterfaceNode::installConditionallyEnabledM
ethods, V8TestInterfaceNode::installConditionallyEnabledProperties, &V8Node::wra
pperTypeInfo, WrapperTypeInfo::WrapperTypeObjectPrototype, WrapperTypeInfo::Node
ClassId, WrapperTypeInfo::Dependent, WrapperTypeInfo::WillBeGarbageCollectedObje
ct }; | 28 const WrapperTypeInfo V8TestInterfaceNode::wrapperTypeInfo = { gin::kEmbedderBli
nk, V8TestInterfaceNode::domTemplate, V8TestInterfaceNode::refObject, V8TestInte
rfaceNode::derefObject, V8TestInterfaceNode::createPersistentHandle, 0, V8TestIn
terfaceNode::toEventTarget, 0, V8TestInterfaceNode::installConditionallyEnabledM
ethods, V8TestInterfaceNode::installConditionallyEnabledProperties, &V8Node::wra
pperTypeInfo, WrapperTypeInfo::WrapperTypeObjectPrototype, WrapperTypeInfo::Node
ClassId, WrapperTypeInfo::Dependent, WrapperTypeInfo::WillBeGarbageCollectedObje
ct }; |
| 43 | 29 |
| 44 // This static member must be declared by DEFINE_WRAPPERTYPEINFO in TestInterfac
eNode.h. | 30 // This static member must be declared by DEFINE_WRAPPERTYPEINFO in TestInterfac
eNode.h. |
| 45 // For details, see the comment of DEFINE_WRAPPERTYPEINFO in | 31 // For details, see the comment of DEFINE_WRAPPERTYPEINFO in |
| 46 // bindings/core/v8/ScriptWrappable.h. | 32 // bindings/core/v8/ScriptWrappable.h. |
| 47 const WrapperTypeInfo& TestInterfaceNode::s_wrapperTypeInfo = V8TestInterfaceNod
e::wrapperTypeInfo; | 33 const WrapperTypeInfo& TestInterfaceNode::s_wrapperTypeInfo = V8TestInterfaceNod
e::wrapperTypeInfo; |
| 48 | 34 |
| 49 namespace TestInterfaceNodeV8Internal { | 35 namespace TestInterfaceNodeV8Internal { |
| 50 | 36 |
| 51 template <typename T> void V8_USE(T) { } | 37 template <typename T> void V8_USE(T) { } |
| (...skipping 327 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 379 #endif | 365 #endif |
| 380 } | 366 } |
| 381 | 367 |
| 382 template<> | 368 template<> |
| 383 v8::Handle<v8::Value> toV8NoInline(TestInterfaceNode* impl, v8::Handle<v8::Objec
t> creationContext, v8::Isolate* isolate) | 369 v8::Handle<v8::Value> toV8NoInline(TestInterfaceNode* impl, v8::Handle<v8::Objec
t> creationContext, v8::Isolate* isolate) |
| 384 { | 370 { |
| 385 return toV8(impl, creationContext, isolate); | 371 return toV8(impl, creationContext, isolate); |
| 386 } | 372 } |
| 387 | 373 |
| 388 } // namespace blink | 374 } // namespace blink |
| OLD | NEW |