Home | History | Annotate | Download | only in DumpRenderTree

Lines Matching defs:pageWidthInPixels

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