Home | History | Annotate | Download | only in DumpRenderTree

Lines Matching refs:pageHeightInPixels

468 static bool parsePageParameters(JSContextRef context, int argumentCount, const JSValueRef* arguments, JSValueRef* exception, float& pageWidthInPixels, float& pageHeightInPixels)
473 pageHeightInPixels = 600;
479 pageHeightInPixels = static_cast<float>(JSValueToNumber(context, arguments[1], exception));
493 float pageHeightInPixels = 0;
494 if (!parsePageParameters(context, argumentCount - 1, arguments + 1, exception, pageWidthInPixels, pageHeightInPixels))
502 int pageNumber = controller->pageNumberForElementById(elementId.get(), pageWidthInPixels, pageHeightInPixels);
509 float pageHeightInPixels = 0;
510 if (!parsePageParameters(context, argumentCount, arguments, exception, pageWidthInPixels, pageHeightInPixels))
514 return JSValueMakeNumber(context, controller->numberOfPages(pageWidthInPixels, pageHeightInPixels));