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 V8TestObject_h | 7 #ifndef V8TestObject_h |
8 #define V8TestObject_h | 8 #define V8TestObject_h |
9 | 9 |
10 #include "bindings/core/v8/V8Binding.h" | 10 #include "bindings/core/v8/V8Binding.h" |
(...skipping 19 matching lines...) Expand all Loading... |
30 static void customVoidMethodMethodCustom(const v8::FunctionCallbackInfo<v8::
Value>&); | 30 static void customVoidMethodMethodCustom(const v8::FunctionCallbackInfo<v8::
Value>&); |
31 #if ENABLE(CONDITION) | 31 #if ENABLE(CONDITION) |
32 static void conditionalConditionCustomVoidMethodMethodCustom(const v8::Funct
ionCallbackInfo<v8::Value>&); | 32 static void conditionalConditionCustomVoidMethodMethodCustom(const v8::Funct
ionCallbackInfo<v8::Value>&); |
33 #endif // ENABLE(CONDITION) | 33 #endif // ENABLE(CONDITION) |
34 static bool voidMethodImplementedInPrivateScriptMethodImplementedInPrivateSc
ript(LocalFrame* frame, TestObject* holderImpl); | 34 static bool voidMethodImplementedInPrivateScriptMethodImplementedInPrivateSc
ript(LocalFrame* frame, TestObject* holderImpl); |
35 static bool shortMethodImplementedInPrivateScriptMethodImplementedInPrivateS
cript(LocalFrame* frame, TestObject* holderImpl, int* result); | 35 static bool shortMethodImplementedInPrivateScriptMethodImplementedInPrivateS
cript(LocalFrame* frame, TestObject* holderImpl, int* result); |
36 static bool shortMethodWithShortArgumentImplementedInPrivateScriptMethodImpl
ementedInPrivateScript(LocalFrame* frame, TestObject* holderImpl, int value, int
* result); | 36 static bool shortMethodWithShortArgumentImplementedInPrivateScriptMethodImpl
ementedInPrivateScript(LocalFrame* frame, TestObject* holderImpl, int value, int
* result); |
37 static bool stringMethodWithStringArgumentImplementedInPrivateScriptMethodIm
plementedInPrivateScript(LocalFrame* frame, TestObject* holderImpl, String value
, String* result); | 37 static bool stringMethodWithStringArgumentImplementedInPrivateScriptMethodIm
plementedInPrivateScript(LocalFrame* frame, TestObject* holderImpl, String value
, String* result); |
38 static bool nodeMethodWithNodeArgumentImplementedInPrivateScriptMethodImplem
entedInPrivateScript(LocalFrame* frame, TestObject* holderImpl, PassRefPtrWillBe
RawPtr<Node> value, RefPtrWillBeRawPtr<Node>* result); | 38 static bool nodeMethodWithNodeArgumentImplementedInPrivateScriptMethodImplem
entedInPrivateScript(LocalFrame* frame, TestObject* holderImpl, PassRefPtrWillBe
RawPtr<Node> value, RefPtrWillBeRawPtr<Node>* result); |
39 static bool nodeMethodWithVariousArgumentsImplementedInPrivateScriptMethodIm
plementedInPrivateScript(LocalFrame* frame, TestObject* holderImpl, PassRefPtrWi
llBeRawPtr<Document> document, PassRefPtrWillBeRawPtr<Node> node, int value1, do
uble value2, String string, RefPtrWillBeRawPtr<Node>* result); | 39 static bool nodeMethodWithVariousArgumentsImplementedInPrivateScriptMethodIm
plementedInPrivateScript(LocalFrame* frame, TestObject* holderImpl, PassRefPtrWi
llBeRawPtr<Document> document, PassRefPtrWillBeRawPtr<Node> node, int value1, do
uble value2, String string, RefPtrWillBeRawPtr<Node>* result); |
40 static bool addIntegerForPrivateScriptOnlyMethodImplementedInPrivateScript(L
ocalFrame* frame, TestObject* holderImpl, int value1, int value2, int* result); | 40 static bool methodForPrivateScriptOnlyMethodImplementedInPrivateScript(Local
Frame* frame, TestObject* holderImpl, int value1, int value2, int* result); |
41 static void customObjectAttributeAttributeGetterCustom(const v8::PropertyCal
lbackInfo<v8::Value>&); | 41 static void customObjectAttributeAttributeGetterCustom(const v8::PropertyCal
lbackInfo<v8::Value>&); |
42 static void customObjectAttributeAttributeSetterCustom(v8::Local<v8::Value>,
const v8::PropertyCallbackInfo<void>&); | 42 static void customObjectAttributeAttributeSetterCustom(v8::Local<v8::Value>,
const v8::PropertyCallbackInfo<void>&); |
43 static void customGetterLongAttributeAttributeGetterCustom(const v8::Propert
yCallbackInfo<v8::Value>&); | 43 static void customGetterLongAttributeAttributeGetterCustom(const v8::Propert
yCallbackInfo<v8::Value>&); |
44 static void customGetterReadonlyObjectAttributeAttributeGetterCustom(const v
8::PropertyCallbackInfo<v8::Value>&); | 44 static void customGetterReadonlyObjectAttributeAttributeGetterCustom(const v
8::PropertyCallbackInfo<v8::Value>&); |
45 static void customSetterLongAttributeAttributeSetterCustom(v8::Local<v8::Val
ue>, const v8::PropertyCallbackInfo<void>&); | 45 static void customSetterLongAttributeAttributeSetterCustom(v8::Local<v8::Val
ue>, const v8::PropertyCallbackInfo<void>&); |
46 #if ENABLE(CONDITION) | 46 #if ENABLE(CONDITION) |
47 static void customLongAttributeAttributeGetterCustom(const v8::PropertyCallb
ackInfo<v8::Value>&); | 47 static void customLongAttributeAttributeGetterCustom(const v8::PropertyCallb
ackInfo<v8::Value>&); |
48 #endif // ENABLE(CONDITION) | 48 #endif // ENABLE(CONDITION) |
49 #if ENABLE(CONDITION) | 49 #if ENABLE(CONDITION) |
50 static void customLongAttributeAttributeSetterCustom(v8::Local<v8::Value>, c
onst v8::PropertyCallbackInfo<void>&); | 50 static void customLongAttributeAttributeSetterCustom(v8::Local<v8::Value>, c
onst v8::PropertyCallbackInfo<void>&); |
51 #endif // ENABLE(CONDITION) | 51 #endif // ENABLE(CONDITION) |
52 static void customImplementedAsLongAttributeAttributeGetterCustom(const v8::
PropertyCallbackInfo<v8::Value>&); | 52 static void customImplementedAsLongAttributeAttributeGetterCustom(const v8::
PropertyCallbackInfo<v8::Value>&); |
53 static void customImplementedAsLongAttributeAttributeSetterCustom(v8::Local<
v8::Value>, const v8::PropertyCallbackInfo<void>&); | 53 static void customImplementedAsLongAttributeAttributeSetterCustom(v8::Local<
v8::Value>, const v8::PropertyCallbackInfo<void>&); |
54 static void customGetterImplementedAsLongAttributeAttributeGetterCustom(cons
t v8::PropertyCallbackInfo<v8::Value>&); | 54 static void customGetterImplementedAsLongAttributeAttributeGetterCustom(cons
t v8::PropertyCallbackInfo<v8::Value>&); |
55 static void customSetterImplementedAsLongAttributeAttributeSetterCustom(v8::
Local<v8::Value>, const v8::PropertyCallbackInfo<void>&); | 55 static void customSetterImplementedAsLongAttributeAttributeSetterCustom(v8::
Local<v8::Value>, const v8::PropertyCallbackInfo<void>&); |
56 static bool readonlyShortAttributeAttributeGetterImplementedInPrivateScript(
LocalFrame* frame, TestObject* holderImpl, int* result); | 56 static bool readonlyShortAttributeAttributeGetterImplementedInPrivateScript(
LocalFrame* frame, TestObject* holderImpl, int* result); |
57 static bool shortAttributeAttributeGetterImplementedInPrivateScript(LocalFra
me* frame, TestObject* holderImpl, int* result); | 57 static bool shortAttributeAttributeGetterImplementedInPrivateScript(LocalFra
me* frame, TestObject* holderImpl, int* result); |
58 static bool shortAttributeAttributeSetterImplementedInPrivateScript(LocalFra
me* frame, TestObject* holderImpl, int cppValue); | 58 static bool shortAttributeAttributeSetterImplementedInPrivateScript(LocalFra
me* frame, TestObject* holderImpl, int cppValue); |
59 static bool stringAttributeAttributeGetterImplementedInPrivateScript(LocalFr
ame* frame, TestObject* holderImpl, String* result); | 59 static bool stringAttributeAttributeGetterImplementedInPrivateScript(LocalFr
ame* frame, TestObject* holderImpl, String* result); |
60 static bool stringAttributeAttributeSetterImplementedInPrivateScript(LocalFr
ame* frame, TestObject* holderImpl, String cppValue); | 60 static bool stringAttributeAttributeSetterImplementedInPrivateScript(LocalFr
ame* frame, TestObject* holderImpl, String cppValue); |
61 static bool nodeAttributeAttributeGetterImplementedInPrivateScript(LocalFram
e* frame, TestObject* holderImpl, RefPtrWillBeRawPtr<Node>* result); | 61 static bool nodeAttributeAttributeGetterImplementedInPrivateScript(LocalFram
e* frame, TestObject* holderImpl, RefPtrWillBeRawPtr<Node>* result); |
62 static bool nodeAttributeAttributeSetterImplementedInPrivateScript(LocalFram
e* frame, TestObject* holderImpl, PassRefPtrWillBeRawPtr<Node> cppValue); | 62 static bool nodeAttributeAttributeSetterImplementedInPrivateScript(LocalFram
e* frame, TestObject* holderImpl, PassRefPtrWillBeRawPtr<Node> cppValue); |
63 static bool stringAttributeForPrivateScriptOnlyAttributeGetterImplementedInP
rivateScript(LocalFrame* frame, TestObject* holderImpl, String* result); | 63 static bool attributeForPrivateScriptOnlyAttributeGetterImplementedInPrivate
Script(LocalFrame* frame, TestObject* holderImpl, String* result); |
64 static bool stringAttributeForPrivateScriptOnlyAttributeSetterImplementedInP
rivateScript(LocalFrame* frame, TestObject* holderImpl, String cppValue); | 64 static bool attributeForPrivateScriptOnlyAttributeSetterImplementedInPrivate
Script(LocalFrame* frame, TestObject* holderImpl, String cppValue); |
65 static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 0
; | 65 static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 0
; |
66 static inline void* toInternalPointer(TestObject* impl) | 66 static inline void* toInternalPointer(TestObject* impl) |
67 { | 67 { |
68 return impl; | 68 return impl; |
69 } | 69 } |
70 | 70 |
71 static inline TestObject* fromInternalPointer(void* object) | 71 static inline TestObject* fromInternalPointer(void* object) |
72 { | 72 { |
73 return static_cast<TestObject*>(object); | 73 return static_cast<TestObject*>(object); |
74 } | 74 } |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
150 } | 150 } |
151 | 151 |
152 template<class CallbackInfo, class Wrappable> | 152 template<class CallbackInfo, class Wrappable> |
153 inline void v8SetReturnValueFast(const CallbackInfo& callbackInfo, PassRefPtr<Te
stObject> impl, Wrappable* wrappable) | 153 inline void v8SetReturnValueFast(const CallbackInfo& callbackInfo, PassRefPtr<Te
stObject> impl, Wrappable* wrappable) |
154 { | 154 { |
155 v8SetReturnValueFast(callbackInfo, impl.get(), wrappable); | 155 v8SetReturnValueFast(callbackInfo, impl.get(), wrappable); |
156 } | 156 } |
157 | 157 |
158 } | 158 } |
159 #endif // V8TestObject_h | 159 #endif // V8TestObject_h |
OLD | NEW |