| 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 "V8TestInterfaceConstructor.h" | 8 #include "V8TestInterfaceConstructor.h" |
| 9 | 9 |
| 10 #include "bindings/core/v8/Dictionary.h" | 10 #include "bindings/core/v8/Dictionary.h" |
| 11 #include "bindings/core/v8/ExceptionState.h" | 11 #include "bindings/core/v8/ExceptionState.h" |
| 12 #include "bindings/core/v8/V8DOMConfiguration.h" | 12 #include "bindings/core/v8/V8DOMConfiguration.h" |
| 13 #include "bindings/core/v8/V8HiddenValue.h" | 13 #include "bindings/core/v8/V8HiddenValue.h" |
| 14 #include "bindings/core/v8/V8ObjectConstructor.h" | 14 #include "bindings/core/v8/V8ObjectConstructor.h" |
| 15 #include "bindings/tests/v8/V8TestInterfaceEmpty.h" | 15 #include "bindings/tests/v8/V8TestInterfaceEmpty.h" |
| 16 #include "core/dom/ContextFeatures.h" | 16 #include "core/dom/ContextFeatures.h" |
| 17 #include "core/dom/Document.h" | 17 #include "core/dom/Document.h" |
| 18 #include "core/frame/LocalDOMWindow.h" | 18 #include "core/frame/LocalDOMWindow.h" |
| 19 #include "core/frame/UseCounter.h" | 19 #include "core/frame/UseCounter.h" |
| 20 #include "platform/RuntimeEnabledFeatures.h" | 20 #include "platform/RuntimeEnabledFeatures.h" |
| 21 #include "platform/TraceEvent.h" | 21 #include "platform/TraceEvent.h" |
| 22 #include "wtf/GetPtr.h" | 22 #include "wtf/GetPtr.h" |
| 23 #include "wtf/RefPtr.h" | 23 #include "wtf/RefPtr.h" |
| 24 | 24 |
| 25 namespace blink { | 25 namespace blink { |
| 26 | 26 |
| 27 static void initializeScriptWrappableForInterface(TestInterfaceConstructor* impl
) | |
| 28 { | |
| 29 impl->setTypeInfo(&V8TestInterfaceConstructor::wrapperTypeInfo); | |
| 30 } | |
| 31 | |
| 32 } // namespace blink | |
| 33 | |
| 34 void webCoreInitializeScriptWrappableForInterface(blink::TestInterfaceConstructo
r* object) | |
| 35 { | |
| 36 blink::initializeScriptWrappableForInterface(object); | |
| 37 } | |
| 38 | |
| 39 namespace blink { | |
| 40 | |
| 41 const WrapperTypeInfo V8TestInterfaceConstructor::wrapperTypeInfo = { gin::kEmbe
dderBlink, V8TestInterfaceConstructor::domTemplate, V8TestInterfaceConstructor::
refObject, V8TestInterfaceConstructor::derefObject, V8TestInterfaceConstructor::
createPersistentHandle, 0, 0, 0, V8TestInterfaceConstructor::installConditionall
yEnabledMethods, V8TestInterfaceConstructor::installConditionallyEnabledProperti
es, 0, WrapperTypeInfo::WrapperTypeObjectPrototype, WrapperTypeInfo::ObjectClass
Id, WrapperTypeInfo::Independent, WrapperTypeInfo::RefCountedObject }; | 27 const WrapperTypeInfo V8TestInterfaceConstructor::wrapperTypeInfo = { gin::kEmbe
dderBlink, V8TestInterfaceConstructor::domTemplate, V8TestInterfaceConstructor::
refObject, V8TestInterfaceConstructor::derefObject, V8TestInterfaceConstructor::
createPersistentHandle, 0, 0, 0, V8TestInterfaceConstructor::installConditionall
yEnabledMethods, V8TestInterfaceConstructor::installConditionallyEnabledProperti
es, 0, WrapperTypeInfo::WrapperTypeObjectPrototype, WrapperTypeInfo::ObjectClass
Id, WrapperTypeInfo::Independent, WrapperTypeInfo::RefCountedObject }; |
| 42 | 28 |
| 43 // This static member must be declared by DEFINE_WRAPPERTYPEINFO in TestInterfac
eConstructor.h. | 29 // This static member must be declared by DEFINE_WRAPPERTYPEINFO in TestInterfac
eConstructor.h. |
| 44 // For details, see the comment of DEFINE_WRAPPERTYPEINFO in | 30 // For details, see the comment of DEFINE_WRAPPERTYPEINFO in |
| 45 // bindings/core/v8/ScriptWrappable.h. | 31 // bindings/core/v8/ScriptWrappable.h. |
| 46 const WrapperTypeInfo& TestInterfaceConstructor::s_wrapperTypeInfo = V8TestInter
faceConstructor::wrapperTypeInfo; | 32 const WrapperTypeInfo& TestInterfaceConstructor::s_wrapperTypeInfo = V8TestInter
faceConstructor::wrapperTypeInfo; |
| 47 | 33 |
| 48 namespace TestInterfaceConstructorV8Internal { | 34 namespace TestInterfaceConstructorV8Internal { |
| 49 | 35 |
| 50 template <typename T> void V8_USE(T) { } | 36 template <typename T> void V8_USE(T) { } |
| (...skipping 317 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 368 return 0; | 354 return 0; |
| 369 } | 355 } |
| 370 | 356 |
| 371 template<> | 357 template<> |
| 372 v8::Handle<v8::Value> toV8NoInline(TestInterfaceConstructor* impl, v8::Handle<v8
::Object> creationContext, v8::Isolate* isolate) | 358 v8::Handle<v8::Value> toV8NoInline(TestInterfaceConstructor* impl, v8::Handle<v8
::Object> creationContext, v8::Isolate* isolate) |
| 373 { | 359 { |
| 374 return toV8(impl, creationContext, isolate); | 360 return toV8(impl, creationContext, isolate); |
| 375 } | 361 } |
| 376 | 362 |
| 377 } // namespace blink | 363 } // namespace blink |
| OLD | NEW |