Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --- out/Release/gen/blink/bindings/V8Element.cpp.old 2014-04-29 11:56:13.908831394 -0400
- +++ out/Release/gen/blink/bindings/V8Element.cpp 2014-04-29 11:58:19.560838240 -0400
- @@ -80,20 +80,6 @@
- TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
- }
- -static void tagNameAttributeGetterForMainWorld(const v8::PropertyCallbackInfo<v8::Value>& info)
- -{
- - v8::Handle<v8::Object> holder = info.Holder();
- - Element* impl = V8Element::toNative(holder);
- - v8SetReturnValueStringOrNull(info, impl->tagName(), info.GetIsolate());
- -}
- -
- -static void tagNameAttributeGetterCallbackForMainWorld(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info)
- -{
- - TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter");
- - ElementV8Internal::tagNameAttributeGetterForMainWorld(info);
- - TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
- -}
- -
- static void attributesAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
- {
- v8::Handle<v8::Object> holder = info.Holder();
- @@ -180,36 +166,6 @@
- TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
- }
- -static void idAttributeGetterForMainWorld(const v8::PropertyCallbackInfo<v8::Value>& info)
- -{
- - v8::Handle<v8::Object> holder = info.Holder();
- - Element* impl = V8Element::toNative(holder);
- - v8SetReturnValueString(info, impl->getIdAttribute(), info.GetIsolate());
- -}
- -
- -static void idAttributeGetterCallbackForMainWorld(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info)
- -{
- - TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter");
- - ElementV8Internal::idAttributeGetterForMainWorld(info);
- - TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
- -}
- -
- -static void idAttributeSetterForMainWorld(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
- -{
- - v8::Handle<v8::Object> holder = info.Holder();
- - Element* impl = V8Element::toNative(holder);
- - TOSTRING_VOID(V8StringResource<>, cppValue, v8Value);
- - impl->setAttribute(HTMLNames::idAttr, cppValue);
- -}
- -
- -static void idAttributeSetterCallbackForMainWorld(v8::Local<v8::String>, v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
- -{
- - TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter");
- - CustomElementCallbackDispatcher::CallbackDeliveryScope deliveryScope;
- - ElementV8Internal::idAttributeSetterForMainWorld(v8Value, info);
- - TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
- -}
- -
- static void namespaceURIAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
- {
- v8::Handle<v8::Object> holder = info.Holder();
- @@ -224,20 +180,6 @@
- TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
- }
- -static void namespaceURIAttributeGetterForMainWorld(const v8::PropertyCallbackInfo<v8::Value>& info)
- -{
- - v8::Handle<v8::Object> holder = info.Holder();
- - Element* impl = V8Element::toNative(holder);
- - v8SetReturnValueStringOrNull(info, impl->namespaceURI(), info.GetIsolate());
- -}
- -
- -static void namespaceURIAttributeGetterCallbackForMainWorld(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info)
- -{
- - TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter");
- - ElementV8Internal::namespaceURIAttributeGetterForMainWorld(info);
- - TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
- -}
- -
- static void prefixAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
- {
- v8::Handle<v8::Object> holder = info.Holder();
- @@ -269,37 +211,6 @@
- TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
- }
- -static void prefixAttributeGetterForMainWorld(const v8::PropertyCallbackInfo<v8::Value>& info)
- -{
- - v8::Handle<v8::Object> holder = info.Holder();
- - Element* impl = V8Element::toNative(holder);
- - v8SetReturnValueStringOrNull(info, impl->prefix(), info.GetIsolate());
- -}
- -
- -static void prefixAttributeGetterCallbackForMainWorld(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info)
- -{
- - TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter");
- - ElementV8Internal::prefixAttributeGetterForMainWorld(info);
- - TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
- -}
- -
- -static void prefixAttributeSetterForMainWorld(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
- -{
- - v8::Handle<v8::Object> holder = info.Holder();
- - ExceptionState exceptionState(ExceptionState::SetterContext, "prefix", "Element", holder, info.GetIsolate());
- - Element* impl = V8Element::toNative(holder);
- - TOSTRING_VOID(V8StringResource<WithNullCheck>, cppValue, v8Value);
- - impl->setPrefix(cppValue, exceptionState);
- - exceptionState.throwIfNeeded();
- -}
- -
- -static void prefixAttributeSetterCallbackForMainWorld(v8::Local<v8::String>, v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
- -{
- - TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter");
- - ElementV8Internal::prefixAttributeSetterForMainWorld(v8Value, info);
- - TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
- -}
- -
- static void localNameAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
- {
- v8::Handle<v8::Object> holder = info.Holder();
- @@ -314,20 +225,6 @@
- TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
- }
- -static void localNameAttributeGetterForMainWorld(const v8::PropertyCallbackInfo<v8::Value>& info)
- -{
- - v8::Handle<v8::Object> holder = info.Holder();
- - Element* impl = V8Element::toNative(holder);
- - v8SetReturnValueStringOrNull(info, impl->localName(), info.GetIsolate());
- -}
- -
- -static void localNameAttributeGetterCallbackForMainWorld(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info)
- -{
- - TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter");
- - ElementV8Internal::localNameAttributeGetterForMainWorld(info);
- - TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
- -}
- -
- static void offsetLeftAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
- {
- v8::Handle<v8::Object> holder = info.Holder();
- @@ -342,20 +239,6 @@
- TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
- }
- -static void offsetLeftAttributeGetterForMainWorld(const v8::PropertyCallbackInfo<v8::Value>& info)
- -{
- - v8::Handle<v8::Object> holder = info.Holder();
- - Element* impl = V8Element::toNative(holder);
- - v8SetReturnValueInt(info, impl->offsetLeft());
- -}
- -
- -static void offsetLeftAttributeGetterCallbackForMainWorld(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info)
- -{
- - TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter");
- - ElementV8Internal::offsetLeftAttributeGetterForMainWorld(info);
- - TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
- -}
- -
- static void offsetTopAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
- {
- v8::Handle<v8::Object> holder = info.Holder();
- @@ -370,20 +253,6 @@
- TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
- }
- -static void offsetTopAttributeGetterForMainWorld(const v8::PropertyCallbackInfo<v8::Value>& info)
- -{
- - v8::Handle<v8::Object> holder = info.Holder();
- - Element* impl = V8Element::toNative(holder);
- - v8SetReturnValueInt(info, impl->offsetTop());
- -}
- -
- -static void offsetTopAttributeGetterCallbackForMainWorld(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info)
- -{
- - TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter");
- - ElementV8Internal::offsetTopAttributeGetterForMainWorld(info);
- - TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
- -}
- -
- static void offsetWidthAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
- {
- v8::Handle<v8::Object> holder = info.Holder();
- @@ -398,20 +267,6 @@
- TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
- }
- -static void offsetWidthAttributeGetterForMainWorld(const v8::PropertyCallbackInfo<v8::Value>& info)
- -{
- - v8::Handle<v8::Object> holder = info.Holder();
- - Element* impl = V8Element::toNative(holder);
- - v8SetReturnValueInt(info, impl->offsetWidth());
- -}
- -
- -static void offsetWidthAttributeGetterCallbackForMainWorld(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info)
- -{
- - TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter");
- - ElementV8Internal::offsetWidthAttributeGetterForMainWorld(info);
- - TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
- -}
- -
- static void offsetHeightAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
- {
- v8::Handle<v8::Object> holder = info.Holder();
- @@ -426,20 +281,6 @@
- TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
- }
- -static void offsetHeightAttributeGetterForMainWorld(const v8::PropertyCallbackInfo<v8::Value>& info)
- -{
- - v8::Handle<v8::Object> holder = info.Holder();
- - Element* impl = V8Element::toNative(holder);
- - v8SetReturnValueInt(info, impl->offsetHeight());
- -}
- -
- -static void offsetHeightAttributeGetterCallbackForMainWorld(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info)
- -{
- - TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter");
- - ElementV8Internal::offsetHeightAttributeGetterForMainWorld(info);
- - TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
- -}
- -
- static void offsetParentAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
- {
- v8::Handle<v8::Object> holder = info.Holder();
- @@ -482,20 +323,6 @@
- TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
- }
- -static void clientLeftAttributeGetterForMainWorld(const v8::PropertyCallbackInfo<v8::Value>& info)
- -{
- - v8::Handle<v8::Object> holder = info.Holder();
- - Element* impl = V8Element::toNative(holder);
- - v8SetReturnValueInt(info, impl->clientLeft());
- -}
- -
- -static void clientLeftAttributeGetterCallbackForMainWorld(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info)
- -{
- - TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter");
- - ElementV8Internal::clientLeftAttributeGetterForMainWorld(info);
- - TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
- -}
- -
- static void clientTopAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
- {
- v8::Handle<v8::Object> holder = info.Holder();
- @@ -510,20 +337,6 @@
- TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
- }
- -static void clientTopAttributeGetterForMainWorld(const v8::PropertyCallbackInfo<v8::Value>& info)
- -{
- - v8::Handle<v8::Object> holder = info.Holder();
- - Element* impl = V8Element::toNative(holder);
- - v8SetReturnValueInt(info, impl->clientTop());
- -}
- -
- -static void clientTopAttributeGetterCallbackForMainWorld(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info)
- -{
- - TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter");
- - ElementV8Internal::clientTopAttributeGetterForMainWorld(info);
- - TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
- -}
- -
- static void clientWidthAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
- {
- v8::Handle<v8::Object> holder = info.Holder();
- @@ -538,20 +351,6 @@
- TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
- }
- -static void clientWidthAttributeGetterForMainWorld(const v8::PropertyCallbackInfo<v8::Value>& info)
- -{
- - v8::Handle<v8::Object> holder = info.Holder();
- - Element* impl = V8Element::toNative(holder);
- - v8SetReturnValueInt(info, impl->clientWidth());
- -}
- -
- -static void clientWidthAttributeGetterCallbackForMainWorld(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info)
- -{
- - TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter");
- - ElementV8Internal::clientWidthAttributeGetterForMainWorld(info);
- - TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
- -}
- -
- static void clientHeightAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
- {
- v8::Handle<v8::Object> holder = info.Holder();
- @@ -566,20 +365,6 @@
- TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
- }
- -static void clientHeightAttributeGetterForMainWorld(const v8::PropertyCallbackInfo<v8::Value>& info)
- -{
- - v8::Handle<v8::Object> holder = info.Holder();
- - Element* impl = V8Element::toNative(holder);
- - v8SetReturnValueInt(info, impl->clientHeight());
- -}
- -
- -static void clientHeightAttributeGetterCallbackForMainWorld(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info)
- -{
- - TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter");
- - ElementV8Internal::clientHeightAttributeGetterForMainWorld(info);
- - TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
- -}
- -
- static void scrollLeftAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
- {
- v8::Handle<v8::Object> holder = info.Holder();
- @@ -601,27 +386,6 @@
- TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
- }
- -static void scrollLeftAttributeGetterForMainWorld(const v8::PropertyCallbackInfo<v8::Value>& info)
- -{
- - v8::Handle<v8::Object> holder = info.Holder();
- - Element* impl = V8Element::toNative(holder);
- - v8SetReturnValueInt(info, impl->scrollLeft());
- -}
- -
- -static void scrollLeftAttributeGetterCallbackForMainWorld(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info)
- -{
- - TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter");
- - ElementV8Internal::scrollLeftAttributeGetterForMainWorld(info);
- - TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
- -}
- -
- -static void scrollLeftAttributeSetterCallbackForMainWorld(v8::Local<v8::String>, v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
- -{
- - TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter");
- - V8Element::scrollLeftAttributeSetterCustom(v8Value, info);
- - TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
- -}
- -
- static void scrollTopAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
- {
- v8::Handle<v8::Object> holder = info.Holder();
- @@ -643,27 +407,6 @@
- TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
- }
- -static void scrollTopAttributeGetterForMainWorld(const v8::PropertyCallbackInfo<v8::Value>& info)
- -{
- - v8::Handle<v8::Object> holder = info.Holder();
- - Element* impl = V8Element::toNative(holder);
- - v8SetReturnValueInt(info, impl->scrollTop());
- -}
- -
- -static void scrollTopAttributeGetterCallbackForMainWorld(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info)
- -{
- - TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter");
- - ElementV8Internal::scrollTopAttributeGetterForMainWorld(info);
- - TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
- -}
- -
- -static void scrollTopAttributeSetterCallbackForMainWorld(v8::Local<v8::String>, v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
- -{
- - TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter");
- - V8Element::scrollTopAttributeSetterCustom(v8Value, info);
- - TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
- -}
- -
- static void scrollWidthAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
- {
- v8::Handle<v8::Object> holder = info.Holder();
- @@ -678,20 +421,6 @@
- TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
- }
- -static void scrollWidthAttributeGetterForMainWorld(const v8::PropertyCallbackInfo<v8::Value>& info)
- -{
- - v8::Handle<v8::Object> holder = info.Holder();
- - Element* impl = V8Element::toNative(holder);
- - v8SetReturnValueInt(info, impl->scrollWidth());
- -}
- -
- -static void scrollWidthAttributeGetterCallbackForMainWorld(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info)
- -{
- - TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter");
- - ElementV8Internal::scrollWidthAttributeGetterForMainWorld(info);
- - TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
- -}
- -
- static void scrollHeightAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
- {
- v8::Handle<v8::Object> holder = info.Holder();
- @@ -706,20 +435,6 @@
- TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
- }
- -static void scrollHeightAttributeGetterForMainWorld(const v8::PropertyCallbackInfo<v8::Value>& info)
- -{
- - v8::Handle<v8::Object> holder = info.Holder();
- - Element* impl = V8Element::toNative(holder);
- - v8SetReturnValueInt(info, impl->scrollHeight());
- -}
- -
- -static void scrollHeightAttributeGetterCallbackForMainWorld(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info)
- -{
- - TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter");
- - ElementV8Internal::scrollHeightAttributeGetterForMainWorld(info);
- - TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
- -}
- -
- static void innerHTMLAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
- {
- v8::Handle<v8::Object> holder = info.Holder();
- @@ -758,39 +473,6 @@
- TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
- }
- -static void innerHTMLAttributeGetterForMainWorld(const v8::PropertyCallbackInfo<v8::Value>& info)
- -{
- - v8::Handle<v8::Object> holder = info.Holder();
- - Element* impl = V8Element::toNative(holder);
- - v8SetReturnValueString(info, impl->innerHTML(), info.GetIsolate());
- -}
- -
- -static void innerHTMLAttributeGetterCallbackForMainWorld(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info)
- -{
- - TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter");
- - ElementV8Internal::innerHTMLAttributeGetterForMainWorld(info);
- - TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
- -}
- -
- -static void innerHTMLAttributeSetterForMainWorld(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
- -{
- - v8::Handle<v8::Object> holder = info.Holder();
- - ExceptionState exceptionState(ExceptionState::SetterContext, "innerHTML", "Element", holder, info.GetIsolate());
- - Element* impl = V8Element::toNative(holder);
- - TOSTRING_VOID(V8StringResource<WithNullCheck>, cppValue, v8Value);
- - CustomElementCallbackDispatcher::CallbackDeliveryScope deliveryScope;
- - impl->setInnerHTML(cppValue, exceptionState);
- - exceptionState.throwIfNeeded();
- -}
- -
- -static void innerHTMLAttributeSetterCallbackForMainWorld(v8::Local<v8::String>, v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
- -{
- - TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter");
- - CustomElementCallbackDispatcher::CallbackDeliveryScope deliveryScope;
- - ElementV8Internal::innerHTMLAttributeSetterForMainWorld(v8Value, info);
- - TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
- -}
- -
- static void outerHTMLAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
- {
- v8::Handle<v8::Object> holder = info.Holder();
- @@ -854,36 +536,6 @@
- TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
- }
- -static void classNameAttributeGetterForMainWorld(const v8::PropertyCallbackInfo<v8::Value>& info)
- -{
- - v8::Handle<v8::Object> holder = info.Holder();
- - Element* impl = V8Element::toNative(holder);
- - v8SetReturnValueString(info, impl->getClassAttribute(), info.GetIsolate());
- -}
- -
- -static void classNameAttributeGetterCallbackForMainWorld(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info)
- -{
- - TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter");
- - ElementV8Internal::classNameAttributeGetterForMainWorld(info);
- - TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
- -}
- -
- -static void classNameAttributeSetterForMainWorld(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
- -{
- - v8::Handle<v8::Object> holder = info.Holder();
- - Element* impl = V8Element::toNative(holder);
- - TOSTRING_VOID(V8StringResource<>, cppValue, v8Value);
- - impl->setAttribute(HTMLNames::classAttr, cppValue);
- -}
- -
- -static void classNameAttributeSetterCallbackForMainWorld(v8::Local<v8::String>, v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
- -{
- - TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter");
- - CustomElementCallbackDispatcher::CallbackDeliveryScope deliveryScope;
- - ElementV8Internal::classNameAttributeSetterForMainWorld(v8Value, info);
- - TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
- -}
- -
- static void classListAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
- {
- v8::Handle<v8::Object> holder = info.Holder();
- @@ -1408,35 +1060,6 @@
- TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
- }
- -static void onwheelAttributeGetterForMainWorld(const v8::PropertyCallbackInfo<v8::Value>& info)
- -{
- - v8::Handle<v8::Object> holder = info.Holder();
- - Element* impl = V8Element::toNative(holder);
- - EventListener* v8Value = impl->onwheel();
- - v8SetReturnValue(info, v8Value ? v8::Handle<v8::Value>(V8AbstractEventListener::cast(v8Value)->getListenerObject(impl->executionContext())) : v8::Handle<v8::Value>(v8::Null(info.GetIsolate())));
- -}
- -
- -static void onwheelAttributeGetterCallbackForMainWorld(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info)
- -{
- - TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter");
- - ElementV8Internal::onwheelAttributeGetterForMainWorld(info);
- - TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
- -}
- -
- -static void onwheelAttributeSetterForMainWorld(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
- -{
- - v8::Handle<v8::Object> holder = info.Holder();
- - Element* impl = V8Element::toNative(holder);
- - impl->setOnwheel(V8EventListenerList::getEventListener(v8Value, true, ListenerFindOrCreate));
- -}
- -
- -static void onwheelAttributeSetterCallbackForMainWorld(v8::Local<v8::String>, v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
- -{
- - TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter");
- - ElementV8Internal::onwheelAttributeSetterForMainWorld(v8Value, info);
- - TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
- -}
- -
- static void previousElementSiblingAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
- {
- v8::Handle<v8::Object> holder = info.Holder();
- @@ -1602,21 +1225,6 @@
- TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
- }
- -static void childElementCountAttributeGetterForMainWorld(const v8::PropertyCallbackInfo<v8::Value>& info)
- -{
- - v8::Handle<v8::Object> holder = info.Holder();
- - Element* impl = V8Element::toNative(holder);
- - ASSERT(impl);
- - v8SetReturnValueUnsigned(info, ParentNode::childElementCount(*impl));
- -}
- -
- -static void childElementCountAttributeGetterCallbackForMainWorld(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info)
- -{
- - TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter");
- - ElementV8Internal::childElementCountAttributeGetterForMainWorld(info);
- - TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
- -}
- -
- static void getAttributeMethod(const v8::FunctionCallbackInfo<v8::Value>& info)
- {
- if (UNLIKELY(info.Length() < 1)) {
- @@ -2534,29 +2142,29 @@
- } // namespace ElementV8Internal
- static const V8DOMConfiguration::AttributeConfiguration V8ElementAttributes[] = {
- - {"tagName", ElementV8Internal::tagNameAttributeGetterCallback, 0, ElementV8Internal::tagNameAttributeGetterCallbackForMainWorld, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
- + {"tagName", ElementV8Internal::tagNameAttributeGetterCallback, 0, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
- {"attributes", ElementV8Internal::attributesAttributeGetterCallback, 0, ElementV8Internal::attributesAttributeGetterCallbackForMainWorld, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
- {"style", ElementV8Internal::styleAttributeGetterCallback, 0, ElementV8Internal::styleAttributeGetterCallbackForMainWorld, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
- - {"id", ElementV8Internal::idAttributeGetterCallback, ElementV8Internal::idAttributeSetterCallback, ElementV8Internal::idAttributeGetterCallbackForMainWorld, ElementV8Internal::idAttributeSetterCallbackForMainWorld, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
- - {"namespaceURI", ElementV8Internal::namespaceURIAttributeGetterCallback, 0, ElementV8Internal::namespaceURIAttributeGetterCallbackForMainWorld, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
- - {"prefix", ElementV8Internal::prefixAttributeGetterCallback, ElementV8Internal::prefixAttributeSetterCallback, ElementV8Internal::prefixAttributeGetterCallbackForMainWorld, ElementV8Internal::prefixAttributeSetterCallbackForMainWorld, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
- - {"localName", ElementV8Internal::localNameAttributeGetterCallback, 0, ElementV8Internal::localNameAttributeGetterCallbackForMainWorld, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
- - {"offsetLeft", ElementV8Internal::offsetLeftAttributeGetterCallback, 0, ElementV8Internal::offsetLeftAttributeGetterCallbackForMainWorld, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
- - {"offsetTop", ElementV8Internal::offsetTopAttributeGetterCallback, 0, ElementV8Internal::offsetTopAttributeGetterCallbackForMainWorld, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
- - {"offsetWidth", ElementV8Internal::offsetWidthAttributeGetterCallback, 0, ElementV8Internal::offsetWidthAttributeGetterCallbackForMainWorld, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
- - {"offsetHeight", ElementV8Internal::offsetHeightAttributeGetterCallback, 0, ElementV8Internal::offsetHeightAttributeGetterCallbackForMainWorld, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
- + {"id", ElementV8Internal::idAttributeGetterCallback, ElementV8Internal::idAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
- + {"namespaceURI", ElementV8Internal::namespaceURIAttributeGetterCallback, 0, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
- + {"prefix", ElementV8Internal::prefixAttributeGetterCallback, ElementV8Internal::prefixAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
- + {"localName", ElementV8Internal::localNameAttributeGetterCallback, 0, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
- + {"offsetLeft", ElementV8Internal::offsetLeftAttributeGetterCallback, 0, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
- + {"offsetTop", ElementV8Internal::offsetTopAttributeGetterCallback, 0, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
- + {"offsetWidth", ElementV8Internal::offsetWidthAttributeGetterCallback, 0, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
- + {"offsetHeight", ElementV8Internal::offsetHeightAttributeGetterCallback, 0, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
- {"offsetParent", ElementV8Internal::offsetParentAttributeGetterCallback, 0, ElementV8Internal::offsetParentAttributeGetterCallbackForMainWorld, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
- - {"clientLeft", ElementV8Internal::clientLeftAttributeGetterCallback, 0, ElementV8Internal::clientLeftAttributeGetterCallbackForMainWorld, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
- - {"clientTop", ElementV8Internal::clientTopAttributeGetterCallback, 0, ElementV8Internal::clientTopAttributeGetterCallbackForMainWorld, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
- - {"clientWidth", ElementV8Internal::clientWidthAttributeGetterCallback, 0, ElementV8Internal::clientWidthAttributeGetterCallbackForMainWorld, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
- - {"clientHeight", ElementV8Internal::clientHeightAttributeGetterCallback, 0, ElementV8Internal::clientHeightAttributeGetterCallbackForMainWorld, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
- - {"scrollLeft", ElementV8Internal::scrollLeftAttributeGetterCallback, ElementV8Internal::scrollLeftAttributeSetterCallback, ElementV8Internal::scrollLeftAttributeGetterCallbackForMainWorld, ElementV8Internal::scrollLeftAttributeSetterCallbackForMainWorld, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
- - {"scrollTop", ElementV8Internal::scrollTopAttributeGetterCallback, ElementV8Internal::scrollTopAttributeSetterCallback, ElementV8Internal::scrollTopAttributeGetterCallbackForMainWorld, ElementV8Internal::scrollTopAttributeSetterCallbackForMainWorld, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
- - {"scrollWidth", ElementV8Internal::scrollWidthAttributeGetterCallback, 0, ElementV8Internal::scrollWidthAttributeGetterCallbackForMainWorld, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
- - {"scrollHeight", ElementV8Internal::scrollHeightAttributeGetterCallback, 0, ElementV8Internal::scrollHeightAttributeGetterCallbackForMainWorld, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
- - {"innerHTML", ElementV8Internal::innerHTMLAttributeGetterCallback, ElementV8Internal::innerHTMLAttributeSetterCallback, ElementV8Internal::innerHTMLAttributeGetterCallbackForMainWorld, ElementV8Internal::innerHTMLAttributeSetterCallbackForMainWorld, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
- + {"clientLeft", ElementV8Internal::clientLeftAttributeGetterCallback, 0, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
- + {"clientTop", ElementV8Internal::clientTopAttributeGetterCallback, 0, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
- + {"clientWidth", ElementV8Internal::clientWidthAttributeGetterCallback, 0, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
- + {"clientHeight", ElementV8Internal::clientHeightAttributeGetterCallback, 0, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
- + {"scrollLeft", ElementV8Internal::scrollLeftAttributeGetterCallback, ElementV8Internal::scrollLeftAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
- + {"scrollTop", ElementV8Internal::scrollTopAttributeGetterCallback, ElementV8Internal::scrollTopAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
- + {"scrollWidth", ElementV8Internal::scrollWidthAttributeGetterCallback, 0, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
- + {"scrollHeight", ElementV8Internal::scrollHeightAttributeGetterCallback, 0, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
- + {"innerHTML", ElementV8Internal::innerHTMLAttributeGetterCallback, ElementV8Internal::innerHTMLAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
- {"outerHTML", ElementV8Internal::outerHTMLAttributeGetterCallback, ElementV8Internal::outerHTMLAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
- - {"className", ElementV8Internal::classNameAttributeGetterCallback, ElementV8Internal::classNameAttributeSetterCallback, ElementV8Internal::classNameAttributeGetterCallbackForMainWorld, ElementV8Internal::classNameAttributeSetterCallbackForMainWorld, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
- + {"className", ElementV8Internal::classNameAttributeGetterCallback, ElementV8Internal::classNameAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
- {"classList", ElementV8Internal::classListAttributeGetterCallback, 0, ElementV8Internal::classListAttributeGetterCallbackForMainWorld, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
- {"dataset", ElementV8Internal::datasetAttributeGetterCallback, 0, ElementV8Internal::datasetAttributeGetterCallbackForMainWorld, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
- {"shadowRoot", ElementV8Internal::shadowRootAttributeGetterCallback, 0, ElementV8Internal::shadowRootAttributeGetterCallbackForMainWorld, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
- @@ -2570,13 +2178,13 @@
- {"onselectstart", ElementV8Internal::onselectstartAttributeGetterCallback, ElementV8Internal::onselectstartAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
- {"onwebkitfullscreenchange", ElementV8Internal::onwebkitfullscreenchangeAttributeGetterCallback, ElementV8Internal::onwebkitfullscreenchangeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
- {"onwebkitfullscreenerror", ElementV8Internal::onwebkitfullscreenerrorAttributeGetterCallback, ElementV8Internal::onwebkitfullscreenerrorAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
- - {"onwheel", ElementV8Internal::onwheelAttributeGetterCallback, ElementV8Internal::onwheelAttributeSetterCallback, ElementV8Internal::onwheelAttributeGetterCallbackForMainWorld, ElementV8Internal::onwheelAttributeSetterCallbackForMainWorld, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
- + {"onwheel", ElementV8Internal::onwheelAttributeGetterCallback, ElementV8Internal::onwheelAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
- {"previousElementSibling", ElementV8Internal::previousElementSiblingAttributeGetterCallback, 0, ElementV8Internal::previousElementSiblingAttributeGetterCallbackForMainWorld, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
- {"nextElementSibling", ElementV8Internal::nextElementSiblingAttributeGetterCallback, 0, ElementV8Internal::nextElementSiblingAttributeGetterCallbackForMainWorld, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
- {"children", ElementV8Internal::childrenAttributeGetterCallback, 0, ElementV8Internal::childrenAttributeGetterCallbackForMainWorld, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
- {"firstElementChild", ElementV8Internal::firstElementChildAttributeGetterCallback, 0, ElementV8Internal::firstElementChildAttributeGetterCallbackForMainWorld, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
- {"lastElementChild", ElementV8Internal::lastElementChildAttributeGetterCallback, 0, ElementV8Internal::lastElementChildAttributeGetterCallbackForMainWorld, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
- - {"childElementCount", ElementV8Internal::childElementCountAttributeGetterCallback, 0, ElementV8Internal::childElementCountAttributeGetterCallbackForMainWorld, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
- + {"childElementCount", ElementV8Internal::childElementCountAttributeGetterCallback, 0, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
- };
- static const V8DOMConfiguration::MethodConfiguration V8ElementMethods[] = {
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement