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 12 matching lines...) Expand all Loading... |
23 #include "bindings/tests/idls/core/TestInterfaceEventTarget.h" | 23 #include "bindings/tests/idls/core/TestInterfaceEventTarget.h" |
24 #include "core/CoreExport.h" | 24 #include "core/CoreExport.h" |
25 #include "platform/heap/Handle.h" | 25 #include "platform/heap/Handle.h" |
26 | 26 |
27 namespace blink { | 27 namespace blink { |
28 | 28 |
29 class V8TestInterfaceEventTargetConstructor { | 29 class V8TestInterfaceEventTargetConstructor { |
30 STATIC_ONLY(V8TestInterfaceEventTargetConstructor); | 30 STATIC_ONLY(V8TestInterfaceEventTargetConstructor); |
31 public: | 31 public: |
32 static v8::Local<v8::FunctionTemplate> domTemplate(v8::Isolate*, const DOMWrap
perWorld&); | 32 static v8::Local<v8::FunctionTemplate> domTemplate(v8::Isolate*, const DOMWrap
perWorld&); |
| 33 static void NamedConstructorAttributeGetter(v8::Local<v8::Name> propertyName,
const v8::PropertyCallbackInfo<v8::Value>& info); |
33 CORE_EXPORT static const WrapperTypeInfo wrapperTypeInfo; | 34 CORE_EXPORT static const WrapperTypeInfo wrapperTypeInfo; |
34 }; | 35 }; |
35 | 36 |
36 class V8TestInterfaceEventTarget { | 37 class V8TestInterfaceEventTarget { |
37 STATIC_ONLY(V8TestInterfaceEventTarget); | 38 STATIC_ONLY(V8TestInterfaceEventTarget); |
38 public: | 39 public: |
39 CORE_EXPORT static bool hasInstance(v8::Local<v8::Value>, v8::Isolate*); | 40 CORE_EXPORT static bool hasInstance(v8::Local<v8::Value>, v8::Isolate*); |
40 static v8::Local<v8::Object> findInstanceInPrototypeChain(v8::Local<v8::Value>
, v8::Isolate*); | 41 static v8::Local<v8::Object> findInstanceInPrototypeChain(v8::Local<v8::Value>
, v8::Isolate*); |
41 CORE_EXPORT static v8::Local<v8::FunctionTemplate> domTemplate(v8::Isolate*, c
onst DOMWrapperWorld&); | 42 CORE_EXPORT static v8::Local<v8::FunctionTemplate> domTemplate(v8::Isolate*, c
onst DOMWrapperWorld&); |
42 static TestInterfaceEventTarget* toImpl(v8::Local<v8::Object> object) { | 43 static TestInterfaceEventTarget* toImpl(v8::Local<v8::Object> object) { |
(...skipping 19 matching lines...) Expand all Loading... |
62 }; | 63 }; |
63 | 64 |
64 template <> | 65 template <> |
65 struct V8TypeOf<TestInterfaceEventTarget> { | 66 struct V8TypeOf<TestInterfaceEventTarget> { |
66 typedef V8TestInterfaceEventTarget Type; | 67 typedef V8TestInterfaceEventTarget Type; |
67 }; | 68 }; |
68 | 69 |
69 } // namespace blink | 70 } // namespace blink |
70 | 71 |
71 #endif // V8TestInterfaceEventTarget_h | 72 #endif // V8TestInterfaceEventTarget_h |
OLD | NEW |