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 "V8TestInterfaceEventConstructor.h" | 8 #include "V8TestInterfaceEventConstructor.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/ScriptValue.h" | 12 #include "bindings/core/v8/ScriptValue.h" |
13 #include "bindings/core/v8/SerializedScriptValue.h" | 13 #include "bindings/core/v8/SerializedScriptValue.h" |
14 #include "bindings/core/v8/V8DOMConfiguration.h" | 14 #include "bindings/core/v8/V8DOMConfiguration.h" |
15 #include "bindings/core/v8/V8HiddenValue.h" | 15 #include "bindings/core/v8/V8HiddenValue.h" |
16 #include "bindings/core/v8/V8ObjectConstructor.h" | 16 #include "bindings/core/v8/V8ObjectConstructor.h" |
17 #include "bindings/core/v8/custom/V8Uint8ArrayCustom.h" | 17 #include "bindings/core/v8/custom/V8Uint8ArrayCustom.h" |
18 #include "bindings/tests/v8/V8TestInterfaceEmpty.h" | 18 #include "bindings/tests/v8/V8TestInterfaceEmpty.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 "core/frame/LocalDOMWindow.h" | 21 #include "core/frame/LocalDOMWindow.h" |
22 #include "core/frame/UseCounter.h" | 22 #include "core/frame/UseCounter.h" |
23 #include "platform/RuntimeEnabledFeatures.h" | 23 #include "platform/RuntimeEnabledFeatures.h" |
24 #include "platform/TraceEvent.h" | 24 #include "platform/TraceEvent.h" |
25 #include "wtf/GetPtr.h" | 25 #include "wtf/GetPtr.h" |
26 #include "wtf/RefPtr.h" | 26 #include "wtf/RefPtr.h" |
27 | 27 |
28 namespace blink { | 28 namespace blink { |
29 | 29 |
30 static void initializeScriptWrappableForInterface(TestInterfaceEventConstructor*
impl) | |
31 { | |
32 impl->setTypeInfo(&V8TestInterfaceEventConstructor::wrapperTypeInfo); | |
33 } | |
34 | |
35 } // namespace blink | |
36 | |
37 void webCoreInitializeScriptWrappableForInterface(blink::TestInterfaceEventConst
ructor* object) | |
38 { | |
39 blink::initializeScriptWrappableForInterface(object); | |
40 } | |
41 | |
42 namespace blink { | |
43 | |
44 const WrapperTypeInfo V8TestInterfaceEventConstructor::wrapperTypeInfo = { gin::
kEmbedderBlink, V8TestInterfaceEventConstructor::domTemplate, V8TestInterfaceEve
ntConstructor::refObject, V8TestInterfaceEventConstructor::derefObject, V8TestIn
terfaceEventConstructor::createPersistentHandle, 0, 0, 0, V8TestInterfaceEventCo
nstructor::installConditionallyEnabledMethods, V8TestInterfaceEventConstructor::
installConditionallyEnabledProperties, &V8Event::wrapperTypeInfo, WrapperTypeInf
o::WrapperTypeObjectPrototype, WrapperTypeInfo::ObjectClassId, WrapperTypeInfo::
Independent, WrapperTypeInfo::WillBeGarbageCollectedObject }; | 30 const WrapperTypeInfo V8TestInterfaceEventConstructor::wrapperTypeInfo = { gin::
kEmbedderBlink, V8TestInterfaceEventConstructor::domTemplate, V8TestInterfaceEve
ntConstructor::refObject, V8TestInterfaceEventConstructor::derefObject, V8TestIn
terfaceEventConstructor::createPersistentHandle, 0, 0, 0, V8TestInterfaceEventCo
nstructor::installConditionallyEnabledMethods, V8TestInterfaceEventConstructor::
installConditionallyEnabledProperties, &V8Event::wrapperTypeInfo, WrapperTypeInf
o::WrapperTypeObjectPrototype, WrapperTypeInfo::ObjectClassId, WrapperTypeInfo::
Independent, WrapperTypeInfo::WillBeGarbageCollectedObject }; |
45 | 31 |
46 // This static member must be declared by DEFINE_WRAPPERTYPEINFO in TestInterfac
eEventConstructor.h. | 32 // This static member must be declared by DEFINE_WRAPPERTYPEINFO in TestInterfac
eEventConstructor.h. |
47 // For details, see the comment of DEFINE_WRAPPERTYPEINFO in | 33 // For details, see the comment of DEFINE_WRAPPERTYPEINFO in |
48 // bindings/core/v8/ScriptWrappable.h. | 34 // bindings/core/v8/ScriptWrappable.h. |
49 const WrapperTypeInfo& TestInterfaceEventConstructor::s_wrapperTypeInfo = V8Test
InterfaceEventConstructor::wrapperTypeInfo; | 35 const WrapperTypeInfo& TestInterfaceEventConstructor::s_wrapperTypeInfo = V8Test
InterfaceEventConstructor::wrapperTypeInfo; |
50 | 36 |
51 namespace TestInterfaceEventConstructorV8Internal { | 37 namespace TestInterfaceEventConstructorV8Internal { |
52 | 38 |
53 template <typename T> void V8_USE(T) { } | 39 template <typename T> void V8_USE(T) { } |
(...skipping 358 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
412 #endif | 398 #endif |
413 } | 399 } |
414 | 400 |
415 template<> | 401 template<> |
416 v8::Handle<v8::Value> toV8NoInline(TestInterfaceEventConstructor* impl, v8::Hand
le<v8::Object> creationContext, v8::Isolate* isolate) | 402 v8::Handle<v8::Value> toV8NoInline(TestInterfaceEventConstructor* impl, v8::Hand
le<v8::Object> creationContext, v8::Isolate* isolate) |
417 { | 403 { |
418 return toV8(impl, creationContext, isolate); | 404 return toV8(impl, creationContext, isolate); |
419 } | 405 } |
420 | 406 |
421 } // namespace blink | 407 } // namespace blink |
OLD | NEW |