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 "V8TestTypedefs.h" | 8 #include "V8TestTypedefs.h" |
9 | 9 |
10 #include "bindings/core/v8/ExceptionState.h" | 10 #include "bindings/core/v8/ExceptionState.h" |
11 #include "bindings/core/v8/UnionTypesCore.h" | 11 #include "bindings/core/v8/UnionTypesCore.h" |
12 #include "bindings/core/v8/V8DOMConfiguration.h" | 12 #include "bindings/core/v8/V8DOMConfiguration.h" |
13 #include "bindings/core/v8/V8ObjectConstructor.h" | 13 #include "bindings/core/v8/V8ObjectConstructor.h" |
14 #include "bindings/core/v8/V8TestCallbackInterface.h" | 14 #include "bindings/core/v8/V8TestCallbackInterface.h" |
15 #include "bindings/core/v8/V8TestInterface.h" | 15 #include "bindings/core/v8/V8TestInterface.h" |
16 #include "bindings/core/v8/V8TestInterfaceEmpty.h" | 16 #include "bindings/core/v8/V8TestInterfaceEmpty.h" |
17 #include "core/dom/ContextFeatures.h" | 17 #include "core/dom/ContextFeatures.h" |
18 #include "core/dom/Document.h" | 18 #include "core/dom/Document.h" |
19 #include "core/frame/LocalDOMWindow.h" | 19 #include "core/frame/LocalDOMWindow.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 const WrapperTypeInfo V8TestTypedefs::wrapperTypeInfo = { gin::kEmbedderBlink, V
8TestTypedefs::domTemplate, V8TestTypedefs::refObject, V8TestTypedefs::derefObje
ct, V8TestTypedefs::trace, 0, 0, V8TestTypedefs::installConditionallyEnabledMeth
ods, V8TestTypedefs::installConditionallyEnabledProperties, "TestTypedefs", 0, W
rapperTypeInfo::WrapperTypeObjectPrototype, WrapperTypeInfo::ObjectClassId, Wrap
perTypeInfo::NotInheritFromEventTarget, WrapperTypeInfo::Independent, WrapperTyp
eInfo::RefCountedObject }; | 27 const WrapperTypeInfo V8TestTypedefs::wrapperTypeInfo = { gin::kEmbedderBlink, V
8TestTypedefs::domTemplate, V8TestTypedefs::refObject, V8TestTypedefs::derefObje
ct, V8TestTypedefs::trace, 0, 0, V8TestTypedefs::preparePrototypeObject, V8TestT
ypedefs::installConditionallyEnabledProperties, "TestTypedefs", 0, WrapperTypeIn
fo::WrapperTypeObjectPrototype, WrapperTypeInfo::ObjectClassId, WrapperTypeInfo:
:NotInheritFromEventTarget, WrapperTypeInfo::Independent, WrapperTypeInfo::RefCo
untedObject }; |
28 | 28 |
29 // This static member must be declared by DEFINE_WRAPPERTYPEINFO in TestTypedefs
.h. | 29 // This static member must be declared by DEFINE_WRAPPERTYPEINFO in TestTypedefs
.h. |
30 // For details, see the comment of DEFINE_WRAPPERTYPEINFO in | 30 // For details, see the comment of DEFINE_WRAPPERTYPEINFO in |
31 // bindings/core/v8/ScriptWrappable.h. | 31 // bindings/core/v8/ScriptWrappable.h. |
32 const WrapperTypeInfo& TestTypedefs::s_wrapperTypeInfo = V8TestTypedefs::wrapper
TypeInfo; | 32 const WrapperTypeInfo& TestTypedefs::s_wrapperTypeInfo = V8TestTypedefs::wrapper
TypeInfo; |
33 | 33 |
34 namespace TestTypedefsV8Internal { | 34 namespace TestTypedefsV8Internal { |
35 | 35 |
36 template<class CallbackInfo> | 36 template<class CallbackInfo> |
37 static void TestTypedefsForceSetAttributeOnThis(v8::Local<v8::Name> name, v8::Lo
cal<v8::Value> v8Value, const CallbackInfo& info) | 37 static void TestTypedefsForceSetAttributeOnThis(v8::Local<v8::Name> name, v8::Lo
cal<v8::Value> v8Value, const CallbackInfo& info) |
(...skipping 347 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
385 { | 385 { |
386 scriptWrappable->toImpl<TestTypedefs>()->ref(); | 386 scriptWrappable->toImpl<TestTypedefs>()->ref(); |
387 } | 387 } |
388 | 388 |
389 void V8TestTypedefs::derefObject(ScriptWrappable* scriptWrappable) | 389 void V8TestTypedefs::derefObject(ScriptWrappable* scriptWrappable) |
390 { | 390 { |
391 scriptWrappable->toImpl<TestTypedefs>()->deref(); | 391 scriptWrappable->toImpl<TestTypedefs>()->deref(); |
392 } | 392 } |
393 | 393 |
394 } // namespace blink | 394 } // namespace blink |
OLD | NEW |