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 17 matching lines...) Expand all Loading... |
28 STATIC_ONLY(V8TestInterfaceEventInitConstructor); | 28 STATIC_ONLY(V8TestInterfaceEventInitConstructor); |
29 public: | 29 public: |
30 CORE_EXPORT static bool hasInstance(v8::Local<v8::Value>, v8::Isolate*); | 30 CORE_EXPORT static bool hasInstance(v8::Local<v8::Value>, v8::Isolate*); |
31 static v8::Local<v8::Object> findInstanceInPrototypeChain(v8::Local<v8::Value>
, v8::Isolate*); | 31 static v8::Local<v8::Object> findInstanceInPrototypeChain(v8::Local<v8::Value>
, v8::Isolate*); |
32 CORE_EXPORT static v8::Local<v8::FunctionTemplate> domTemplate(v8::Isolate*, c
onst DOMWrapperWorld&); | 32 CORE_EXPORT static v8::Local<v8::FunctionTemplate> domTemplate(v8::Isolate*, c
onst DOMWrapperWorld&); |
33 static TestInterfaceEventInitConstructor* toImpl(v8::Local<v8::Object> object)
{ | 33 static TestInterfaceEventInitConstructor* toImpl(v8::Local<v8::Object> object)
{ |
34 return toScriptWrappable(object)->toImpl<TestInterfaceEventInitConstructor>(
); | 34 return toScriptWrappable(object)->toImpl<TestInterfaceEventInitConstructor>(
); |
35 } | 35 } |
36 CORE_EXPORT static TestInterfaceEventInitConstructor* toImplWithTypeCheck(v8::
Isolate*, v8::Local<v8::Value>); | 36 CORE_EXPORT static TestInterfaceEventInitConstructor* toImplWithTypeCheck(v8::
Isolate*, v8::Local<v8::Value>); |
37 CORE_EXPORT static const WrapperTypeInfo wrapperTypeInfo; | 37 CORE_EXPORT static const WrapperTypeInfo wrapperTypeInfo; |
38 template<typename VisitorDispatcher> | 38 static void trace(Visitor* visitor, ScriptWrappable* scriptWrappable) { |
39 static void trace(VisitorDispatcher visitor, ScriptWrappable* scriptWrappable)
{ | |
40 visitor->trace(scriptWrappable->toImpl<TestInterfaceEventInitConstructor>())
; | 39 visitor->trace(scriptWrappable->toImpl<TestInterfaceEventInitConstructor>())
; |
41 } | 40 } |
42 static void traceWrappers(WrapperVisitor* visitor, ScriptWrappable* scriptWrap
pable) { | 41 static void traceWrappers(WrapperVisitor* visitor, ScriptWrappable* scriptWrap
pable) { |
43 visitor->traceWrappers(scriptWrappable->toImpl<TestInterfaceEventInitConstru
ctor>()); | 42 visitor->traceWrappers(scriptWrappable->toImpl<TestInterfaceEventInitConstru
ctor>()); |
44 } | 43 } |
45 static void constructorCallback(const v8::FunctionCallbackInfo<v8::Value>&); | 44 static void constructorCallback(const v8::FunctionCallbackInfo<v8::Value>&); |
46 static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 0; | 45 static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 0; |
47 }; | 46 }; |
48 | 47 |
49 template <> | 48 template <> |
50 struct V8TypeOf<TestInterfaceEventInitConstructor> { | 49 struct V8TypeOf<TestInterfaceEventInitConstructor> { |
51 typedef V8TestInterfaceEventInitConstructor Type; | 50 typedef V8TestInterfaceEventInitConstructor Type; |
52 }; | 51 }; |
53 | 52 |
54 } // namespace blink | 53 } // namespace blink |
55 | 54 |
56 #endif // V8TestInterfaceEventInitConstructor_h | 55 #endif // V8TestInterfaceEventInitConstructor_h |
OLD | NEW |