Searched defs:pageWidthInPixels (Results 1 - 8 of 8) sorted by relevance

/external/webkit/Source/WebKit2/WebProcess/InjectedBundle/API/c/
H A DWKBundle.cpp156 int WKBundleNumberOfPages(WKBundleRef bundleRef, WKBundleFrameRef frameRef, double pageWidthInPixels, double pageHeightInPixels) argument
158 return toImpl(bundleRef)->numberOfPages(toImpl(frameRef), pageWidthInPixels, pageHeightInPixels);
161 int WKBundlePageNumberForElementById(WKBundleRef bundleRef, WKBundleFrameRef frameRef, WKStringRef idRef, double pageWidthInPixels, double pageHeightInPixels) argument
163 return toImpl(bundleRef)->pageNumberForElementById(toImpl(frameRef), toImpl(idRef)->string(), pageWidthInPixels, pageHeightInPixels);
/external/webkit/Source/WebKit2/WebProcess/InjectedBundle/
H A DInjectedBundle.cpp148 int InjectedBundle::numberOfPages(WebFrame* frame, double pageWidthInPixels, double pageHeightInPixels) argument
153 if (!pageWidthInPixels)
154 pageWidthInPixels = coreFrame->view()->width();
158 return PrintContext::numberOfPages(coreFrame, FloatSize(pageWidthInPixels, pageHeightInPixels));
161 int InjectedBundle::pageNumberForElementById(WebFrame* frame, const String& id, double pageWidthInPixels, double pageHeightInPixels) argument
171 if (!pageWidthInPixels)
172 pageWidthInPixels = coreFrame->view()->width();
176 return PrintContext::pageNumberForElement(element, FloatSize(pageWidthInPixels, pageHeightInPixels));
/external/webkit/Tools/WebKitTestRunner/InjectedBundle/
H A DLayoutTestController.cpp329 int LayoutTestController::numberOfPages(double pageWidthInPixels, double pageHeightInPixels) argument
332 return WKBundleNumberOfPages(InjectedBundle::shared().bundle(), mainFrame, pageWidthInPixels, pageHeightInPixels);
335 int LayoutTestController::pageNumberForElementById(JSStringRef id, double pageWidthInPixels, double pageHeightInPixels) argument
338 return WKBundlePageNumberForElementById(InjectedBundle::shared().bundle(), mainFrame, toWK(id).get(), pageWidthInPixels, pageHeightInPixels);
/external/webkit/Tools/DumpRenderTree/chromium/
H A DLayoutTestController.cpp1445 int* pageWidthInPixels,
1451 *pageWidthInPixels = 800;
1457 *pageWidthInPixels = arguments[argOffset].toInt32();
1471 int pageWidthInPixels = 0; local
1474 &pageWidthInPixels, &pageHeightInPixels))
1482 static_cast<float>(pageWidthInPixels),
1489 int pageWidthInPixels = 0; local
1491 if (!parsePageSizeParameters(arguments, 0, &pageWidthInPixels, &pageHeightInPixels))
1497 WebSize size(pageWidthInPixels, pageHeightInPixels);
1443 parsePageSizeParameters(const CppArgumentList& arguments, int argOffset, int* pageWidthInPixels, int* pageHeightInPixels) argument
/external/webkit/Tools/DumpRenderTree/win/
H A DLayoutTestControllerWin.cpp1349 int LayoutTestController::pageNumberForElementById(JSStringRef id, float pageWidthInPixels, float pageHeightInPixels) argument
1358 if (FAILED(framePrivate->pageNumberForElementById(idBSTR, pageWidthInPixels, pageHeightInPixels, &pageNumber)))
1364 int LayoutTestController::numberOfPages(float pageWidthInPixels, float pageHeightInPixels) argument
1371 if (FAILED(framePrivate->numberOfPages(pageWidthInPixels, pageHeightInPixels, &pageNumber)))
/external/webkit/Tools/DumpRenderTree/
H A DLayoutTestController.cpp730 static bool parsePageParameters(JSContextRef context, int argumentCount, const JSValueRef* arguments, JSValueRef* exception, float& pageWidthInPixels, float& pageHeightInPixels) argument
732 pageWidthInPixels = LayoutTestController::maxViewWidth;
736 pageWidthInPixels = static_cast<float>(JSValueToNumber(context, arguments[0], exception));
842 float pageWidthInPixels = 0; local
844 if (!parsePageParameters(context, argumentCount - 1, arguments + 1, exception, pageWidthInPixels, pageHeightInPixels))
852 int pageNumber = controller->pageNumberForElementById(elementId.get(), pageWidthInPixels, pageHeightInPixels);
858 float pageWidthInPixels = 0; local
860 if (!parsePageParameters(context, argumentCount, arguments, exception, pageWidthInPixels, pageHeightInPixels))
864 return JSValueMakeNumber(context, controller->numberOfPages(pageWidthInPixels, pageHeightInPixels));
/external/webkit/Source/WebKit/chromium/src/
H A DWebFrameImpl.cpp1834 float pageWidthInPixels,
1844 FloatSize pageSize(pageWidthInPixels, pageHeightInPixels);
1833 pageNumberForElementById(const WebString& id, float pageWidthInPixels, float pageHeightInPixels) const argument
/external/webkit/Source/WebKit/win/
H A DWebFrame.cpp894 /* [in] */ float pageWidthInPixels,
910 *result = PrintContext::pageNumberForElement(element, FloatSize(pageWidthInPixels, pageHeightInPixels));
915 /* [in] */ float pageWidthInPixels,
926 *result = PrintContext::numberOfPages(coreFrame, FloatSize(pageWidthInPixels, pageHeightInPixels));
892 pageNumberForElementById( BSTR id, float pageWidthInPixels, float pageHeightInPixels, int* result) argument
914 numberOfPages( float pageWidthInPixels, float pageHeightInPixels, int* result) argument

Completed in 149 milliseconds