Home
last modified time | relevance | path

Searched refs:pageHeightInPixels (Results 1 – 20 of 20) sorted by relevance

/external/webkit/Source/WebKit2/WebProcess/InjectedBundle/
DInjectedBundle.cpp148 …InjectedBundle::numberOfPages(WebFrame* frame, double pageWidthInPixels, double pageHeightInPixels) in numberOfPages() argument
155 if (!pageHeightInPixels) in numberOfPages()
156 pageHeightInPixels = coreFrame->view()->height(); in numberOfPages()
158 return PrintContext::numberOfPages(coreFrame, FloatSize(pageWidthInPixels, pageHeightInPixels)); in numberOfPages()
161 …ElementById(WebFrame* frame, const String& id, double pageWidthInPixels, double pageHeightInPixels) in pageNumberForElementById() argument
173 if (!pageHeightInPixels) in pageNumberForElementById()
174 pageHeightInPixels = coreFrame->view()->height(); in pageNumberForElementById()
176 …turn PrintContext::pageNumberForElement(element, FloatSize(pageWidthInPixels, pageHeightInPixels)); in pageNumberForElementById()
/external/webkit/Source/WebKit/mac/Misc/
DWebCoreStatistics.h88 - (int)pageNumberForElement:(DOMElement*)element:(float)pageWidthInPixels:(float)pageHeightInPixels;
89 - (int)numberOfPages:(float)pageWidthInPixels:(float)pageHeightInPixels;
93 - (void)printToCGContext:(CGContextRef)cgContext:(float)pageWidthInPixels:(float)pageHeightInPixels;
DWebCoreStatistics.mm276 - (int)pageNumberForElement:(DOMElement*)element:(float)pageWidthInPixels:(float)pageHeightInPixels
278 …rintContext::pageNumberForElement(core(element), FloatSize(pageWidthInPixels, pageHeightInPixels));
281 - (int)numberOfPages:(float)pageWidthInPixels:(float)pageHeightInPixels
283 …PrintContext::numberOfPages(_private->coreFrame, FloatSize(pageWidthInPixels, pageHeightInPixels));
301 - (void)printToCGContext:(CGContextRef)cgContext:(float)pageWidthInPixels:(float)pageHeightInPixels
308 …lPagesWithBoundaries(coreFrame, graphicsContext, FloatSize(pageWidthInPixels, pageHeightInPixels));
/external/webkit/Source/WebKit2/WebProcess/InjectedBundle/API/c/
DWKBundle.cpp156 …undleRef bundleRef, WKBundleFrameRef frameRef, double pageWidthInPixels, double pageHeightInPixels) in WKBundleNumberOfPages() argument
158 … return toImpl(bundleRef)->numberOfPages(toImpl(frameRef), pageWidthInPixels, pageHeightInPixels); in WKBundleNumberOfPages()
161 … WKBundleFrameRef frameRef, WKStringRef idRef, double pageWidthInPixels, double pageHeightInPixels) in WKBundlePageNumberForElementById() argument
163 …erForElementById(toImpl(frameRef), toImpl(idRef)->string(), pageWidthInPixels, pageHeightInPixels); in WKBundlePageNumberForElementById()
DWKBundlePrivate.h72 …KBundleRef bundle, WKBundleFrameRef frameRef, double pageWidthInPixels, double pageHeightInPixels);
73 …WKBundleFrameRef frameRef, WKStringRef idRef, double pageWidthInPixels, double pageHeightInPixels);
/external/webkit/Tools/WebKitTestRunner/InjectedBundle/
DLayoutTestController.h118 int numberOfPages(double pageWidthInPixels, double pageHeightInPixels);
119 int pageNumberForElementById(JSStringRef, double pageWidthInPixels, double pageHeightInPixels);
DLayoutTestController.cpp329 int LayoutTestController::numberOfPages(double pageWidthInPixels, double pageHeightInPixels) in numberOfPages() argument
332 …NumberOfPages(InjectedBundle::shared().bundle(), mainFrame, pageWidthInPixels, pageHeightInPixels); in numberOfPages()
335 …ller::pageNumberForElementById(JSStringRef id, double pageWidthInPixels, double pageHeightInPixels) in pageNumberForElementById() argument
338 …jectedBundle::shared().bundle(), mainFrame, toWK(id).get(), pageWidthInPixels, pageHeightInPixels); in pageNumberForElementById()
/external/webkit/Tools/WebKitTestRunner/InjectedBundle/Bindings/
DLayoutTestController.idl69 int numberOfPages(in double pageWidthInPixels, in double pageHeightInPixels);
70 …geNumberForElementById(in DOMString id, in double pageWidthInPixels, in double pageHeightInPixels);
/external/webkit/Tools/DumpRenderTree/chromium/
DLayoutTestController.cpp1446 int* pageHeightInPixels) in parsePageSizeParameters() argument
1452 *pageHeightInPixels = 600; in parsePageSizeParameters()
1458 *pageHeightInPixels = arguments[1 + argOffset].toInt32(); in parsePageSizeParameters()
1472 int pageHeightInPixels = 0; in pageNumberForElementById() local
1474 &pageWidthInPixels, &pageHeightInPixels)) in pageNumberForElementById()
1483 static_cast<float>(pageHeightInPixels))); in pageNumberForElementById()
1490 int pageHeightInPixels = 0; in numberOfPages() local
1491 if (!parsePageSizeParameters(arguments, 0, &pageWidthInPixels, &pageHeightInPixels)) in numberOfPages()
1497 WebSize size(pageWidthInPixels, pageHeightInPixels); in numberOfPages()
/external/webkit/Source/WebKit/win/Interfaces/
DIWebFramePrivate.idl106 …ElementById([in] BSTR id, [in] float pageWidthInPixels, [in] float pageHeightInPixels, [out, retva…
108 …HRESULT numberOfPages([in] float pageWidthInPixels, [in] float pageHeightInPixels, [out, retval] i…
/external/webkit/Tools/DumpRenderTree/mac/
DPixelDumpSupportMac.mm271 int pageHeightInPixels = LayoutTestController::maxViewHeight;
272 int numberOfPages = [mainFrame numberOfPages:pageWidthInPixels:pageHeightInPixels];
276 …pContext = createBitmapContext(pageWidthInPixels, numberOfPages * (pageHeightInPixels + 1) - 1, ro…
277 [mainFrame printToCGContext:bitmapContext->cgContext():pageWidthInPixels:pageHeightInPixels];
DLayoutTestControllerMac.mm282 …roller::pageNumberForElementById(JSStringRef id, float pageWidthInPixels, float pageHeightInPixels)
291 return [mainFrame pageNumberForElement:element:pageWidthInPixels:pageHeightInPixels];
311 int LayoutTestController::numberOfPages(float pageWidthInPixels, float pageHeightInPixels)
313 return [mainFrame numberOfPages:pageWidthInPixels:pageHeightInPixels];
/external/webkit/Tools/DumpRenderTree/
DLayoutTestController.h72 int numberOfPages(float pageWidthInPixels, float pageHeightInPixels);
75 int pageNumberForElementById(JSStringRef id, float pageWidthInPixels, float pageHeightInPixels);
DLayoutTestController.cpp730 … JSValueRef* arguments, JSValueRef* exception, float& pageWidthInPixels, float& pageHeightInPixels) in parsePageParameters() argument
733 pageHeightInPixels = LayoutTestController::maxViewHeight; in parsePageParameters()
739 pageHeightInPixels = static_cast<float>(JSValueToNumber(context, arguments[1], exception)); in parsePageParameters()
843 float pageHeightInPixels = 0; in pageNumberForElementByIdCallback() local
844 …eters(context, argumentCount - 1, arguments + 1, exception, pageWidthInPixels, pageHeightInPixels)) in pageNumberForElementByIdCallback()
852 …ber = controller->pageNumberForElementById(elementId.get(), pageWidthInPixels, pageHeightInPixels); in pageNumberForElementByIdCallback()
859 float pageHeightInPixels = 0; in numberOfPagesCallback() local
860 …ageParameters(context, argumentCount, arguments, exception, pageWidthInPixels, pageHeightInPixels)) in numberOfPagesCallback()
864 …eturn JSValueMakeNumber(context, controller->numberOfPages(pageWidthInPixels, pageHeightInPixels)); in numberOfPagesCallback()
/external/webkit/Source/WebKit/win/
DWebFrame.h169 /* [in] */ float pageHeightInPixels,
174 /* [in] */ float pageHeightInPixels,
DWebFrame.cpp895 /* [in] */ float pageHeightInPixels, in pageNumberForElementById() argument
910 …lt = PrintContext::pageNumberForElement(element, FloatSize(pageWidthInPixels, pageHeightInPixels)); in pageNumberForElementById()
916 /* [in] */ float pageHeightInPixels, in numberOfPages() argument
926 …*result = PrintContext::numberOfPages(coreFrame, FloatSize(pageWidthInPixels, pageHeightInPixels)); in numberOfPages()
/external/webkit/Tools/DumpRenderTree/win/
DLayoutTestControllerWin.cpp1349 …roller::pageNumberForElementById(JSStringRef id, float pageWidthInPixels, float pageHeightInPixels) in pageNumberForElementById() argument
1358 …if (FAILED(framePrivate->pageNumberForElementById(idBSTR, pageWidthInPixels, pageHeightInPixels, &… in pageNumberForElementById()
1364 int LayoutTestController::numberOfPages(float pageWidthInPixels, float pageHeightInPixels) in numberOfPages() argument
1371 if (FAILED(framePrivate->numberOfPages(pageWidthInPixels, pageHeightInPixels, &pageNumber))) in numberOfPages()
/external/webkit/Source/WebKit/chromium/public/
DWebFrame.h580 float pageHeightInPixels) const = 0;
/external/webkit/Source/WebKit/chromium/src/
DWebFrameImpl.h202 float pageHeightInPixels) const;
DWebFrameImpl.cpp1835 float pageHeightInPixels) const in pageNumberForElementById()
1844 FloatSize pageSize(pageWidthInPixels, pageHeightInPixels); in pageNumberForElementById()