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 29 matching lines...) Expand all Loading... |
40 static bool attributeForPrivateScriptOnlyAttributeSetter(LocalFrame* fra
me, TestObject* holderImpl, String cppValue); | 40 static bool attributeForPrivateScriptOnlyAttributeSetter(LocalFrame* fra
me, TestObject* holderImpl, String cppValue); |
41 static bool enumForPrivateScriptAttributeGetter(LocalFrame* frame, TestO
bject* holderImpl, String* result); | 41 static bool enumForPrivateScriptAttributeGetter(LocalFrame* frame, TestO
bject* holderImpl, String* result); |
42 static bool enumForPrivateScriptAttributeSetter(LocalFrame* frame, TestO
bject* holderImpl, String cppValue); | 42 static bool enumForPrivateScriptAttributeSetter(LocalFrame* frame, TestO
bject* holderImpl, String cppValue); |
43 }; | 43 }; |
44 | 44 |
45 CORE_EXPORT static bool hasInstance(v8::Local<v8::Value>, v8::Isolate*); | 45 CORE_EXPORT static bool hasInstance(v8::Local<v8::Value>, v8::Isolate*); |
46 static v8::Local<v8::Object> findInstanceInPrototypeChain(v8::Local<v8::Valu
e>, v8::Isolate*); | 46 static v8::Local<v8::Object> findInstanceInPrototypeChain(v8::Local<v8::Valu
e>, v8::Isolate*); |
47 CORE_EXPORT static v8::Local<v8::FunctionTemplate> domTemplate(v8::Isolate*)
; | 47 CORE_EXPORT static v8::Local<v8::FunctionTemplate> domTemplate(v8::Isolate*)
; |
48 static TestObject* toImpl(v8::Local<v8::Object> object) | 48 static TestObject* toImpl(v8::Local<v8::Object> object) |
49 { | 49 { |
50 return blink::toScriptWrappable(object)->toImpl<TestObject>(); | 50 return toScriptWrappable(object)->toImpl<TestObject>(); |
51 } | 51 } |
52 CORE_EXPORT static TestObject* toImplWithTypeCheck(v8::Isolate*, v8::Local<v
8::Value>); | 52 CORE_EXPORT static TestObject* toImplWithTypeCheck(v8::Isolate*, v8::Local<v
8::Value>); |
53 CORE_EXPORT static const WrapperTypeInfo wrapperTypeInfo; | 53 CORE_EXPORT static const WrapperTypeInfo wrapperTypeInfo; |
54 static void refObject(ScriptWrappable*); | 54 static void refObject(ScriptWrappable*); |
55 static void derefObject(ScriptWrappable*); | 55 static void derefObject(ScriptWrappable*); |
56 template<typename VisitorDispatcher> | 56 template<typename VisitorDispatcher> |
57 static void trace(VisitorDispatcher visitor, ScriptWrappable* scriptWrappabl
e) | 57 static void trace(VisitorDispatcher visitor, ScriptWrappable* scriptWrappabl
e) |
58 { | 58 { |
59 } | 59 } |
60 static void customVoidMethodMethodCustom(const v8::FunctionCallbackInfo<v8::
Value>&); | 60 static void customVoidMethodMethodCustom(const v8::FunctionCallbackInfo<v8::
Value>&); |
(...skipping 22 matching lines...) Expand all Loading... |
83 }; | 83 }; |
84 | 84 |
85 template <> | 85 template <> |
86 struct V8TypeOf<TestObject> { | 86 struct V8TypeOf<TestObject> { |
87 typedef V8TestObject Type; | 87 typedef V8TestObject Type; |
88 }; | 88 }; |
89 | 89 |
90 } // namespace blink | 90 } // namespace blink |
91 | 91 |
92 #endif // V8TestObject_h | 92 #endif // V8TestObject_h |
OLD | NEW |