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 23 matching lines...) Expand all Loading... |
34 static bool stringAttributeAttributeGetter(LocalFrame* frame, TestObject
* holderImpl, String* result); | 34 static bool stringAttributeAttributeGetter(LocalFrame* frame, TestObject
* holderImpl, String* result); |
35 static bool stringAttributeAttributeSetter(LocalFrame* frame, TestObject
* holderImpl, String cppValue); | 35 static bool stringAttributeAttributeSetter(LocalFrame* frame, TestObject
* holderImpl, String cppValue); |
36 static bool nodeAttributeAttributeGetter(LocalFrame* frame, TestObject*
holderImpl, RefPtrWillBeRawPtr<Node>* result); | 36 static bool nodeAttributeAttributeGetter(LocalFrame* frame, TestObject*
holderImpl, RefPtrWillBeRawPtr<Node>* result); |
37 static bool nodeAttributeAttributeSetter(LocalFrame* frame, TestObject*
holderImpl, PassRefPtrWillBeRawPtr<Node> cppValue); | 37 static bool nodeAttributeAttributeSetter(LocalFrame* frame, TestObject*
holderImpl, PassRefPtrWillBeRawPtr<Node> cppValue); |
38 static bool attributeForPrivateScriptOnlyAttributeGetter(LocalFrame* fra
me, TestObject* holderImpl, String* result); | 38 static bool attributeForPrivateScriptOnlyAttributeGetter(LocalFrame* fra
me, TestObject* holderImpl, String* result); |
39 static bool attributeForPrivateScriptOnlyAttributeSetter(LocalFrame* fra
me, TestObject* holderImpl, String cppValue); | 39 static bool attributeForPrivateScriptOnlyAttributeSetter(LocalFrame* fra
me, TestObject* holderImpl, String cppValue); |
40 static bool enumForPrivateScriptAttributeGetter(LocalFrame* frame, TestO
bject* holderImpl, String* result); | 40 static bool enumForPrivateScriptAttributeGetter(LocalFrame* frame, TestO
bject* holderImpl, String* result); |
41 static bool enumForPrivateScriptAttributeSetter(LocalFrame* frame, TestO
bject* holderImpl, String cppValue); | 41 static bool enumForPrivateScriptAttributeSetter(LocalFrame* frame, TestO
bject* holderImpl, String cppValue); |
42 }; | 42 }; |
43 | 43 |
44 static bool hasInstance(v8::Handle<v8::Value>, v8::Isolate*); | 44 static bool hasInstance(v8::Local<v8::Value>, v8::Isolate*); |
45 static v8::Handle<v8::Object> findInstanceInPrototypeChain(v8::Handle<v8::Va
lue>, 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::Handle<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::Handle<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 static void trace(Visitor* visitor, ScriptWrappable* scriptWrappable) |
56 { | 56 { |
57 } | 57 } |
58 static void customVoidMethodMethodCustom(const v8::FunctionCallbackInfo<v8::
Value>&); | 58 static void customVoidMethodMethodCustom(const v8::FunctionCallbackInfo<v8::
Value>&); |
59 #if ENABLE(CONDITION) | 59 #if ENABLE(CONDITION) |
60 static void conditionalConditionCustomVoidMethodMethodCustom(const v8::Funct
ionCallbackInfo<v8::Value>&); | 60 static void conditionalConditionCustomVoidMethodMethodCustom(const v8::Funct
ionCallbackInfo<v8::Value>&); |
61 #endif // ENABLE(CONDITION) | 61 #endif // ENABLE(CONDITION) |
(...skipping 13 matching lines...) Expand all Loading... |
75 static void customGetterImplementedAsLongAttributeAttributeGetterCustom(cons
t v8::PropertyCallbackInfo<v8::Value>&); | 75 static void customGetterImplementedAsLongAttributeAttributeGetterCustom(cons
t v8::PropertyCallbackInfo<v8::Value>&); |
76 static void customSetterImplementedAsLongAttributeAttributeSetterCustom(v8::
Local<v8::Value>, const v8::PropertyCallbackInfo<void>&); | 76 static void customSetterImplementedAsLongAttributeAttributeSetterCustom(v8::
Local<v8::Value>, const v8::PropertyCallbackInfo<void>&); |
77 static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 0
; | 77 static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 0
; |
78 static void installConditionallyEnabledProperties(v8::Local<v8::Object>, v8:
:Isolate*); | 78 static void installConditionallyEnabledProperties(v8::Local<v8::Object>, v8:
:Isolate*); |
79 static void installConditionallyEnabledMethods(v8::Local<v8::Object>, v8::Is
olate*); | 79 static void installConditionallyEnabledMethods(v8::Local<v8::Object>, v8::Is
olate*); |
80 }; | 80 }; |
81 | 81 |
82 } // namespace blink | 82 } // namespace blink |
83 | 83 |
84 #endif // V8TestObject_h | 84 #endif // V8TestObject_h |
OLD | NEW |