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/ScriptWrappable.h" | 10 #include "bindings/core/v8/ScriptWrappable.h" |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 static v8::Handle<v8::Object> findInstanceInPrototypeChain(v8::Handle<v8::Va
lue>, v8::Isolate*); | 44 static v8::Handle<v8::Object> findInstanceInPrototypeChain(v8::Handle<v8::Va
lue>, v8::Isolate*); |
45 static v8::Handle<v8::FunctionTemplate> domTemplate(v8::Isolate*); | 45 static v8::Handle<v8::FunctionTemplate> domTemplate(v8::Isolate*); |
46 static TestObject* toImpl(v8::Handle<v8::Object> object) | 46 static TestObject* toImpl(v8::Handle<v8::Object> object) |
47 { | 47 { |
48 return blink::toScriptWrappableBase(object)->toImpl<TestObject>(); | 48 return blink::toScriptWrappableBase(object)->toImpl<TestObject>(); |
49 } | 49 } |
50 static TestObject* toImplWithTypeCheck(v8::Isolate*, v8::Handle<v8::Value>); | 50 static TestObject* toImplWithTypeCheck(v8::Isolate*, v8::Handle<v8::Value>); |
51 static const WrapperTypeInfo wrapperTypeInfo; | 51 static const WrapperTypeInfo wrapperTypeInfo; |
52 static void refObject(ScriptWrappableBase* internalPointer); | 52 static void refObject(ScriptWrappableBase* internalPointer); |
53 static void derefObject(ScriptWrappableBase* internalPointer); | 53 static void derefObject(ScriptWrappableBase* internalPointer); |
54 static WrapperPersistentNode* createPersistentHandle(ScriptWrappableBase* in
ternalPointer); | 54 static void trace(Visitor* visitor, ScriptWrappableBase* internalPointer) |
| 55 { |
| 56 } |
55 static void customVoidMethodMethodCustom(const v8::FunctionCallbackInfo<v8::
Value>&); | 57 static void customVoidMethodMethodCustom(const v8::FunctionCallbackInfo<v8::
Value>&); |
56 #if ENABLE(CONDITION) | 58 #if ENABLE(CONDITION) |
57 static void conditionalConditionCustomVoidMethodMethodCustom(const v8::Funct
ionCallbackInfo<v8::Value>&); | 59 static void conditionalConditionCustomVoidMethodMethodCustom(const v8::Funct
ionCallbackInfo<v8::Value>&); |
58 #endif // ENABLE(CONDITION) | 60 #endif // ENABLE(CONDITION) |
59 static void customObjectAttributeAttributeGetterCustom(const v8::PropertyCal
lbackInfo<v8::Value>&); | 61 static void customObjectAttributeAttributeGetterCustom(const v8::PropertyCal
lbackInfo<v8::Value>&); |
60 static void customObjectAttributeAttributeSetterCustom(v8::Local<v8::Value>,
const v8::PropertyCallbackInfo<void>&); | 62 static void customObjectAttributeAttributeSetterCustom(v8::Local<v8::Value>,
const v8::PropertyCallbackInfo<void>&); |
61 static void customGetterLongAttributeAttributeGetterCustom(const v8::Propert
yCallbackInfo<v8::Value>&); | 63 static void customGetterLongAttributeAttributeGetterCustom(const v8::Propert
yCallbackInfo<v8::Value>&); |
62 static void customGetterReadonlyObjectAttributeAttributeGetterCustom(const v
8::PropertyCallbackInfo<v8::Value>&); | 64 static void customGetterReadonlyObjectAttributeAttributeGetterCustom(const v
8::PropertyCallbackInfo<v8::Value>&); |
63 static void customSetterLongAttributeAttributeSetterCustom(v8::Local<v8::Val
ue>, const v8::PropertyCallbackInfo<void>&); | 65 static void customSetterLongAttributeAttributeSetterCustom(v8::Local<v8::Val
ue>, const v8::PropertyCallbackInfo<void>&); |
64 #if ENABLE(CONDITION) | 66 #if ENABLE(CONDITION) |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
155 | 157 |
156 template<class CallbackInfo, class Wrappable> | 158 template<class CallbackInfo, class Wrappable> |
157 inline void v8SetReturnValueFast(const CallbackInfo& callbackInfo, PassRefPtr<Te
stObject> impl, Wrappable* wrappable) | 159 inline void v8SetReturnValueFast(const CallbackInfo& callbackInfo, PassRefPtr<Te
stObject> impl, Wrappable* wrappable) |
158 { | 160 { |
159 v8SetReturnValueFast(callbackInfo, impl.get(), wrappable); | 161 v8SetReturnValueFast(callbackInfo, impl.get(), wrappable); |
160 } | 162 } |
161 | 163 |
162 } // namespace blink | 164 } // namespace blink |
163 | 165 |
164 #endif // V8TestObject_h | 166 #endif // V8TestObject_h |
OLD | NEW |