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 #ifndef V8TestInterface_h | 7 #ifndef V8TestInterface_h |
8 #define V8TestInterface_h | 8 #define V8TestInterface_h |
9 | 9 |
10 #include "bindings/core/v8/ScriptWrappable.h" | 10 #include "bindings/core/v8/ScriptWrappable.h" |
(...skipping 21 matching lines...) Expand all Loading... |
32 | 32 |
33 CORE_EXPORT static bool hasInstance(v8::Local<v8::Value>, v8::Isolate*); | 33 CORE_EXPORT static bool hasInstance(v8::Local<v8::Value>, v8::Isolate*); |
34 static v8::Local<v8::Object> findInstanceInPrototypeChain(v8::Local<v8::Valu
e>, v8::Isolate*); | 34 static v8::Local<v8::Object> findInstanceInPrototypeChain(v8::Local<v8::Valu
e>, v8::Isolate*); |
35 CORE_EXPORT static v8::Local<v8::FunctionTemplate> domTemplate(v8::Isolate*)
; | 35 CORE_EXPORT static v8::Local<v8::FunctionTemplate> domTemplate(v8::Isolate*)
; |
36 static TestInterfaceImplementation* toImpl(v8::Local<v8::Object> object) | 36 static TestInterfaceImplementation* toImpl(v8::Local<v8::Object> object) |
37 { | 37 { |
38 return toScriptWrappable(object)->toImpl<TestInterfaceImplementation>(); | 38 return toScriptWrappable(object)->toImpl<TestInterfaceImplementation>(); |
39 } | 39 } |
40 CORE_EXPORT static TestInterfaceImplementation* toImplWithTypeCheck(v8::Isol
ate*, v8::Local<v8::Value>); | 40 CORE_EXPORT static TestInterfaceImplementation* toImplWithTypeCheck(v8::Isol
ate*, v8::Local<v8::Value>); |
41 CORE_EXPORT static WrapperTypeInfo wrapperTypeInfo; | 41 CORE_EXPORT static WrapperTypeInfo wrapperTypeInfo; |
42 static void refObject(ScriptWrappable*); | |
43 static void derefObject(ScriptWrappable*); | |
44 template<typename VisitorDispatcher> | 42 template<typename VisitorDispatcher> |
45 static void trace(VisitorDispatcher visitor, ScriptWrappable* scriptWrappabl
e) | 43 static void trace(VisitorDispatcher visitor, ScriptWrappable* scriptWrappabl
e) |
46 { | 44 { |
| 45 visitor->trace(scriptWrappable->toImpl<TestInterfaceImplementation>()); |
47 } | 46 } |
48 static void visitDOMWrapper(v8::Isolate*, ScriptWrappable*, const v8::Persis
tent<v8::Object>&); | 47 static void visitDOMWrapper(v8::Isolate*, ScriptWrappable*, const v8::Persis
tent<v8::Object>&); |
49 static ActiveScriptWrappable* toActiveScriptWrappable(v8::Local<v8::Object>)
; | 48 static ActiveScriptWrappable* toActiveScriptWrappable(v8::Local<v8::Object>)
; |
50 static void implementsCustomVoidMethodMethodCustom(const v8::FunctionCallbac
kInfo<v8::Value>&); | 49 static void implementsCustomVoidMethodMethodCustom(const v8::FunctionCallbac
kInfo<v8::Value>&); |
51 static void legacyCallCustom(const v8::FunctionCallbackInfo<v8::Value>&); | 50 static void legacyCallCustom(const v8::FunctionCallbackInfo<v8::Value>&); |
52 static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 0
; | 51 static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 0
; |
53 static void installConditionallyEnabledProperties(v8::Local<v8::Object>, v8:
:Isolate*) { } | 52 static void installConditionallyEnabledProperties(v8::Local<v8::Object>, v8:
:Isolate*) { } |
54 static void preparePrototypeAndInterfaceObject(v8::Local<v8::Context>, v8::L
ocal<v8::Object> prototypeObject, v8::Local<v8::Function> interfaceObject, v8::L
ocal<v8::FunctionTemplate> interfaceTemplate); | 53 static void preparePrototypeAndInterfaceObject(v8::Local<v8::Context>, v8::L
ocal<v8::Object> prototypeObject, v8::Local<v8::Function> interfaceObject, v8::L
ocal<v8::FunctionTemplate> interfaceTemplate); |
55 CORE_EXPORT static void updateWrapperTypeInfo(InstallTemplateFunction, Prepa
rePrototypeAndInterfaceObjectFunction); | 54 CORE_EXPORT static void updateWrapperTypeInfo(InstallTemplateFunction, Prepa
rePrototypeAndInterfaceObjectFunction); |
56 CORE_EXPORT static void installV8TestInterfaceTemplate(v8::Local<v8::Functio
nTemplate>, v8::Isolate*); | 55 CORE_EXPORT static void installV8TestInterfaceTemplate(v8::Local<v8::Functio
nTemplate>, v8::Isolate*); |
57 CORE_EXPORT static void registerVoidMethodPartialOverloadMethodForPartialInt
erface(void (*)(const v8::FunctionCallbackInfo<v8::Value>&)); | 56 CORE_EXPORT static void registerVoidMethodPartialOverloadMethodForPartialInt
erface(void (*)(const v8::FunctionCallbackInfo<v8::Value>&)); |
58 CORE_EXPORT static void registerStaticVoidMethodPartialOverloadMethodForPart
ialInterface(void (*)(const v8::FunctionCallbackInfo<v8::Value>&)); | 57 CORE_EXPORT static void registerStaticVoidMethodPartialOverloadMethodForPart
ialInterface(void (*)(const v8::FunctionCallbackInfo<v8::Value>&)); |
59 CORE_EXPORT static void registerPromiseMethodPartialOverloadMethodForPartial
Interface(void (*)(const v8::FunctionCallbackInfo<v8::Value>&)); | 58 CORE_EXPORT static void registerPromiseMethodPartialOverloadMethodForPartial
Interface(void (*)(const v8::FunctionCallbackInfo<v8::Value>&)); |
60 CORE_EXPORT static void registerStaticPromiseMethodPartialOverloadMethodForP
artialInterface(void (*)(const v8::FunctionCallbackInfo<v8::Value>&)); | 59 CORE_EXPORT static void registerStaticPromiseMethodPartialOverloadMethodForP
artialInterface(void (*)(const v8::FunctionCallbackInfo<v8::Value>&)); |
61 CORE_EXPORT static void registerPartial2VoidMethodMethodForPartialInterface(
void (*)(const v8::FunctionCallbackInfo<v8::Value>&)); | 60 CORE_EXPORT static void registerPartial2VoidMethodMethodForPartialInterface(
void (*)(const v8::FunctionCallbackInfo<v8::Value>&)); |
62 CORE_EXPORT static void registerPartial2StaticVoidMethodMethodForPartialInte
rface(void (*)(const v8::FunctionCallbackInfo<v8::Value>&)); | 61 CORE_EXPORT static void registerPartial2StaticVoidMethodMethodForPartialInte
rface(void (*)(const v8::FunctionCallbackInfo<v8::Value>&)); |
63 | 62 |
64 private: | 63 private: |
65 static InstallTemplateFunction installV8TestInterfaceTemplateFunction; | 64 static InstallTemplateFunction installV8TestInterfaceTemplateFunction; |
66 }; | 65 }; |
67 | 66 |
68 template <> | 67 template <> |
69 struct V8TypeOf<TestInterfaceImplementation> { | 68 struct V8TypeOf<TestInterfaceImplementation> { |
70 typedef V8TestInterface Type; | 69 typedef V8TestInterface Type; |
71 }; | 70 }; |
72 | 71 |
73 } // namespace blink | 72 } // namespace blink |
74 | 73 |
75 #endif // V8TestInterface_h | 74 #endif // V8TestInterface_h |
OLD | NEW |