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 V8TestInterfaceNode_h | 7 #ifndef V8TestInterfaceNode_h |
8 #define V8TestInterfaceNode_h | 8 #define V8TestInterfaceNode_h |
9 | 9 |
10 #include "bindings/core/v8/ScriptWrappable.h" | 10 #include "bindings/core/v8/ScriptWrappable.h" |
(...skipping 13 matching lines...) Expand all Loading... |
24 public: | 24 public: |
25 CORE_EXPORT static bool hasInstance(v8::Local<v8::Value>, v8::Isolate*); | 25 CORE_EXPORT static bool hasInstance(v8::Local<v8::Value>, v8::Isolate*); |
26 static v8::Local<v8::Object> findInstanceInPrototypeChain(v8::Local<v8::Valu
e>, v8::Isolate*); | 26 static v8::Local<v8::Object> findInstanceInPrototypeChain(v8::Local<v8::Valu
e>, v8::Isolate*); |
27 CORE_EXPORT static v8::Local<v8::FunctionTemplate> domTemplate(v8::Isolate*)
; | 27 CORE_EXPORT static v8::Local<v8::FunctionTemplate> domTemplate(v8::Isolate*)
; |
28 static TestInterfaceNode* toImpl(v8::Local<v8::Object> object) | 28 static TestInterfaceNode* toImpl(v8::Local<v8::Object> object) |
29 { | 29 { |
30 return toScriptWrappable(object)->toImpl<TestInterfaceNode>(); | 30 return toScriptWrappable(object)->toImpl<TestInterfaceNode>(); |
31 } | 31 } |
32 CORE_EXPORT static TestInterfaceNode* toImplWithTypeCheck(v8::Isolate*, v8::
Local<v8::Value>); | 32 CORE_EXPORT static TestInterfaceNode* toImplWithTypeCheck(v8::Isolate*, v8::
Local<v8::Value>); |
33 CORE_EXPORT static const WrapperTypeInfo wrapperTypeInfo; | 33 CORE_EXPORT static const WrapperTypeInfo wrapperTypeInfo; |
34 static void refObject(ScriptWrappable*); | |
35 static void derefObject(ScriptWrappable*); | |
36 template<typename VisitorDispatcher> | 34 template<typename VisitorDispatcher> |
37 static void trace(VisitorDispatcher visitor, ScriptWrappable* scriptWrappabl
e) | 35 static void trace(VisitorDispatcher visitor, ScriptWrappable* scriptWrappabl
e) |
38 { | 36 { |
39 visitor->trace(scriptWrappable->toImpl<TestInterfaceNode>()); | 37 visitor->trace(scriptWrappable->toImpl<TestInterfaceNode>()); |
40 } | 38 } |
41 static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 0
; | 39 static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 0
; |
42 static void installConditionallyEnabledProperties(v8::Local<v8::Object>, v8:
:Isolate*) { } | 40 static void installConditionallyEnabledProperties(v8::Local<v8::Object>, v8:
:Isolate*) { } |
43 static void preparePrototypeAndInterfaceObject(v8::Local<v8::Context>, v8::L
ocal<v8::Object> prototypeObject, v8::Local<v8::Function> interfaceObject, v8::L
ocal<v8::FunctionTemplate> interfaceTemplate) { } | 41 static void preparePrototypeAndInterfaceObject(v8::Local<v8::Context>, v8::L
ocal<v8::Object> prototypeObject, v8::Local<v8::Function> interfaceObject, v8::L
ocal<v8::FunctionTemplate> interfaceTemplate) { } |
44 }; | 42 }; |
45 | 43 |
46 template <> | 44 template <> |
47 struct V8TypeOf<TestInterfaceNode> { | 45 struct V8TypeOf<TestInterfaceNode> { |
48 typedef V8TestInterfaceNode Type; | 46 typedef V8TestInterfaceNode Type; |
49 }; | 47 }; |
50 | 48 |
51 } // namespace blink | 49 } // namespace blink |
52 | 50 |
53 #endif // V8TestInterfaceNode_h | 51 #endif // V8TestInterfaceNode_h |
OLD | NEW |