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. | 5 // This file has been auto-generated by code_generator_v8.py. |
6 // DO NOT MODIFY! | 6 // DO NOT MODIFY! |
7 | 7 |
8 // This file has been generated from the Jinja2 template in | 8 // This file has been generated from the Jinja2 template in |
9 // third_party/WebKit/Source/bindings/templates/interface.h.tmpl | 9 // third_party/WebKit/Source/bindings/templates/interface.h.tmpl |
10 | 10 |
(...skipping 27 matching lines...) Expand all Loading... |
38 STATIC_ONLY(V8TestObject); | 38 STATIC_ONLY(V8TestObject); |
39 public: | 39 public: |
40 CORE_EXPORT static bool hasInstance(v8::Local<v8::Value>, v8::Isolate*); | 40 CORE_EXPORT static bool hasInstance(v8::Local<v8::Value>, v8::Isolate*); |
41 static v8::Local<v8::Object> findInstanceInPrototypeChain(v8::Local<v8::Value>
, v8::Isolate*); | 41 static v8::Local<v8::Object> findInstanceInPrototypeChain(v8::Local<v8::Value>
, v8::Isolate*); |
42 CORE_EXPORT static v8::Local<v8::FunctionTemplate> domTemplate(v8::Isolate*, c
onst DOMWrapperWorld&); | 42 CORE_EXPORT static v8::Local<v8::FunctionTemplate> domTemplate(v8::Isolate*, c
onst DOMWrapperWorld&); |
43 static TestObject* toImpl(v8::Local<v8::Object> object) { | 43 static TestObject* toImpl(v8::Local<v8::Object> object) { |
44 return toScriptWrappable(object)->toImpl<TestObject>(); | 44 return toScriptWrappable(object)->toImpl<TestObject>(); |
45 } | 45 } |
46 CORE_EXPORT static TestObject* toImplWithTypeCheck(v8::Isolate*, v8::Local<v8:
:Value>); | 46 CORE_EXPORT static TestObject* toImplWithTypeCheck(v8::Isolate*, v8::Local<v8:
:Value>); |
47 CORE_EXPORT static const WrapperTypeInfo wrapperTypeInfo; | 47 CORE_EXPORT static const WrapperTypeInfo wrapperTypeInfo; |
48 template<typename VisitorDispatcher> | 48 static void trace(Visitor* visitor, ScriptWrappable* scriptWrappable) { |
49 static void trace(VisitorDispatcher visitor, ScriptWrappable* scriptWrappable)
{ | |
50 visitor->trace(scriptWrappable->toImpl<TestObject>()); | 49 visitor->trace(scriptWrappable->toImpl<TestObject>()); |
51 } | 50 } |
52 static void traceWrappers(WrapperVisitor* visitor, ScriptWrappable* scriptWrap
pable) { | 51 static void traceWrappers(WrapperVisitor* visitor, ScriptWrappable* scriptWrap
pable) { |
53 visitor->traceWrappers(scriptWrappable->toImpl<TestObject>()); | 52 visitor->traceWrappers(scriptWrappable->toImpl<TestObject>()); |
54 } | 53 } |
55 static void customVoidMethodMethodCustom(const v8::FunctionCallbackInfo<v8::Va
lue>&); | 54 static void customVoidMethodMethodCustom(const v8::FunctionCallbackInfo<v8::Va
lue>&); |
56 static void customCallPrologueVoidMethodMethodPrologueCustom(const v8::Functio
nCallbackInfo<v8::Value>&, TestObject*); | 55 static void customCallPrologueVoidMethodMethodPrologueCustom(const v8::Functio
nCallbackInfo<v8::Value>&, TestObject*); |
57 static void customCallEpilogueVoidMethodMethodEpilogueCustom(const v8::Functio
nCallbackInfo<v8::Value>&, TestObject*); | 56 static void customCallEpilogueVoidMethodMethodEpilogueCustom(const v8::Functio
nCallbackInfo<v8::Value>&, TestObject*); |
58 static void customObjectAttributeAttributeGetterCustom(const v8::FunctionCallb
ackInfo<v8::Value>&); | 57 static void customObjectAttributeAttributeGetterCustom(const v8::FunctionCallb
ackInfo<v8::Value>&); |
59 static void customObjectAttributeAttributeSetterCustom(v8::Local<v8::Value>, c
onst v8::FunctionCallbackInfo<v8::Value>&); | 58 static void customObjectAttributeAttributeSetterCustom(v8::Local<v8::Value>, c
onst v8::FunctionCallbackInfo<v8::Value>&); |
(...skipping 13 matching lines...) Expand all Loading... |
73 }; | 72 }; |
74 | 73 |
75 template <> | 74 template <> |
76 struct V8TypeOf<TestObject> { | 75 struct V8TypeOf<TestObject> { |
77 typedef V8TestObject Type; | 76 typedef V8TestObject Type; |
78 }; | 77 }; |
79 | 78 |
80 } // namespace blink | 79 } // namespace blink |
81 | 80 |
82 #endif // V8TestObject_h | 81 #endif // V8TestObject_h |
OLD | NEW |