| 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 #include "config.h" | 7 #include "config.h" |
| 8 #include "V8TestInterfaceEventConstructor.h" | 8 #include "V8TestInterfaceEventConstructor.h" |
| 9 | 9 |
| 10 #include "bindings/core/v8/Dictionary.h" | 10 #include "bindings/core/v8/Dictionary.h" |
| (...skipping 25 matching lines...) Expand all Loading... |
| 36 | 36 |
| 37 void webCoreInitializeScriptWrappableForInterface(blink::TestInterfaceEventConst
ructor* object) | 37 void webCoreInitializeScriptWrappableForInterface(blink::TestInterfaceEventConst
ructor* object) |
| 38 { | 38 { |
| 39 blink::initializeScriptWrappableForInterface(object); | 39 blink::initializeScriptWrappableForInterface(object); |
| 40 } | 40 } |
| 41 | 41 |
| 42 namespace blink { | 42 namespace blink { |
| 43 | 43 |
| 44 const WrapperTypeInfo V8TestInterfaceEventConstructor::wrapperTypeInfo = { gin::
kEmbedderBlink, V8TestInterfaceEventConstructor::domTemplate, V8TestInterfaceEve
ntConstructor::refObject, V8TestInterfaceEventConstructor::derefObject, V8TestIn
terfaceEventConstructor::createPersistentHandle, 0, 0, 0, V8TestInterfaceEventCo
nstructor::installConditionallyEnabledMethods, V8TestInterfaceEventConstructor::
installConditionallyEnabledProperties, &V8Event::wrapperTypeInfo, WrapperTypeInf
o::WrapperTypeObjectPrototype, WrapperTypeInfo::ObjectClassId, WrapperTypeInfo::
Independent, WrapperTypeInfo::WillBeGarbageCollectedObject }; | 44 const WrapperTypeInfo V8TestInterfaceEventConstructor::wrapperTypeInfo = { gin::
kEmbedderBlink, V8TestInterfaceEventConstructor::domTemplate, V8TestInterfaceEve
ntConstructor::refObject, V8TestInterfaceEventConstructor::derefObject, V8TestIn
terfaceEventConstructor::createPersistentHandle, 0, 0, 0, V8TestInterfaceEventCo
nstructor::installConditionallyEnabledMethods, V8TestInterfaceEventConstructor::
installConditionallyEnabledProperties, &V8Event::wrapperTypeInfo, WrapperTypeInf
o::WrapperTypeObjectPrototype, WrapperTypeInfo::ObjectClassId, WrapperTypeInfo::
Independent, WrapperTypeInfo::WillBeGarbageCollectedObject }; |
| 45 | 45 |
| 46 // This static member must be declared by DEFINE_WRAPPERTYPEINFO in TestInterfac
eEventConstructor.h. |
| 47 // For details, see the comment of DEFINE_WRAPPERTYPEINFO in |
| 48 // bindings/core/v8/ScriptWrappable.h. |
| 49 const WrapperTypeInfo& TestInterfaceEventConstructor::s_wrapperTypeInfo = V8Test
InterfaceEventConstructor::wrapperTypeInfo; |
| 50 |
| 46 namespace TestInterfaceEventConstructorV8Internal { | 51 namespace TestInterfaceEventConstructorV8Internal { |
| 47 | 52 |
| 48 template <typename T> void V8_USE(T) { } | 53 template <typename T> void V8_USE(T) { } |
| 49 | 54 |
| 50 static void readonlyStringAttributeAttributeGetter(const v8::PropertyCallbackInf
o<v8::Value>& info) | 55 static void readonlyStringAttributeAttributeGetter(const v8::PropertyCallbackInf
o<v8::Value>& info) |
| 51 { | 56 { |
| 52 v8::Handle<v8::Object> holder = info.Holder(); | 57 v8::Handle<v8::Object> holder = info.Holder(); |
| 53 TestInterfaceEventConstructor* impl = V8TestInterfaceEventConstructor::toNat
ive(holder); | 58 TestInterfaceEventConstructor* impl = V8TestInterfaceEventConstructor::toNat
ive(holder); |
| 54 v8SetReturnValueString(info, impl->readonlyStringAttribute(), info.GetIsolat
e()); | 59 v8SetReturnValueString(info, impl->readonlyStringAttribute(), info.GetIsolat
e()); |
| 55 } | 60 } |
| (...skipping 376 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 432 #endif | 437 #endif |
| 433 } | 438 } |
| 434 | 439 |
| 435 template<> | 440 template<> |
| 436 v8::Handle<v8::Value> toV8NoInline(TestInterfaceEventConstructor* impl, v8::Hand
le<v8::Object> creationContext, v8::Isolate* isolate) | 441 v8::Handle<v8::Value> toV8NoInline(TestInterfaceEventConstructor* impl, v8::Hand
le<v8::Object> creationContext, v8::Isolate* isolate) |
| 437 { | 442 { |
| 438 return toV8(impl, creationContext, isolate); | 443 return toV8(impl, creationContext, isolate); |
| 439 } | 444 } |
| 440 | 445 |
| 441 } // namespace blink | 446 } // namespace blink |
| OLD | NEW |