| 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" |
| 11 #include "bindings/core/v8/ToV8.h" | 11 #include "bindings/core/v8/ToV8.h" |
| 12 #include "bindings/core/v8/V8Binding.h" | 12 #include "bindings/core/v8/V8Binding.h" |
| 13 #include "bindings/core/v8/V8DOMWrapper.h" | 13 #include "bindings/core/v8/V8DOMWrapper.h" |
| 14 #include "bindings/core/v8/V8EventTarget.h" | 14 #include "bindings/core/v8/V8EventTarget.h" |
| 15 #include "bindings/core/v8/WrapperTypeInfo.h" | 15 #include "bindings/core/v8/WrapperTypeInfo.h" |
| 16 #include "bindings/tests/idls/core/TestInterfaceEventTarget.h" | 16 #include "bindings/tests/idls/core/TestInterfaceEventTarget.h" |
| 17 #include "core/CoreExport.h" | 17 #include "core/CoreExport.h" |
| 18 #include "platform/heap/Handle.h" | 18 #include "platform/heap/Handle.h" |
| 19 | 19 |
| 20 namespace blink { | 20 namespace blink { |
| 21 | 21 |
| 22 class V8TestInterfaceEventTargetConstructor { | 22 class V8TestInterfaceEventTargetConstructor { |
| 23 STATIC_ONLY(V8TestInterfaceEventTargetConstructor); |
| 23 public: | 24 public: |
| 24 static v8::Local<v8::FunctionTemplate> domTemplate(v8::Isolate*); | 25 static v8::Local<v8::FunctionTemplate> domTemplate(v8::Isolate*); |
| 25 static const WrapperTypeInfo wrapperTypeInfo; | 26 static const WrapperTypeInfo wrapperTypeInfo; |
| 26 }; | 27 }; |
| 27 | 28 |
| 28 class V8TestInterfaceEventTarget { | 29 class V8TestInterfaceEventTarget { |
| 30 STATIC_ONLY(V8TestInterfaceEventTarget); |
| 29 public: | 31 public: |
| 30 CORE_EXPORT static bool hasInstance(v8::Local<v8::Value>, v8::Isolate*); | 32 CORE_EXPORT static bool hasInstance(v8::Local<v8::Value>, v8::Isolate*); |
| 31 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*); |
| 32 CORE_EXPORT static v8::Local<v8::FunctionTemplate> domTemplate(v8::Isolate*)
; | 34 CORE_EXPORT static v8::Local<v8::FunctionTemplate> domTemplate(v8::Isolate*)
; |
| 33 static TestInterfaceEventTarget* toImpl(v8::Local<v8::Object> object) | 35 static TestInterfaceEventTarget* toImpl(v8::Local<v8::Object> object) |
| 34 { | 36 { |
| 35 return toScriptWrappable(object)->toImpl<TestInterfaceEventTarget>(); | 37 return toScriptWrappable(object)->toImpl<TestInterfaceEventTarget>(); |
| 36 } | 38 } |
| 37 CORE_EXPORT static TestInterfaceEventTarget* toImplWithTypeCheck(v8::Isolate
*, v8::Local<v8::Value>); | 39 CORE_EXPORT static TestInterfaceEventTarget* toImplWithTypeCheck(v8::Isolate
*, v8::Local<v8::Value>); |
| 38 CORE_EXPORT static const WrapperTypeInfo wrapperTypeInfo; | 40 CORE_EXPORT static const WrapperTypeInfo wrapperTypeInfo; |
| (...skipping 13 matching lines...) Expand all Loading... |
| 52 }; | 54 }; |
| 53 | 55 |
| 54 template <> | 56 template <> |
| 55 struct V8TypeOf<TestInterfaceEventTarget> { | 57 struct V8TypeOf<TestInterfaceEventTarget> { |
| 56 typedef V8TestInterfaceEventTarget Type; | 58 typedef V8TestInterfaceEventTarget Type; |
| 57 }; | 59 }; |
| 58 | 60 |
| 59 } // namespace blink | 61 } // namespace blink |
| 60 | 62 |
| 61 #endif // V8TestInterfaceEventTarget_h | 63 #endif // V8TestInterfaceEventTarget_h |
| OLD | NEW |