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 10 matching lines...) Expand all Loading... |
21 #include "bindings/tests/idls/core/TestInterfaceConstructor.h" | 21 #include "bindings/tests/idls/core/TestInterfaceConstructor.h" |
22 #include "core/CoreExport.h" | 22 #include "core/CoreExport.h" |
23 #include "platform/heap/Handle.h" | 23 #include "platform/heap/Handle.h" |
24 | 24 |
25 namespace blink { | 25 namespace blink { |
26 | 26 |
27 class V8TestInterfaceConstructorConstructor { | 27 class V8TestInterfaceConstructorConstructor { |
28 STATIC_ONLY(V8TestInterfaceConstructorConstructor); | 28 STATIC_ONLY(V8TestInterfaceConstructorConstructor); |
29 public: | 29 public: |
30 static v8::Local<v8::FunctionTemplate> domTemplate(v8::Isolate*, const DOMWrap
perWorld&); | 30 static v8::Local<v8::FunctionTemplate> domTemplate(v8::Isolate*, const DOMWrap
perWorld&); |
| 31 static v8::Local<v8::FunctionTemplate> NamedConstructorAttributeGetter(v8::Iso
late*, const DOMWrapperWorld&); |
| 32 static void NamedConstructorAttributeGetter(v8::Local<v8::Name> propertyName,
const v8::PropertyCallbackInfo<v8::Value>& info); |
31 CORE_EXPORT static const WrapperTypeInfo wrapperTypeInfo; | 33 CORE_EXPORT static const WrapperTypeInfo wrapperTypeInfo; |
32 }; | 34 }; |
33 | 35 |
34 class V8TestInterfaceConstructor { | 36 class V8TestInterfaceConstructor { |
35 STATIC_ONLY(V8TestInterfaceConstructor); | 37 STATIC_ONLY(V8TestInterfaceConstructor); |
36 public: | 38 public: |
37 CORE_EXPORT static bool hasInstance(v8::Local<v8::Value>, v8::Isolate*); | 39 CORE_EXPORT static bool hasInstance(v8::Local<v8::Value>, v8::Isolate*); |
38 static v8::Local<v8::Object> findInstanceInPrototypeChain(v8::Local<v8::Value>
, v8::Isolate*); | 40 static v8::Local<v8::Object> findInstanceInPrototypeChain(v8::Local<v8::Value>
, v8::Isolate*); |
39 CORE_EXPORT static v8::Local<v8::FunctionTemplate> domTemplate(v8::Isolate*, c
onst DOMWrapperWorld&); | 41 CORE_EXPORT static v8::Local<v8::FunctionTemplate> domTemplate(v8::Isolate*, c
onst DOMWrapperWorld&); |
40 static TestInterfaceConstructor* toImpl(v8::Local<v8::Object> object) { | 42 static TestInterfaceConstructor* toImpl(v8::Local<v8::Object> object) { |
(...skipping 13 matching lines...) Expand all Loading... |
54 }; | 56 }; |
55 | 57 |
56 template <> | 58 template <> |
57 struct V8TypeOf<TestInterfaceConstructor> { | 59 struct V8TypeOf<TestInterfaceConstructor> { |
58 typedef V8TestInterfaceConstructor Type; | 60 typedef V8TestInterfaceConstructor Type; |
59 }; | 61 }; |
60 | 62 |
61 } // namespace blink | 63 } // namespace blink |
62 | 64 |
63 #endif // V8TestInterfaceConstructor_h | 65 #endif // V8TestInterfaceConstructor_h |
OLD | NEW |