| OLD | NEW |
| 1 /* | 1 /* |
| 2 This file is part of the WebKit open source project. | 2 This file is part of the WebKit open source project. |
| 3 This file has been generated by generate-bindings.pl. DO NOT MODIFY! | 3 This file has been generated by generate-bindings.pl. 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 234 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 245 V8PerContextData* perContextData = V8PerContextData::from(info.Holder()->Cre
ationContext()); | 245 V8PerContextData* perContextData = V8PerContextData::from(info.Holder()->Cre
ationContext()); |
| 246 if (!perContextData) | 246 if (!perContextData) |
| 247 return v8Undefined(); | 247 return v8Undefined(); |
| 248 return perContextData->constructorForType(WrapperTypeInfo::unwrap(data)); | 248 return perContextData->constructorForType(WrapperTypeInfo::unwrap(data)); |
| 249 } | 249 } |
| 250 static void TestTypedefsReplaceableAttrSetter(v8::Local<v8::String> name, v8::Lo
cal<v8::Value> value, const v8::AccessorInfo& info) | 250 static void TestTypedefsReplaceableAttrSetter(v8::Local<v8::String> name, v8::Lo
cal<v8::Value> value, const v8::AccessorInfo& info) |
| 251 { | 251 { |
| 252 info.This()->ForceSet(name, value); | 252 info.This()->ForceSet(name, value); |
| 253 } | 253 } |
| 254 | 254 |
| 255 static void TestTypedefsReplaceableAttrSetterCallback(v8::Local<v8::String> name
, v8::Local<v8::Value> value, const v8::AccessorInfo& info) | |
| 256 { | |
| 257 return TestTypedefsV8Internal::TestTypedefsReplaceableAttrSetter(name, value
, info); | |
| 258 } | |
| 259 | |
| 260 static v8::Handle<v8::Value> funcMethod(const v8::Arguments& args) | 255 static v8::Handle<v8::Value> funcMethod(const v8::Arguments& args) |
| 261 { | 256 { |
| 262 TestTypedefs* imp = V8TestTypedefs::toNative(args.Holder()); | 257 TestTypedefs* imp = V8TestTypedefs::toNative(args.Holder()); |
| 263 if (args.Length() <= 0) { | 258 if (args.Length() <= 0) { |
| 264 imp->func(); | 259 imp->func(); |
| 265 return v8Undefined(); | 260 return v8Undefined(); |
| 266 } | 261 } |
| 267 if (args.Length() > 0 && !isUndefinedOrNull(args[0]) && !V8long[]::HasInstan
ce(args[0], args.GetIsolate())) | 262 if (args.Length() > 0 && !isUndefinedOrNull(args[0]) && !V8long[]::HasInstan
ce(args[0], args.GetIsolate())) |
| 268 return throwTypeError(0, args.GetIsolate()); | 263 return throwTypeError(0, args.GetIsolate()); |
| 269 V8TRYCATCH(Vector<int>, x, toNativeArray<int>(args[0])); | 264 V8TRYCATCH(Vector<int>, x, toNativeArray<int>(args[0])); |
| (...skipping 357 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 627 installPerContextProperties(wrapper, impl.get(), isolate); | 622 installPerContextProperties(wrapper, impl.get(), isolate); |
| 628 V8DOMWrapper::associateObjectWithWrapper(impl, &info, wrapper, isolate, hasD
ependentLifetime ? WrapperConfiguration::Dependent : WrapperConfiguration::Indep
endent); | 623 V8DOMWrapper::associateObjectWithWrapper(impl, &info, wrapper, isolate, hasD
ependentLifetime ? WrapperConfiguration::Dependent : WrapperConfiguration::Indep
endent); |
| 629 return wrapper; | 624 return wrapper; |
| 630 } | 625 } |
| 631 void V8TestTypedefs::derefObject(void* object) | 626 void V8TestTypedefs::derefObject(void* object) |
| 632 { | 627 { |
| 633 static_cast<TestTypedefs*>(object)->deref(); | 628 static_cast<TestTypedefs*>(object)->deref(); |
| 634 } | 629 } |
| 635 | 630 |
| 636 } // namespace WebCore | 631 } // namespace WebCore |
| OLD | NEW |