| 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 20 matching lines...) Expand all Loading... |
| 31 public: | 31 public: |
| 32 CORE_EXPORT static bool hasInstance(v8::Local<v8::Value>, v8::Isolate*); | 32 CORE_EXPORT static bool hasInstance(v8::Local<v8::Value>, v8::Isolate*); |
| 33 static v8::Local<v8::Object> findInstanceInPrototypeChain(v8::Local<v8::Valu
e>, v8::Isolate*); | 33 static v8::Local<v8::Object> findInstanceInPrototypeChain(v8::Local<v8::Valu
e>, v8::Isolate*); |
| 34 CORE_EXPORT static v8::Local<v8::FunctionTemplate> domTemplate(v8::Isolate*)
; | 34 CORE_EXPORT static v8::Local<v8::FunctionTemplate> domTemplate(v8::Isolate*)
; |
| 35 static TestInterfaceEventTarget* toImpl(v8::Local<v8::Object> object) | 35 static TestInterfaceEventTarget* toImpl(v8::Local<v8::Object> object) |
| 36 { | 36 { |
| 37 return toScriptWrappable(object)->toImpl<TestInterfaceEventTarget>(); | 37 return toScriptWrappable(object)->toImpl<TestInterfaceEventTarget>(); |
| 38 } | 38 } |
| 39 CORE_EXPORT static TestInterfaceEventTarget* toImplWithTypeCheck(v8::Isolate
*, v8::Local<v8::Value>); | 39 CORE_EXPORT static TestInterfaceEventTarget* toImplWithTypeCheck(v8::Isolate
*, v8::Local<v8::Value>); |
| 40 CORE_EXPORT static const WrapperTypeInfo wrapperTypeInfo; | 40 CORE_EXPORT static const WrapperTypeInfo wrapperTypeInfo; |
| 41 static void refObject(ScriptWrappable*); | |
| 42 static void derefObject(ScriptWrappable*); | |
| 43 template<typename VisitorDispatcher> | 41 template<typename VisitorDispatcher> |
| 44 static void trace(VisitorDispatcher visitor, ScriptWrappable* scriptWrappabl
e) | 42 static void trace(VisitorDispatcher visitor, ScriptWrappable* scriptWrappabl
e) |
| 45 { | 43 { |
| 46 visitor->trace(scriptWrappable->toImpl<TestInterfaceEventTarget>()); | 44 visitor->trace(scriptWrappable->toImpl<TestInterfaceEventTarget>()); |
| 47 } | 45 } |
| 48 static const int eventListenerCacheIndex = v8DefaultWrapperInternalFieldCoun
t + 0; | 46 static const int eventListenerCacheIndex = v8DefaultWrapperInternalFieldCoun
t + 0; |
| 49 static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 1
; | 47 static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 1
; |
| 50 static void installConditionallyEnabledProperties(v8::Local<v8::Object>, v8:
:Isolate*) { } | 48 static void installConditionallyEnabledProperties(v8::Local<v8::Object>, v8:
:Isolate*) { } |
| 51 static void preparePrototypeAndInterfaceObject(v8::Local<v8::Context>, v8::L
ocal<v8::Object> prototypeObject, v8::Local<v8::Function> interfaceObject, v8::L
ocal<v8::FunctionTemplate> interfaceTemplate) { } | 49 static void preparePrototypeAndInterfaceObject(v8::Local<v8::Context>, v8::L
ocal<v8::Object> prototypeObject, v8::Local<v8::Function> interfaceObject, v8::L
ocal<v8::FunctionTemplate> interfaceTemplate) { } |
| 52 }; | 50 }; |
| 53 | 51 |
| 54 template <> | 52 template <> |
| 55 struct V8TypeOf<TestInterfaceEventTarget> { | 53 struct V8TypeOf<TestInterfaceEventTarget> { |
| 56 typedef V8TestInterfaceEventTarget Type; | 54 typedef V8TestInterfaceEventTarget Type; |
| 57 }; | 55 }; |
| 58 | 56 |
| 59 } // namespace blink | 57 } // namespace blink |
| 60 | 58 |
| 61 #endif // V8TestInterfaceEventTarget_h | 59 #endif // V8TestInterfaceEventTarget_h |
| OLD | NEW |