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 28 matching lines...) Expand all Loading... |
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*); | 42 static void refObject(ScriptWrappable*); |
43 static void derefObject(ScriptWrappable*); | 43 static void derefObject(ScriptWrappable*); |
44 template<typename VisitorDispatcher> | 44 template<typename VisitorDispatcher> |
45 static void trace(VisitorDispatcher visitor, ScriptWrappable* scriptWrappabl
e) | 45 static void trace(VisitorDispatcher visitor, ScriptWrappable* scriptWrappabl
e) |
46 { | 46 { |
47 } | 47 } |
48 static void visitDOMWrapper(v8::Isolate*, ScriptWrappable*, const v8::Persis
tent<v8::Object>&); | 48 static void visitDOMWrapper(v8::Isolate*, ScriptWrappable*, const v8::Persis
tent<v8::Object>&); |
| 49 static ActiveScriptWrappable* toActiveScriptWrappable(v8::Local<v8::Object>)
; |
49 static void implementsCustomVoidMethodMethodCustom(const v8::FunctionCallbac
kInfo<v8::Value>&); | 50 static void implementsCustomVoidMethodMethodCustom(const v8::FunctionCallbac
kInfo<v8::Value>&); |
50 static void legacyCallCustom(const v8::FunctionCallbackInfo<v8::Value>&); | 51 static void legacyCallCustom(const v8::FunctionCallbackInfo<v8::Value>&); |
51 static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 0
; | 52 static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 0
; |
52 static void installConditionallyEnabledProperties(v8::Local<v8::Object>, v8:
:Isolate*) { } | 53 static void installConditionallyEnabledProperties(v8::Local<v8::Object>, v8:
:Isolate*) { } |
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); | 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); |
54 CORE_EXPORT static void updateWrapperTypeInfo(InstallTemplateFunction, Prepa
rePrototypeAndInterfaceObjectFunction); | 55 CORE_EXPORT static void updateWrapperTypeInfo(InstallTemplateFunction, Prepa
rePrototypeAndInterfaceObjectFunction); |
55 CORE_EXPORT static void installV8TestInterfaceTemplate(v8::Local<v8::Functio
nTemplate>, v8::Isolate*); | 56 CORE_EXPORT static void installV8TestInterfaceTemplate(v8::Local<v8::Functio
nTemplate>, v8::Isolate*); |
56 CORE_EXPORT static void registerVoidMethodPartialOverloadMethodForPartialInt
erface(void (*)(const v8::FunctionCallbackInfo<v8::Value>&)); | 57 CORE_EXPORT static void registerVoidMethodPartialOverloadMethodForPartialInt
erface(void (*)(const v8::FunctionCallbackInfo<v8::Value>&)); |
57 CORE_EXPORT static void registerStaticVoidMethodPartialOverloadMethodForPart
ialInterface(void (*)(const v8::FunctionCallbackInfo<v8::Value>&)); | 58 CORE_EXPORT static void registerStaticVoidMethodPartialOverloadMethodForPart
ialInterface(void (*)(const v8::FunctionCallbackInfo<v8::Value>&)); |
58 CORE_EXPORT static void registerPromiseMethodPartialOverloadMethodForPartial
Interface(void (*)(const v8::FunctionCallbackInfo<v8::Value>&)); | 59 CORE_EXPORT static void registerPromiseMethodPartialOverloadMethodForPartial
Interface(void (*)(const v8::FunctionCallbackInfo<v8::Value>&)); |
59 CORE_EXPORT static void registerStaticPromiseMethodPartialOverloadMethodForP
artialInterface(void (*)(const v8::FunctionCallbackInfo<v8::Value>&)); | 60 CORE_EXPORT static void registerStaticPromiseMethodPartialOverloadMethodForP
artialInterface(void (*)(const v8::FunctionCallbackInfo<v8::Value>&)); |
60 CORE_EXPORT static void registerPartial2VoidMethodMethodForPartialInterface(
void (*)(const v8::FunctionCallbackInfo<v8::Value>&)); | 61 CORE_EXPORT static void registerPartial2VoidMethodMethodForPartialInterface(
void (*)(const v8::FunctionCallbackInfo<v8::Value>&)); |
61 CORE_EXPORT static void registerPartial2StaticVoidMethodMethodForPartialInte
rface(void (*)(const v8::FunctionCallbackInfo<v8::Value>&)); | 62 CORE_EXPORT static void registerPartial2StaticVoidMethodMethodForPartialInte
rface(void (*)(const v8::FunctionCallbackInfo<v8::Value>&)); |
62 | 63 |
63 private: | 64 private: |
64 static InstallTemplateFunction installV8TestInterfaceTemplateFunction; | 65 static InstallTemplateFunction installV8TestInterfaceTemplateFunction; |
65 }; | 66 }; |
66 | 67 |
67 template <> | 68 template <> |
68 struct V8TypeOf<TestInterfaceImplementation> { | 69 struct V8TypeOf<TestInterfaceImplementation> { |
69 typedef V8TestInterface Type; | 70 typedef V8TestInterface Type; |
70 }; | 71 }; |
71 | 72 |
72 } // namespace blink | 73 } // namespace blink |
73 | 74 |
74 #endif // V8TestInterface_h | 75 #endif // V8TestInterface_h |
OLD | NEW |