Home | History | Annotate | Download | only in C

Lines Matching full:callback

400 void WKPageRunJavaScriptInMainFrame(WKPageRef pageRef, WKStringRef scriptRef, void* context, WKPageRunJavaScriptFunction callback)
402 toImpl(pageRef)->runJavaScriptInMainFrame(toImpl(scriptRef)->string(), ScriptValueCallback::create(context, callback));
419 void WKPageRenderTreeExternalRepresentation(WKPageRef pageRef, void* context, WKPageRenderTreeExternalRepresentationFunction callback)
421 toImpl(pageRef)->getRenderTreeExternalRepresentation(StringCallback::create(context, callback));
438 void WKPageGetSourceForFrame(WKPageRef pageRef, WKFrameRef frameRef, void* context, WKPageGetSourceForFrameFunction callback)
440 toImpl(pageRef)->getSourceForFrame(toImpl(frameRef), StringCallback::create(context, callback));
457 void WKPageGetContentsAsString(WKPageRef pageRef, void* context, WKPageGetContentsAsStringFunction callback)
459 toImpl(pageRef)->getContentsAsString(StringCallback::create(context, callback));
476 void WKPageForceRepaint(WKPageRef pageRef, void* context, WKPageForceRepaintFunction callback)
478 toImpl(pageRef)->forceRepaint(VoidCallback::create(context, callback));
498 void WKPageValidateCommand(WKPageRef pageRef, WKStringRef command, void* context, WKPageValidateCommandCallback callback)
500 toImpl(pageRef)->validateCommand(toImpl(command)->string(), ValidateCommandCallback::create(context, callback));
510 ComputedPagesContext(WKPageComputePagesForPrintingFunction callback, void* context)
511 : callback(callback)
515 WKPageComputePagesForPrintingFunction callback;
525 context->callback(wkRects.data(), wkRects.size(), scaleFactor, error, context->context);
537 void WKPageComputePagesForPrinting(WKPageRef page, WKFrameRef frame, WKPrintInfo printInfo, WKPageComputePagesForPrintingFunction callback, void* context)
539 toImpl(page)->computePagesForPrinting(toImpl(frame), printInfoFromWKPrintInfo(printInfo), ComputedPagesCallback::create(new ComputedPagesContext(callback, context), computedPagesCallback));
547 void WKPageDrawPagesToPDF(WKPageRef page, WKFrameRef frame, uint32_t first, uint32_t count, WKPageDrawToPDFFunction callback, void* context)
549 callback));