| 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 693 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 704 static void domStringListAttributeAttributeGetterCallback(v8::Local<v8::String> 
      name, const v8::PropertyCallbackInfo<v8::Value>& info) | 704 static void domStringListAttributeAttributeGetterCallback(v8::Local<v8::String> 
      name, const v8::PropertyCallbackInfo<v8::Value>& info) | 
| 705 { | 705 { | 
| 706     TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); | 706     TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); | 
| 707     TestObjectPythonV8Internal::domStringListAttributeAttributeGetter(name, info
      ); | 707     TestObjectPythonV8Internal::domStringListAttributeAttributeGetter(name, info
      ); | 
| 708     TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); | 708     TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); | 
| 709 } | 709 } | 
| 710 | 710 | 
| 711 static void domStringListAttributeAttributeSetter(v8::Local<v8::String> name, v8
      ::Local<v8::Value> jsValue, const v8::PropertyCallbackInfo<void>& info) | 711 static void domStringListAttributeAttributeSetter(v8::Local<v8::String> name, v8
      ::Local<v8::Value> jsValue, const v8::PropertyCallbackInfo<void>& info) | 
| 712 { | 712 { | 
| 713     TestObjectPython* imp = V8TestObjectPython::toNative(info.Holder()); | 713     TestObjectPython* imp = V8TestObjectPython::toNative(info.Holder()); | 
| 714     V8TRYCATCH_VOID(RefPtr<DOMStringList>, cppValue, toDOMStringList(jsValue, in
      fo.GetIsolate())); | 714     V8TRYCATCH_VOID(DOMStringList*, cppValue, V8DOMStringList::HasInstance(jsVal
      ue, info.GetIsolate(), worldType(info.GetIsolate())) ? V8DOMStringList::toNative
      (v8::Handle<v8::Object>::Cast(jsValue)) : 0); | 
| 715     imp->setDomStringListAttribute(WTF::getPtr(cppValue)); | 715     imp->setDomStringListAttribute(WTF::getPtr(cppValue)); | 
| 716 } | 716 } | 
| 717 | 717 | 
| 718 static void domStringListAttributeAttributeSetterCallback(v8::Local<v8::String> 
      name, v8::Local<v8::Value> jsValue, const v8::PropertyCallbackInfo<void>& info) | 718 static void domStringListAttributeAttributeSetterCallback(v8::Local<v8::String> 
      name, v8::Local<v8::Value> jsValue, const v8::PropertyCallbackInfo<void>& info) | 
| 719 { | 719 { | 
| 720     TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); | 720     TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); | 
| 721     TestObjectPythonV8Internal::domStringListAttributeAttributeSetter(name, jsVa
      lue, info); | 721     TestObjectPythonV8Internal::domStringListAttributeAttributeSetter(name, jsVa
      lue, info); | 
| 722     TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); | 722     TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); | 
| 723 } | 723 } | 
| 724 | 724 | 
| (...skipping 3510 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 4235     TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); | 4235     TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); | 
| 4236 } | 4236 } | 
| 4237 | 4237 | 
| 4238 static void voidMethodDOMStringListArgMethod(const v8::FunctionCallbackInfo<v8::
      Value>& args) | 4238 static void voidMethodDOMStringListArgMethod(const v8::FunctionCallbackInfo<v8::
      Value>& args) | 
| 4239 { | 4239 { | 
| 4240     if (UNLIKELY(args.Length() < 1)) { | 4240     if (UNLIKELY(args.Length() < 1)) { | 
| 4241         throwTypeError(ExceptionMessages::failedToExecute("voidMethodDOMStringLi
      stArg", "TestObjectPython", ExceptionMessages::notEnoughArguments(1, args.Length
      ())), args.GetIsolate()); | 4241         throwTypeError(ExceptionMessages::failedToExecute("voidMethodDOMStringLi
      stArg", "TestObjectPython", ExceptionMessages::notEnoughArguments(1, args.Length
      ())), args.GetIsolate()); | 
| 4242         return; | 4242         return; | 
| 4243     } | 4243     } | 
| 4244     TestObjectPython* imp = V8TestObjectPython::toNative(args.Holder()); | 4244     TestObjectPython* imp = V8TestObjectPython::toNative(args.Holder()); | 
| 4245     V8TRYCATCH_VOID(RefPtr<DOMStringList>, domStringListArg, toDOMStringList(arg
      s[0], args.GetIsolate())); | 4245     V8TRYCATCH_VOID(DOMStringList*, domStringListArg, V8DOMStringList::HasInstan
      ce(args[0], args.GetIsolate(), worldType(args.GetIsolate())) ? V8DOMStringList::
      toNative(v8::Handle<v8::Object>::Cast(args[0])) : 0); | 
| 4246     imp->voidMethodDOMStringListArg(domStringListArg); | 4246     imp->voidMethodDOMStringListArg(domStringListArg); | 
| 4247 } | 4247 } | 
| 4248 | 4248 | 
| 4249 static void voidMethodDOMStringListArgMethodCallback(const v8::FunctionCallbackI
      nfo<v8::Value>& args) | 4249 static void voidMethodDOMStringListArgMethodCallback(const v8::FunctionCallbackI
      nfo<v8::Value>& args) | 
| 4250 { | 4250 { | 
| 4251     TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod"); | 4251     TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod"); | 
| 4252     TestObjectPythonV8Internal::voidMethodDOMStringListArgMethod(args); | 4252     TestObjectPythonV8Internal::voidMethodDOMStringListArgMethod(args); | 
| 4253     TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); | 4253     TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); | 
| 4254 } | 4254 } | 
| 4255 | 4255 | 
| (...skipping 733 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 4989     V8DOMWrapper::associateObjectWithWrapper<V8TestObjectPython>(impl, &wrapperT
      ypeInfo, wrapper, isolate, WrapperConfiguration::Independent); | 4989     V8DOMWrapper::associateObjectWithWrapper<V8TestObjectPython>(impl, &wrapperT
      ypeInfo, wrapper, isolate, WrapperConfiguration::Independent); | 
| 4990     return wrapper; | 4990     return wrapper; | 
| 4991 } | 4991 } | 
| 4992 | 4992 | 
| 4993 void V8TestObjectPython::derefObject(void* object) | 4993 void V8TestObjectPython::derefObject(void* object) | 
| 4994 { | 4994 { | 
| 4995     fromInternalPointer(object)->deref(); | 4995     fromInternalPointer(object)->deref(); | 
| 4996 } | 4996 } | 
| 4997 | 4997 | 
| 4998 } // namespace WebCore | 4998 } // namespace WebCore | 
| OLD | NEW | 
|---|