Home | History | Annotate | Download | only in DumpRenderTree

Lines Matching defs:pageHeightInPixels

730 static bool parsePageParameters(JSContextRef context, int argumentCount, const JSValueRef* arguments, JSValueRef* exception, float& pageWidthInPixels, float& pageHeightInPixels)
733 pageHeightInPixels = LayoutTestController::maxViewHeight;
739 pageHeightInPixels = static_cast<float>(JSValueToNumber(context, arguments[1], exception));
843 float pageHeightInPixels = 0;
844 if (!parsePageParameters(context, argumentCount - 1, arguments + 1, exception, pageWidthInPixels, pageHeightInPixels))
852 int pageNumber = controller->pageNumberForElementById(elementId.get(), pageWidthInPixels, pageHeightInPixels);
859 float pageHeightInPixels = 0;
860 if (!parsePageParameters(context, argumentCount, arguments, exception, pageWidthInPixels, pageHeightInPixels))
864 return JSValueMakeNumber(context, controller->numberOfPages(pageWidthInPixels, pageHeightInPixels));