| 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, |
| 11 but WITHOUT ANY WARRANTY; without even the implied warranty of | 11 but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 13 Library General Public License for more details. | 13 Library General Public License for more details. |
| 14 | 14 |
| 15 You should have received a copy of the GNU Library General Public License | 15 You should have received a copy of the GNU Library General Public License |
| 16 along with this library; see the file COPYING.LIB. If not, write to | 16 along with this library; see the file COPYING.LIB. If not, write to |
| 17 the Free Software Foundation, Inc., 59 Temple Place - Suite 330, | 17 the Free Software Foundation, Inc., 59 Temple Place - Suite 330, |
| 18 Boston, MA 02111-1307, USA. | 18 Boston, MA 02111-1307, USA. |
| 19 */ | 19 */ |
| 20 | 20 |
| 21 #include "config.h" | 21 #include "config.h" |
| 22 #include "V8TestObject.h" | 22 #include "V8TestObject.h" |
| 23 | 23 |
| 24 #include "HTMLNames.h" | 24 #include "HTMLNames.h" |
| 25 #include "RuntimeEnabledFeatures.h" | 25 #include "RuntimeEnabledFeatures.h" |
| 26 #include "V8DOMStringList.h" | 26 #include "V8DOMStringList.h" |
| 27 #include "V8Document.h" | 27 #include "V8Document.h" |
| 28 #include "V8Float32Array.h" | |
| 29 #include "V8MessagePort.h" | 28 #include "V8MessagePort.h" |
| 30 #include "V8Node.h" | 29 #include "V8Node.h" |
| 31 #include "V8SVGDocument.h" | 30 #include "V8SVGDocument.h" |
| 32 #include "V8SVGPoint.h" | 31 #include "V8SVGPoint.h" |
| 33 #include "V8TestCallback.h" | 32 #include "V8TestCallback.h" |
| 34 #include "V8TestInterface.h" | 33 #include "V8TestInterface.h" |
| 35 #include "V8TestNode.h" | 34 #include "V8TestNode.h" |
| 36 #include "V8TestObjectectA.h" | 35 #include "V8TestObjectectA.h" |
| 37 #include "V8TestObjectectB.h" | 36 #include "V8TestObjectectB.h" |
| 38 #include "V8TestObjectectC.h" | 37 #include "V8TestObjectectC.h" |
| 39 #include "V8TestSubObj.h" | 38 #include "V8TestSubObj.h" |
| 40 #include "bindings/v8/BindingSecurity.h" | 39 #include "bindings/v8/BindingSecurity.h" |
| 41 #include "bindings/v8/Dictionary.h" | 40 #include "bindings/v8/Dictionary.h" |
| 42 #include "bindings/v8/ExceptionState.h" | 41 #include "bindings/v8/ExceptionState.h" |
| 43 #include "bindings/v8/ScriptController.h" | 42 #include "bindings/v8/ScriptController.h" |
| 44 #include "bindings/v8/ScriptValue.h" | 43 #include "bindings/v8/ScriptValue.h" |
| 45 #include "bindings/v8/SerializedScriptValue.h" | 44 #include "bindings/v8/SerializedScriptValue.h" |
| 46 #include "bindings/v8/V8AbstractEventListener.h" | 45 #include "bindings/v8/V8AbstractEventListener.h" |
| 47 #include "bindings/v8/V8Binding.h" | 46 #include "bindings/v8/V8Binding.h" |
| 48 #include "bindings/v8/V8DOMActivityLogger.h" | 47 #include "bindings/v8/V8DOMActivityLogger.h" |
| 49 #include "bindings/v8/V8DOMConfiguration.h" | 48 #include "bindings/v8/V8DOMConfiguration.h" |
| 50 #include "bindings/v8/V8DOMWrapper.h" | 49 #include "bindings/v8/V8DOMWrapper.h" |
| 51 #include "bindings/v8/V8EventListenerList.h" | 50 #include "bindings/v8/V8EventListenerList.h" |
| 52 #include "bindings/v8/V8HiddenPropertyName.h" | 51 #include "bindings/v8/V8HiddenPropertyName.h" |
| 53 #include "bindings/v8/V8ObjectConstructor.h" | 52 #include "bindings/v8/V8ObjectConstructor.h" |
| 53 #include "bindings/v8/custom/V8Float32ArrayCustom.h" |
| 54 #include "core/dom/ContextFeatures.h" | 54 #include "core/dom/ContextFeatures.h" |
| 55 #include "core/dom/CustomElementCallbackDispatcher.h" | 55 #include "core/dom/CustomElementCallbackDispatcher.h" |
| 56 #include "core/dom/Document.h" | 56 #include "core/dom/Document.h" |
| 57 #include "core/page/DOMWindow.h" | 57 #include "core/page/DOMWindow.h" |
| 58 #include "core/page/Frame.h" | 58 #include "core/page/Frame.h" |
| 59 #include "core/page/PageConsole.h" | 59 #include "core/page/PageConsole.h" |
| 60 #include "core/page/UseCounter.h" | 60 #include "core/page/UseCounter.h" |
| 61 #include "core/platform/chromium/TraceEvent.h" | 61 #include "core/platform/chromium/TraceEvent.h" |
| 62 #include "core/svg/properties/SVGPropertyTearOff.h" | 62 #include "core/svg/properties/SVGPropertyTearOff.h" |
| 63 #include "core/svg/properties/SVGStaticPropertyTearOff.h" | 63 #include "core/svg/properties/SVGStaticPropertyTearOff.h" |
| (...skipping 805 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 869 static void typedArrayAttrAttrGetterCallback(v8::Local<v8::String> name, const v
8::PropertyCallbackInfo<v8::Value>& info) | 869 static void typedArrayAttrAttrGetterCallback(v8::Local<v8::String> name, const v
8::PropertyCallbackInfo<v8::Value>& info) |
| 870 { | 870 { |
| 871 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); | 871 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); |
| 872 TestObjV8Internal::typedArrayAttrAttrGetter(name, info); | 872 TestObjV8Internal::typedArrayAttrAttrGetter(name, info); |
| 873 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); | 873 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); |
| 874 } | 874 } |
| 875 | 875 |
| 876 static void typedArrayAttrAttrSetter(v8::Local<v8::String> name, v8::Local<v8::V
alue> value, const v8::PropertyCallbackInfo<void>& info) | 876 static void typedArrayAttrAttrSetter(v8::Local<v8::String> name, v8::Local<v8::V
alue> value, const v8::PropertyCallbackInfo<void>& info) |
| 877 { | 877 { |
| 878 TestObj* imp = V8TestObject::toNative(info.Holder()); | 878 TestObj* imp = V8TestObject::toNative(info.Holder()); |
| 879 V8TRYCATCH_VOID(Float32Array*, v, V8Float32Array::HasInstance(value, info.Ge
tIsolate(), worldType(info.GetIsolate())) ? V8Float32Array::toNative(v8::Handle<
v8::Object>::Cast(value)) : 0); | 879 V8TRYCATCH_VOID(Float32Array*, v, value->IsFloat32Array() ? V8Float32Array::
toNative(v8::Handle<v8::Float32Array>::Cast(value)) : 0); |
| 880 imp->setTypedArrayAttr(WTF::getPtr(v)); | 880 imp->setTypedArrayAttr(WTF::getPtr(v)); |
| 881 return; | 881 return; |
| 882 } | 882 } |
| 883 | 883 |
| 884 static void typedArrayAttrAttrSetterCallback(v8::Local<v8::String> name, v8::Loc
al<v8::Value> value, const v8::PropertyCallbackInfo<void>& info) | 884 static void typedArrayAttrAttrSetterCallback(v8::Local<v8::String> name, v8::Loc
al<v8::Value> value, const v8::PropertyCallbackInfo<void>& info) |
| 885 { | 885 { |
| 886 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); | 886 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); |
| 887 TestObjV8Internal::typedArrayAttrAttrSetter(name, value, info); | 887 TestObjV8Internal::typedArrayAttrAttrSetter(name, value, info); |
| 888 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); | 888 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); |
| 889 } | 889 } |
| (...skipping 4874 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5764 installPerContextProperties(wrapper, impl.get(), isolate); | 5764 installPerContextProperties(wrapper, impl.get(), isolate); |
| 5765 V8DOMWrapper::associateObjectWithWrapper<V8TestObject>(impl, &info, wrapper,
isolate, WrapperConfiguration::Independent); | 5765 V8DOMWrapper::associateObjectWithWrapper<V8TestObject>(impl, &info, wrapper,
isolate, WrapperConfiguration::Independent); |
| 5766 return wrapper; | 5766 return wrapper; |
| 5767 } | 5767 } |
| 5768 void V8TestObject::derefObject(void* object) | 5768 void V8TestObject::derefObject(void* object) |
| 5769 { | 5769 { |
| 5770 fromInternalPointer(object)->deref(); | 5770 fromInternalPointer(object)->deref(); |
| 5771 } | 5771 } |
| 5772 | 5772 |
| 5773 } // namespace WebCore | 5773 } // namespace WebCore |
| OLD | NEW |