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 toImpl(blink::toScriptWrappableBase(object)); | 48 return toImpl(blink::toScriptWrappableBase(object)); |
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 PersistentNode* createPersistentHandle(ScriptWrappableBase* internalP
ointer); | 54 static WrapperPersistentNode* createPersistentHandle(ScriptWrappableBase* in
ternalPointer); |
55 static void customVoidMethodMethodCustom(const v8::FunctionCallbackInfo<v8::
Value>&); | 55 static void customVoidMethodMethodCustom(const v8::FunctionCallbackInfo<v8::
Value>&); |
56 #if ENABLE(CONDITION) | 56 #if ENABLE(CONDITION) |
57 static void conditionalConditionCustomVoidMethodMethodCustom(const v8::Funct
ionCallbackInfo<v8::Value>&); | 57 static void conditionalConditionCustomVoidMethodMethodCustom(const v8::Funct
ionCallbackInfo<v8::Value>&); |
58 #endif // ENABLE(CONDITION) | 58 #endif // ENABLE(CONDITION) |
59 static void customObjectAttributeAttributeGetterCustom(const v8::PropertyCal
lbackInfo<v8::Value>&); | 59 static void customObjectAttributeAttributeGetterCustom(const v8::PropertyCal
lbackInfo<v8::Value>&); |
60 static void customObjectAttributeAttributeSetterCustom(v8::Local<v8::Value>,
const v8::PropertyCallbackInfo<void>&); | 60 static void customObjectAttributeAttributeSetterCustom(v8::Local<v8::Value>,
const v8::PropertyCallbackInfo<void>&); |
61 static void customGetterLongAttributeAttributeGetterCustom(const v8::Propert
yCallbackInfo<v8::Value>&); | 61 static void customGetterLongAttributeAttributeGetterCustom(const v8::Propert
yCallbackInfo<v8::Value>&); |
62 static void customGetterReadonlyObjectAttributeAttributeGetterCustom(const v
8::PropertyCallbackInfo<v8::Value>&); | 62 static void customGetterReadonlyObjectAttributeAttributeGetterCustom(const v
8::PropertyCallbackInfo<v8::Value>&); |
63 static void customSetterLongAttributeAttributeSetterCustom(v8::Local<v8::Val
ue>, const v8::PropertyCallbackInfo<void>&); | 63 static void customSetterLongAttributeAttributeSetterCustom(v8::Local<v8::Val
ue>, const v8::PropertyCallbackInfo<void>&); |
64 #if ENABLE(CONDITION) | 64 #if ENABLE(CONDITION) |
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
161 } | 161 } |
162 | 162 |
163 template<class CallbackInfo, class Wrappable> | 163 template<class CallbackInfo, class Wrappable> |
164 inline void v8SetReturnValueFast(const CallbackInfo& callbackInfo, PassRefPtr<Te
stObject> impl, Wrappable* wrappable) | 164 inline void v8SetReturnValueFast(const CallbackInfo& callbackInfo, PassRefPtr<Te
stObject> impl, Wrappable* wrappable) |
165 { | 165 { |
166 v8SetReturnValueFast(callbackInfo, impl.get(), wrappable); | 166 v8SetReturnValueFast(callbackInfo, impl.get(), wrappable); |
167 } | 167 } |
168 | 168 |
169 } // namespace blink | 169 } // namespace blink |
170 #endif // V8TestObject_h | 170 #endif // V8TestObject_h |
OLD | NEW |