OLD | NEW |
1 /* | 1 /* |
2 This file is part of the Blink open source project. | 2 This file is part of the Blink open source project. |
3 This file has been auto-generated by CodeGeneratorV8.pm. DO NOT MODIFY! | 3 This file has been auto-generated by CodeGeneratorV8.pm. DO NOT MODIFY! |
4 | 4 |
5 This library is free software; you can redistribute it and/or | 5 This library is free software; you can redistribute it and/or |
6 modify it under the terms of the GNU Library General Public | 6 modify it under the terms of the GNU Library General Public |
7 License as published by the Free Software Foundation; either | 7 License as published by the Free Software Foundation; either |
8 version 2 of the License, or (at your option) any later version. | 8 version 2 of the License, or (at your option) any later version. |
9 | 9 |
10 This library is distributed in the hope that it will be useful, | 10 This library is distributed in the hope that it will be useful, |
(...skipping 2792 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2803 | 2803 |
2804 static void TestObjConstructorGetter(v8::Local<v8::String> name, const v8::Prope
rtyCallbackInfo<v8::Value>& info) | 2804 static void TestObjConstructorGetter(v8::Local<v8::String> name, const v8::Prope
rtyCallbackInfo<v8::Value>& info) |
2805 { | 2805 { |
2806 v8::Handle<v8::Value> data = info.Data(); | 2806 v8::Handle<v8::Value> data = info.Data(); |
2807 ASSERT(data->IsExternal()); | 2807 ASSERT(data->IsExternal()); |
2808 V8PerContextData* perContextData = V8PerContextData::from(info.Holder()->Cre
ationContext()); | 2808 V8PerContextData* perContextData = V8PerContextData::from(info.Holder()->Cre
ationContext()); |
2809 if (!perContextData) | 2809 if (!perContextData) |
2810 return; | 2810 return; |
2811 v8SetReturnValue(info, perContextData->constructorForType(WrapperTypeInfo::u
nwrap(data))); | 2811 v8SetReturnValue(info, perContextData->constructorForType(WrapperTypeInfo::u
nwrap(data))); |
2812 } | 2812 } |
| 2813 |
2813 static void TestObjReplaceableAttributeSetter(v8::Local<v8::String> name, v8::Lo
cal<v8::Value> jsValue, const v8::PropertyCallbackInfo<void>& info) | 2814 static void TestObjReplaceableAttributeSetter(v8::Local<v8::String> name, v8::Lo
cal<v8::Value> jsValue, const v8::PropertyCallbackInfo<void>& info) |
2814 { | 2815 { |
2815 info.This()->ForceSet(name, jsValue); | 2816 info.This()->ForceSet(name, jsValue); |
2816 } | 2817 } |
2817 | 2818 |
2818 static void TestObjReplaceableAttributeSetterCallback(v8::Local<v8::String> name
, v8::Local<v8::Value> jsValue, const v8::PropertyCallbackInfo<void>& info) | 2819 static void TestObjReplaceableAttributeSetterCallback(v8::Local<v8::String> name
, v8::Local<v8::Value> jsValue, const v8::PropertyCallbackInfo<void>& info) |
2819 { | 2820 { |
2820 TestObjV8Internal::TestObjReplaceableAttributeSetter(name, jsValue, info); | 2821 TestObjV8Internal::TestObjReplaceableAttributeSetter(name, jsValue, info); |
2821 } | 2822 } |
2822 | 2823 |
(...skipping 2709 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5532 V8DOMWrapper::associateObjectWithWrapper<V8TestObject>(impl, &info, wrapper,
isolate, WrapperConfiguration::Independent); | 5533 V8DOMWrapper::associateObjectWithWrapper<V8TestObject>(impl, &info, wrapper,
isolate, WrapperConfiguration::Independent); |
5533 return wrapper; | 5534 return wrapper; |
5534 } | 5535 } |
5535 | 5536 |
5536 void V8TestObject::derefObject(void* object) | 5537 void V8TestObject::derefObject(void* object) |
5537 { | 5538 { |
5538 fromInternalPointer(object)->deref(); | 5539 fromInternalPointer(object)->deref(); |
5539 } | 5540 } |
5540 | 5541 |
5541 } // namespace WebCore | 5542 } // namespace WebCore |
OLD | NEW |