/external/webkit/Source/WebKit2/WebProcess/InjectedBundle/API/c/ |
H A D | WKBundle.cpp | 156 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 D | InjectedBundle.cpp | 148 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 D | LayoutTestController.cpp | 329 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 D | LayoutTestController.cpp | 1445 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 D | LayoutTestControllerWin.cpp | 1349 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 D | LayoutTestController.cpp | 730 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 D | WebFrameImpl.cpp | 1834 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 D | WebFrame.cpp | 894 /* [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
|