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 233 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
244 | 244 |
245 static void TestTypedefsConstructorGetter(v8::Local<v8::String> name, const v8::
PropertyCallbackInfo<v8::Value>& info) | 245 static void TestTypedefsConstructorGetter(v8::Local<v8::String> name, const v8::
PropertyCallbackInfo<v8::Value>& info) |
246 { | 246 { |
247 v8::Handle<v8::Value> data = info.Data(); | 247 v8::Handle<v8::Value> data = info.Data(); |
248 ASSERT(data->IsExternal()); | 248 ASSERT(data->IsExternal()); |
249 V8PerContextData* perContextData = V8PerContextData::from(info.Holder()->Cre
ationContext()); | 249 V8PerContextData* perContextData = V8PerContextData::from(info.Holder()->Cre
ationContext()); |
250 if (!perContextData) | 250 if (!perContextData) |
251 return; | 251 return; |
252 v8SetReturnValue(info, perContextData->constructorForType(WrapperTypeInfo::u
nwrap(data))); | 252 v8SetReturnValue(info, perContextData->constructorForType(WrapperTypeInfo::u
nwrap(data))); |
253 } | 253 } |
| 254 |
254 static void TestTypedefsReplaceableAttributeSetter(v8::Local<v8::String> name, v
8::Local<v8::Value> jsValue, const v8::PropertyCallbackInfo<void>& info) | 255 static void TestTypedefsReplaceableAttributeSetter(v8::Local<v8::String> name, v
8::Local<v8::Value> jsValue, const v8::PropertyCallbackInfo<void>& info) |
255 { | 256 { |
256 info.This()->ForceSet(name, jsValue); | 257 info.This()->ForceSet(name, jsValue); |
257 } | 258 } |
258 | 259 |
259 static void TestTypedefsReplaceableAttributeSetterCallback(v8::Local<v8::String>
name, v8::Local<v8::Value> jsValue, const v8::PropertyCallbackInfo<void>& info) | 260 static void TestTypedefsReplaceableAttributeSetterCallback(v8::Local<v8::String>
name, v8::Local<v8::Value> jsValue, const v8::PropertyCallbackInfo<void>& info) |
260 { | 261 { |
261 TestTypedefsV8Internal::TestTypedefsReplaceableAttributeSetter(name, jsValue
, info); | 262 TestTypedefsV8Internal::TestTypedefsReplaceableAttributeSetter(name, jsValue
, info); |
262 } | 263 } |
263 | 264 |
(...skipping 329 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
593 V8DOMWrapper::associateObjectWithWrapper<V8TestTypedefs>(impl, &info, wrappe
r, isolate, WrapperConfiguration::Independent); | 594 V8DOMWrapper::associateObjectWithWrapper<V8TestTypedefs>(impl, &info, wrappe
r, isolate, WrapperConfiguration::Independent); |
594 return wrapper; | 595 return wrapper; |
595 } | 596 } |
596 | 597 |
597 void V8TestTypedefs::derefObject(void* object) | 598 void V8TestTypedefs::derefObject(void* object) |
598 { | 599 { |
599 fromInternalPointer(object)->deref(); | 600 fromInternalPointer(object)->deref(); |
600 } | 601 } |
601 | 602 |
602 } // namespace WebCore | 603 } // namespace WebCore |
OLD | NEW |