| 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 #if ENABLE(CONDITION) | 8 #if ENABLE(CONDITION) |
| 9 #include "V8TestInterface5.h" | 9 #include "V8TestInterface5.h" |
| 10 | 10 |
| 11 #include "bindings/core/v8/ExceptionState.h" | 11 #include "bindings/core/v8/ExceptionState.h" |
| 12 #include "bindings/core/v8/ScriptState.h" | 12 #include "bindings/core/v8/ScriptState.h" |
| 13 #include "bindings/core/v8/V8DOMConfiguration.h" | 13 #include "bindings/core/v8/V8DOMConfiguration.h" |
| 14 #include "bindings/core/v8/V8HiddenValue.h" | 14 #include "bindings/core/v8/V8HiddenValue.h" |
| 15 #include "bindings/core/v8/V8Iterator.h" | 15 #include "bindings/core/v8/V8Iterator.h" |
| 16 #include "bindings/core/v8/V8ObjectConstructor.h" | 16 #include "bindings/core/v8/V8ObjectConstructor.h" |
| 17 #include "bindings/core/v8/V8TestInterfaceEmpty.h" | 17 #include "bindings/core/v8/V8TestInterfaceEmpty.h" |
| 18 #include "bindings/modules/v8/V8TestInterface5.h" | 18 #include "bindings/modules/v8/V8TestInterface5.h" |
| 19 #include "core/dom/ContextFeatures.h" | 19 #include "core/dom/ContextFeatures.h" |
| 20 #include "core/dom/Document.h" | 20 #include "core/dom/Document.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 const WrapperTypeInfo V8TestInterface5::wrapperTypeInfo = { gin::kEmbedderBlink,
V8TestInterface5::domTemplate, V8TestInterface5::refObject, V8TestInterface5::d
erefObject, V8TestInterface5::createPersistentHandle, V8TestInterface5::toActive
DOMObject, 0, V8TestInterface5::visitDOMWrapper, V8TestInterface5::installCondit
ionallyEnabledMethods, V8TestInterface5::installConditionallyEnabledProperties,
&V8TestInterfaceEmpty::wrapperTypeInfo, WrapperTypeInfo::WrapperTypeObjectProtot
ype, WrapperTypeInfo::ObjectClassId, WrapperTypeInfo::Dependent, WrapperTypeInfo
::RefCountedObject }; | 28 const WrapperTypeInfo V8TestInterface5::wrapperTypeInfo = { gin::kEmbedderBlink,
V8TestInterface5::domTemplate, V8TestInterface5::refObject, V8TestInterface5::d
erefObject, V8TestInterface5::trace, V8TestInterface5::toActiveDOMObject, 0, V8T
estInterface5::visitDOMWrapper, V8TestInterface5::installConditionallyEnabledMet
hods, V8TestInterface5::installConditionallyEnabledProperties, &V8TestInterfaceE
mpty::wrapperTypeInfo, WrapperTypeInfo::WrapperTypeObjectPrototype, WrapperTypeI
nfo::ObjectClassId, WrapperTypeInfo::Dependent, WrapperTypeInfo::RefCountedObjec
t }; |
| 29 | 29 |
| 30 // This static member must be declared by DEFINE_WRAPPERTYPEINFO in TestInterfac
e5Implementation.h. | 30 // This static member must be declared by DEFINE_WRAPPERTYPEINFO in TestInterfac
e5Implementation.h. |
| 31 // For details, see the comment of DEFINE_WRAPPERTYPEINFO in | 31 // For details, see the comment of DEFINE_WRAPPERTYPEINFO in |
| 32 // bindings/core/v8/ScriptWrappable.h. | 32 // bindings/core/v8/ScriptWrappable.h. |
| 33 const WrapperTypeInfo& TestInterface5Implementation::s_wrapperTypeInfo = V8TestI
nterface5::wrapperTypeInfo; | 33 const WrapperTypeInfo& TestInterface5Implementation::s_wrapperTypeInfo = V8TestI
nterface5::wrapperTypeInfo; |
| 34 | 34 |
| 35 namespace TestInterface5ImplementationV8Internal { | 35 namespace TestInterface5ImplementationV8Internal { |
| 36 | 36 |
| 37 static void testInterfaceAttributeAttributeGetter(const v8::PropertyCallbackInfo
<v8::Value>& info) | 37 static void testInterfaceAttributeAttributeGetter(const v8::PropertyCallbackInfo
<v8::Value>& info) |
| 38 { | 38 { |
| (...skipping 823 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 862 void V8TestInterface5::refObject(ScriptWrappableBase* internalPointer) | 862 void V8TestInterface5::refObject(ScriptWrappableBase* internalPointer) |
| 863 { | 863 { |
| 864 internalPointer->toImpl<TestInterface5Implementation>()->ref(); | 864 internalPointer->toImpl<TestInterface5Implementation>()->ref(); |
| 865 } | 865 } |
| 866 | 866 |
| 867 void V8TestInterface5::derefObject(ScriptWrappableBase* internalPointer) | 867 void V8TestInterface5::derefObject(ScriptWrappableBase* internalPointer) |
| 868 { | 868 { |
| 869 internalPointer->toImpl<TestInterface5Implementation>()->deref(); | 869 internalPointer->toImpl<TestInterface5Implementation>()->deref(); |
| 870 } | 870 } |
| 871 | 871 |
| 872 WrapperPersistentNode* V8TestInterface5::createPersistentHandle(ScriptWrappableB
ase* internalPointer) | |
| 873 { | |
| 874 ASSERT_NOT_REACHED(); | |
| 875 return 0; | |
| 876 } | |
| 877 | |
| 878 template<> | 872 template<> |
| 879 v8::Handle<v8::Value> toV8NoInline(TestInterface5Implementation* impl, v8::Handl
e<v8::Object> creationContext, v8::Isolate* isolate) | 873 v8::Handle<v8::Value> toV8NoInline(TestInterface5Implementation* impl, v8::Handl
e<v8::Object> creationContext, v8::Isolate* isolate) |
| 880 { | 874 { |
| 881 return toV8(impl, creationContext, isolate); | 875 return toV8(impl, creationContext, isolate); |
| 882 } | 876 } |
| 883 | 877 |
| 884 } // namespace blink | 878 } // namespace blink |
| 885 #endif // ENABLE(CONDITION) | 879 #endif // ENABLE(CONDITION) |
| OLD | NEW |