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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
45 static v8::Local<v8::Object> findInstanceInPrototypeChain(v8::Local<v8::Valu
e>, v8::Isolate*); | 45 static v8::Local<v8::Object> findInstanceInPrototypeChain(v8::Local<v8::Valu
e>, v8::Isolate*); |
46 static v8::Local<v8::FunctionTemplate> domTemplate(v8::Isolate*); | 46 static v8::Local<v8::FunctionTemplate> domTemplate(v8::Isolate*); |
47 static TestObject* toImpl(v8::Local<v8::Object> object) | 47 static TestObject* toImpl(v8::Local<v8::Object> object) |
48 { | 48 { |
49 return blink::toScriptWrappable(object)->toImpl<TestObject>(); | 49 return blink::toScriptWrappable(object)->toImpl<TestObject>(); |
50 } | 50 } |
51 static TestObject* toImplWithTypeCheck(v8::Isolate*, v8::Local<v8::Value>); | 51 static TestObject* toImplWithTypeCheck(v8::Isolate*, v8::Local<v8::Value>); |
52 static const WrapperTypeInfo wrapperTypeInfo; | 52 static const WrapperTypeInfo wrapperTypeInfo; |
53 static void refObject(ScriptWrappable*); | 53 static void refObject(ScriptWrappable*); |
54 static void derefObject(ScriptWrappable*); | 54 static void derefObject(ScriptWrappable*); |
55 static void trace(Visitor* visitor, ScriptWrappable* scriptWrappable) | 55 template<typename VisitorDispatcher> |
| 56 static void trace(VisitorDispatcher visitor, ScriptWrappable* scriptWrappabl
e) |
56 { | 57 { |
57 } | 58 } |
58 static void customVoidMethodMethodCustom(const v8::FunctionCallbackInfo<v8::
Value>&); | 59 static void customVoidMethodMethodCustom(const v8::FunctionCallbackInfo<v8::
Value>&); |
59 #if ENABLE(CONDITION) | 60 #if ENABLE(CONDITION) |
60 static void conditionalConditionCustomVoidMethodMethodCustom(const v8::Funct
ionCallbackInfo<v8::Value>&); | 61 static void conditionalConditionCustomVoidMethodMethodCustom(const v8::Funct
ionCallbackInfo<v8::Value>&); |
61 #endif // ENABLE(CONDITION) | 62 #endif // ENABLE(CONDITION) |
62 static void customObjectAttributeAttributeGetterCustom(const v8::PropertyCal
lbackInfo<v8::Value>&); | 63 static void customObjectAttributeAttributeGetterCustom(const v8::PropertyCal
lbackInfo<v8::Value>&); |
63 static void customObjectAttributeAttributeSetterCustom(v8::Local<v8::Value>,
const v8::PropertyCallbackInfo<void>&); | 64 static void customObjectAttributeAttributeSetterCustom(v8::Local<v8::Value>,
const v8::PropertyCallbackInfo<void>&); |
64 static void customGetterLongAttributeAttributeGetterCustom(const v8::Propert
yCallbackInfo<v8::Value>&); | 65 static void customGetterLongAttributeAttributeGetterCustom(const v8::Propert
yCallbackInfo<v8::Value>&); |
65 static void customGetterReadonlyObjectAttributeAttributeGetterCustom(const v
8::PropertyCallbackInfo<v8::Value>&); | 66 static void customGetterReadonlyObjectAttributeAttributeGetterCustom(const v
8::PropertyCallbackInfo<v8::Value>&); |
66 static void customSetterLongAttributeAttributeSetterCustom(v8::Local<v8::Val
ue>, const v8::PropertyCallbackInfo<void>&); | 67 static void customSetterLongAttributeAttributeSetterCustom(v8::Local<v8::Val
ue>, const v8::PropertyCallbackInfo<void>&); |
67 #if ENABLE(CONDITION) | 68 #if ENABLE(CONDITION) |
68 static void customLongAttributeAttributeGetterCustom(const v8::PropertyCallb
ackInfo<v8::Value>&); | 69 static void customLongAttributeAttributeGetterCustom(const v8::PropertyCallb
ackInfo<v8::Value>&); |
69 #endif // ENABLE(CONDITION) | 70 #endif // ENABLE(CONDITION) |
70 #if ENABLE(CONDITION) | 71 #if ENABLE(CONDITION) |
71 static void customLongAttributeAttributeSetterCustom(v8::Local<v8::Value>, c
onst v8::PropertyCallbackInfo<void>&); | 72 static void customLongAttributeAttributeSetterCustom(v8::Local<v8::Value>, c
onst v8::PropertyCallbackInfo<void>&); |
72 #endif // ENABLE(CONDITION) | 73 #endif // ENABLE(CONDITION) |
73 static void customImplementedAsLongAttributeAttributeGetterCustom(const v8::
PropertyCallbackInfo<v8::Value>&); | 74 static void customImplementedAsLongAttributeAttributeGetterCustom(const v8::
PropertyCallbackInfo<v8::Value>&); |
74 static void customImplementedAsLongAttributeAttributeSetterCustom(v8::Local<
v8::Value>, const v8::PropertyCallbackInfo<void>&); | 75 static void customImplementedAsLongAttributeAttributeSetterCustom(v8::Local<
v8::Value>, const v8::PropertyCallbackInfo<void>&); |
75 static void customGetterImplementedAsLongAttributeAttributeGetterCustom(cons
t v8::PropertyCallbackInfo<v8::Value>&); | 76 static void customGetterImplementedAsLongAttributeAttributeGetterCustom(cons
t v8::PropertyCallbackInfo<v8::Value>&); |
76 static void customSetterImplementedAsLongAttributeAttributeSetterCustom(v8::
Local<v8::Value>, const v8::PropertyCallbackInfo<void>&); | 77 static void customSetterImplementedAsLongAttributeAttributeSetterCustom(v8::
Local<v8::Value>, const v8::PropertyCallbackInfo<void>&); |
77 static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 0
; | 78 static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 0
; |
78 static void installConditionallyEnabledProperties(v8::Local<v8::Object>, v8:
:Isolate*); | 79 static void installConditionallyEnabledProperties(v8::Local<v8::Object>, v8:
:Isolate*); |
79 static void installConditionallyEnabledMethods(v8::Local<v8::Object>, v8::Is
olate*); | 80 static void installConditionallyEnabledMethods(v8::Local<v8::Object>, v8::Is
olate*); |
80 }; | 81 }; |
81 | 82 |
82 } // namespace blink | 83 } // namespace blink |
83 | 84 |
84 #endif // V8TestObject_h | 85 #endif // V8TestObject_h |
OLD | NEW |