| 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 "V8SVGTestInterface.h" | 8 #include "V8SVGTestInterface.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/V8HiddenValue.h" | 12 #include "bindings/core/v8/V8HiddenValue.h" |
| 13 #include "bindings/core/v8/V8ObjectConstructor.h" | 13 #include "bindings/core/v8/V8ObjectConstructor.h" |
| 14 #include "core/SVGNames.h" | 14 #include "core/SVGNames.h" |
| 15 #include "core/dom/ContextFeatures.h" | 15 #include "core/dom/ContextFeatures.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 "platform/RuntimeEnabledFeatures.h" | 18 #include "platform/RuntimeEnabledFeatures.h" |
| 19 #include "platform/TraceEvent.h" | 19 #include "platform/TraceEvent.h" |
| 20 #include "wtf/GetPtr.h" | 20 #include "wtf/GetPtr.h" |
| 21 #include "wtf/RefPtr.h" | 21 #include "wtf/RefPtr.h" |
| 22 | 22 |
| 23 namespace blink { | 23 namespace blink { |
| 24 | 24 |
| 25 const WrapperTypeInfo V8SVGTestInterface::wrapperTypeInfo = { gin::kEmbedderBlin
k, V8SVGTestInterface::domTemplate, V8SVGTestInterface::refObject, V8SVGTestInte
rface::derefObject, V8SVGTestInterface::createPersistentHandle, 0, 0, 0, V8SVGTe
stInterface::installConditionallyEnabledMethods, V8SVGTestInterface::installCond
itionallyEnabledProperties, 0, WrapperTypeInfo::WrapperTypeObjectPrototype, Wrap
perTypeInfo::ObjectClassId, WrapperTypeInfo::Dependent, WrapperTypeInfo::RefCoun
tedObject }; | 25 const WrapperTypeInfo V8SVGTestInterface::wrapperTypeInfo = { gin::kEmbedderBlin
k, V8SVGTestInterface::domTemplate, V8SVGTestInterface::refObject, V8SVGTestInte
rface::derefObject, V8SVGTestInterface::trace, 0, 0, 0, V8SVGTestInterface::inst
allConditionallyEnabledMethods, V8SVGTestInterface::installConditionallyEnabledP
roperties, 0, WrapperTypeInfo::WrapperTypeObjectPrototype, WrapperTypeInfo::Obje
ctClassId, WrapperTypeInfo::Dependent, WrapperTypeInfo::RefCountedObject }; |
| 26 | 26 |
| 27 // This static member must be declared by DEFINE_WRAPPERTYPEINFO in SVGTestInter
face.h. | 27 // This static member must be declared by DEFINE_WRAPPERTYPEINFO in SVGTestInter
face.h. |
| 28 // For details, see the comment of DEFINE_WRAPPERTYPEINFO in | 28 // For details, see the comment of DEFINE_WRAPPERTYPEINFO in |
| 29 // bindings/core/v8/ScriptWrappable.h. | 29 // bindings/core/v8/ScriptWrappable.h. |
| 30 const WrapperTypeInfo& SVGTestInterface::s_wrapperTypeInfo = V8SVGTestInterface:
:wrapperTypeInfo; | 30 const WrapperTypeInfo& SVGTestInterface::s_wrapperTypeInfo = V8SVGTestInterface:
:wrapperTypeInfo; |
| 31 | 31 |
| 32 namespace SVGTestInterfaceV8Internal { | 32 namespace SVGTestInterfaceV8Internal { |
| 33 | 33 |
| 34 static void typeAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info) | 34 static void typeAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info) |
| 35 { | 35 { |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 111 void V8SVGTestInterface::refObject(ScriptWrappableBase* internalPointer) | 111 void V8SVGTestInterface::refObject(ScriptWrappableBase* internalPointer) |
| 112 { | 112 { |
| 113 internalPointer->toImpl<SVGTestInterface>()->ref(); | 113 internalPointer->toImpl<SVGTestInterface>()->ref(); |
| 114 } | 114 } |
| 115 | 115 |
| 116 void V8SVGTestInterface::derefObject(ScriptWrappableBase* internalPointer) | 116 void V8SVGTestInterface::derefObject(ScriptWrappableBase* internalPointer) |
| 117 { | 117 { |
| 118 internalPointer->toImpl<SVGTestInterface>()->deref(); | 118 internalPointer->toImpl<SVGTestInterface>()->deref(); |
| 119 } | 119 } |
| 120 | 120 |
| 121 WrapperPersistentNode* V8SVGTestInterface::createPersistentHandle(ScriptWrappabl
eBase* internalPointer) | |
| 122 { | |
| 123 ASSERT_NOT_REACHED(); | |
| 124 return 0; | |
| 125 } | |
| 126 | |
| 127 template<> | 121 template<> |
| 128 v8::Handle<v8::Value> toV8NoInline(SVGTestInterface* impl, v8::Handle<v8::Object
> creationContext, v8::Isolate* isolate) | 122 v8::Handle<v8::Value> toV8NoInline(SVGTestInterface* impl, v8::Handle<v8::Object
> creationContext, v8::Isolate* isolate) |
| 129 { | 123 { |
| 130 return toV8(impl, creationContext, isolate); | 124 return toV8(impl, creationContext, isolate); |
| 131 } | 125 } |
| 132 | 126 |
| 133 } // namespace blink | 127 } // namespace blink |
| OLD | NEW |