| 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 17 matching lines...) Expand all Loading... |
| 28 public: | 28 public: |
| 29 CORE_EXPORT static bool hasInstance(v8::Local<v8::Value>, v8::Isolate*); | 29 CORE_EXPORT static bool hasInstance(v8::Local<v8::Value>, v8::Isolate*); |
| 30 static v8::Local<v8::Object> findInstanceInPrototypeChain(v8::Local<v8::Value>
, v8::Isolate*); | 30 static v8::Local<v8::Object> findInstanceInPrototypeChain(v8::Local<v8::Value>
, v8::Isolate*); |
| 31 CORE_EXPORT static v8::Local<v8::FunctionTemplate> domTemplate(v8::Isolate*, c
onst DOMWrapperWorld&); | 31 CORE_EXPORT static v8::Local<v8::FunctionTemplate> domTemplate(v8::Isolate*, c
onst DOMWrapperWorld&); |
| 32 CORE_EXPORT static v8::Local<v8::FunctionTemplate> domTemplateForNamedProperti
esObject(v8::Isolate*, const DOMWrapperWorld&); | 32 CORE_EXPORT static v8::Local<v8::FunctionTemplate> domTemplateForNamedProperti
esObject(v8::Isolate*, const DOMWrapperWorld&); |
| 33 static TestIntegerIndexedGlobal* toImpl(v8::Local<v8::Object> object) { | 33 static TestIntegerIndexedGlobal* toImpl(v8::Local<v8::Object> object) { |
| 34 return toScriptWrappable(object)->toImpl<TestIntegerIndexedGlobal>(); | 34 return toScriptWrappable(object)->toImpl<TestIntegerIndexedGlobal>(); |
| 35 } | 35 } |
| 36 CORE_EXPORT static TestIntegerIndexedGlobal* toImplWithTypeCheck(v8::Isolate*,
v8::Local<v8::Value>); | 36 CORE_EXPORT static TestIntegerIndexedGlobal* toImplWithTypeCheck(v8::Isolate*,
v8::Local<v8::Value>); |
| 37 CORE_EXPORT static const WrapperTypeInfo wrapperTypeInfo; | 37 CORE_EXPORT static const WrapperTypeInfo wrapperTypeInfo; |
| 38 template<typename VisitorDispatcher> | 38 static void trace(Visitor* visitor, ScriptWrappable* scriptWrappable) { |
| 39 static void trace(VisitorDispatcher visitor, ScriptWrappable* scriptWrappable)
{ | |
| 40 visitor->trace(scriptWrappable->toImpl<TestIntegerIndexedGlobal>()); | 39 visitor->trace(scriptWrappable->toImpl<TestIntegerIndexedGlobal>()); |
| 41 } | 40 } |
| 42 static void traceWrappers(WrapperVisitor* visitor, ScriptWrappable* scriptWrap
pable) { | 41 static void traceWrappers(WrapperVisitor* visitor, ScriptWrappable* scriptWrap
pable) { |
| 43 visitor->traceWrappers(scriptWrappable->toImpl<TestIntegerIndexedGlobal>()); | 42 visitor->traceWrappers(scriptWrappable->toImpl<TestIntegerIndexedGlobal>()); |
| 44 } | 43 } |
| 45 static void indexedPropertyGetterCustom(uint32_t, const v8::PropertyCallbackIn
fo<v8::Value>&); | 44 static void indexedPropertyGetterCustom(uint32_t, const v8::PropertyCallbackIn
fo<v8::Value>&); |
| 46 static void indexedPropertySetterCustom(uint32_t, v8::Local<v8::Value>, const
v8::PropertyCallbackInfo<v8::Value>&); | 45 static void indexedPropertySetterCustom(uint32_t, v8::Local<v8::Value>, const
v8::PropertyCallbackInfo<v8::Value>&); |
| 47 static void indexedPropertyDeleterCustom(uint32_t, const v8::PropertyCallbackI
nfo<v8::Boolean>&); | 46 static void indexedPropertyDeleterCustom(uint32_t, const v8::PropertyCallbackI
nfo<v8::Boolean>&); |
| 48 static void namedPropertyGetterCustom(const AtomicString&, const v8::PropertyC
allbackInfo<v8::Value>&); | 47 static void namedPropertyGetterCustom(const AtomicString&, const v8::PropertyC
allbackInfo<v8::Value>&); |
| 49 static void namedPropertySetterCustom(const AtomicString&, v8::Local<v8::Value
>, const v8::PropertyCallbackInfo<v8::Value>&); | 48 static void namedPropertySetterCustom(const AtomicString&, v8::Local<v8::Value
>, const v8::PropertyCallbackInfo<v8::Value>&); |
| 50 static void namedPropertyQueryCustom(const AtomicString&, const v8::PropertyCa
llbackInfo<v8::Integer>&); | 49 static void namedPropertyQueryCustom(const AtomicString&, const v8::PropertyCa
llbackInfo<v8::Integer>&); |
| 51 static void namedPropertyDeleterCustom(const AtomicString&, const v8::Property
CallbackInfo<v8::Boolean>&); | 50 static void namedPropertyDeleterCustom(const AtomicString&, const v8::Property
CallbackInfo<v8::Boolean>&); |
| 52 static void namedPropertyEnumeratorCustom(const v8::PropertyCallbackInfo<v8::A
rray>&); | 51 static void namedPropertyEnumeratorCustom(const v8::PropertyCallbackInfo<v8::A
rray>&); |
| 53 static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 0; | 52 static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 0; |
| 54 }; | 53 }; |
| 55 | 54 |
| 56 template <> | 55 template <> |
| 57 struct V8TypeOf<TestIntegerIndexedGlobal> { | 56 struct V8TypeOf<TestIntegerIndexedGlobal> { |
| 58 typedef V8TestIntegerIndexedGlobal Type; | 57 typedef V8TestIntegerIndexedGlobal Type; |
| 59 }; | 58 }; |
| 60 | 59 |
| 61 } // namespace blink | 60 } // namespace blink |
| 62 | 61 |
| 63 #endif // V8TestIntegerIndexedGlobal_h | 62 #endif // V8TestIntegerIndexedGlobal_h |
| OLD | NEW |