Lines Matching refs:info

48 void V8Element::scrollLeftAttributeSetterCustom(v8::Local<v8::Value> value, const v8::PropertyCallbackInfo<void>& info)
50 ExceptionState exceptionState(ExceptionState::SetterContext, "scrollLeft", "Element", info.Holder(), info.GetIsolate());
51 Element* impl = V8Element::toImpl(info.Holder());
54 TONATIVE_VOID(Dictionary, scrollOptionsHorizontal, Dictionary(value, info.GetIsolate()));
64 void V8Element::scrollTopAttributeSetterCustom(v8::Local<v8::Value> value, const v8::PropertyCallbackInfo<void>& info)
66 ExceptionState exceptionState(ExceptionState::SetterContext, "scrollTop", "Element", info.Holder(), info.GetIsolate());
67 Element* impl = V8Element::toImpl(info.Holder());
70 TONATIVE_VOID(Dictionary, scrollOptionsVertical, Dictionary(value, info.GetIsolate()));
86 void animate1Method(const v8::FunctionCallbackInfo<v8::Value>& info)
88 Element* impl = V8Element::toImpl(info.Holder());
89 TONATIVE_VOID(AnimationEffect*, effect, V8AnimationEffect::toImplWithTypeCheck(info.GetIsolate(), info[0]));
90 v8SetReturnValueFast(info, WTF::getPtr(ElementAnimation::animate(*impl, effect)), impl);
94 void animate2Method(const v8::FunctionCallbackInfo<v8::Value>& info)
96 ExceptionState exceptionState(ExceptionState::ExecutionContext, "animate", "Element", info.Holder(), info.GetIsolate());
97 Element* impl = V8Element::toImpl(info.Holder());
98 TONATIVE_VOID_EXCEPTIONSTATE(Vector<Dictionary>, keyframes, toImplArray<Dictionary>(info[0], 1, info.GetIsolate(), exceptionState), exceptionState);
102 v8SetReturnValueFast(info, WTF::getPtr(result.release()), impl);
106 void animate3Method(const v8::FunctionCallbackInfo<v8::Value>& info)
108 Element* impl = V8Element::toImpl(info.Holder());
109 TONATIVE_VOID(AnimationEffect*, effect, V8AnimationEffect::toImplWithTypeCheck(info.GetIsolate(), info[0]));
110 TONATIVE_VOID(double, duration, static_cast<double>(info[1]->NumberValue()));
111 v8SetReturnValueFast(info, WTF::getPtr(ElementAnimation::animate(*impl, effect, duration)), impl);
115 void animate4Method(const v8::FunctionCallbackInfo<v8::Value>& info)
117 Element* impl = V8Element::toImpl(info.Holder());
118 TONATIVE_VOID(AnimationEffect*, effect, V8AnimationEffect::toImplWithTypeCheck(info.GetIsolate(), info[0]));
119 TONATIVE_VOID(Dictionary, timingInput, Dictionary(info[1], info.GetIsolate()));
121 V8ThrowException::throwTypeError(ExceptionMessages::failedToExecute("animate", "Element", "parameter 2 ('timingInput') is not an object."), info.GetIsolate());
124 v8SetReturnValueFast(info, WTF::getPtr(ElementAnimation::animate(*impl, effect, timingInput)), impl);
128 void animate5Method(const v8::FunctionCallbackInfo<v8::Value>& info)
130 ExceptionState exceptionState(ExceptionState::ExecutionContext, "animate", "Element", info.Holder(), info.GetIsolate());
131 Element* impl = V8Element::toImpl(info.Holder());
132 TONATIVE_VOID_EXCEPTIONSTATE(Vector<Dictionary>, keyframes, toImplArray<Dictionary>(info[0], 1, info.GetIsolate(), exceptionState), exceptionState);
133 TONATIVE_VOID(double, duration, static_cast<double>(info[1]->NumberValue()));
137 v8SetReturnValueFast(info, WTF::getPtr(result.release()), impl);
141 void animate6Method(const v8::FunctionCallbackInfo<v8::Value>& info)
143 ExceptionState exceptionState(ExceptionState::ExecutionContext, "animate", "Element", info.Holder(), info.GetIsolate());
144 Element* impl = V8Element::toImpl(info.Holder());
145 TONATIVE_VOID_EXCEPTIONSTATE(Vector<Dictionary>, keyframes, toImplArray<Dictionary>(info[0], 1, info.GetIsolate(), exceptionState), exceptionState);
146 TONATIVE_VOID(Dictionary, timingInput, Dictionary(info[1], info.GetIsolate()));
155 v8SetReturnValueFast(info, WTF::getPtr(result.release()), impl);
158 void V8Element::animateMethodCustom(const v8::FunctionCallbackInfo<v8::Value>& info)
160 v8::Isolate* isolate = info.GetIsolate();
161 ExceptionState exceptionState(ExceptionState::ExecutionContext, "animate", "Element", info.Holder(), isolate);
165 switch (info.Length()) {
172 if (info[0]->IsNull()) {
173 animate1Method(info);
177 if (V8AnimationEffect::hasInstance(info[0], isolate)) {
178 animate1Method(info);
183 if (info[0]->IsArray()) {
185 animate2Method(info);
192 if (info[0]->IsNull() && info[1]->IsObject()) {
193 animate4Method(info);
197 if (info[0]->IsNull()) {
198 animate3Method(info);
202 if (V8AnimationEffect::hasInstance(info[0], isolate)
203 && info[1]->IsObject()) {
204 animate4Method(info);
208 if (V8AnimationEffect::hasInstance(info[0], isolate)) {
209 animate3Method(info);
214 if (info[0]->IsArray() && info[1]->IsObject()) {
216 animate6Method(info);
221 if (info[0]->IsArray()) {
223 animate5Method(info);
228 setArityTypeError(exceptionState, "[1]", info.Length());