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 V8TestInterfaceEventTarget_h | 7 #ifndef V8TestInterfaceEventTarget_h |
8 #define V8TestInterfaceEventTarget_h | 8 #define V8TestInterfaceEventTarget_h |
9 | 9 |
10 #include "bindings/core/v8/ScriptWrappable.h" | 10 #include "bindings/core/v8/ScriptWrappable.h" |
(...skipping 24 matching lines...) Expand all Loading... |
35 static TestInterfaceEventTarget* toImplWithTypeCheck(v8::Isolate*, v8::Handl
e<v8::Value>); | 35 static TestInterfaceEventTarget* toImplWithTypeCheck(v8::Isolate*, v8::Handl
e<v8::Value>); |
36 static const WrapperTypeInfo wrapperTypeInfo; | 36 static const WrapperTypeInfo wrapperTypeInfo; |
37 static void refObject(ScriptWrappableBase*); | 37 static void refObject(ScriptWrappableBase*); |
38 static void derefObject(ScriptWrappableBase*); | 38 static void derefObject(ScriptWrappableBase*); |
39 static void trace(Visitor* visitor, ScriptWrappableBase* scriptWrappableBase
) | 39 static void trace(Visitor* visitor, ScriptWrappableBase* scriptWrappableBase
) |
40 { | 40 { |
41 #if ENABLE(OILPAN) | 41 #if ENABLE(OILPAN) |
42 visitor->trace(scriptWrappableBase->toImpl<TestInterfaceEventTarget>()); | 42 visitor->trace(scriptWrappableBase->toImpl<TestInterfaceEventTarget>()); |
43 #endif | 43 #endif |
44 } | 44 } |
45 static EventTarget* toEventTarget(v8::Handle<v8::Object>); | |
46 static const int eventListenerCacheIndex = v8DefaultWrapperInternalFieldCoun
t + 0; | 45 static const int eventListenerCacheIndex = v8DefaultWrapperInternalFieldCoun
t + 0; |
47 static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 1
; | 46 static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 1
; |
48 static inline ScriptWrappableBase* toScriptWrappableBase(TestInterfaceEventT
arget* impl) | 47 static inline ScriptWrappableBase* toScriptWrappableBase(TestInterfaceEventT
arget* impl) |
49 { | 48 { |
50 return impl->toScriptWrappableBase(); | 49 return impl->toScriptWrappableBase(); |
51 } | 50 } |
52 static void installConditionallyEnabledProperties(v8::Handle<v8::Object>, v8
::Isolate*) { } | 51 static void installConditionallyEnabledProperties(v8::Handle<v8::Object>, v8
::Isolate*) { } |
53 static void installConditionallyEnabledMethods(v8::Handle<v8::Object>, v8::I
solate*) { } | 52 static void installConditionallyEnabledMethods(v8::Handle<v8::Object>, v8::I
solate*) { } |
54 }; | 53 }; |
55 | 54 |
56 } // namespace blink | 55 } // namespace blink |
57 | 56 |
58 #endif // V8TestInterfaceEventTarget_h | 57 #endif // V8TestInterfaceEventTarget_h |
OLD | NEW |