/external/webkit/Source/WebCore/platform/graphics/ |
GlyphMetricsMap.h | 79 GlyphMetricsPage* locatePage(unsigned pageNumber) 81 if (!pageNumber && m_filledPrimaryPage) 83 return locatePageSlowCase(pageNumber); 86 GlyphMetricsPage* locatePageSlowCase(unsigned pageNumber); 105 template<class T> typename GlyphMetricsMap<T>::GlyphMetricsPage* GlyphMetricsMap<T>::locatePageSlowCase(unsigned pageNumber) 108 if (!pageNumber) { 114 if ((page = m_pages->get(pageNumber))) 119 m_pages->set(pageNumber, page);
|
FontFastPath.cpp | 62 unsigned pageNumber = (c / GlyphPage::size); 64 GlyphPageTreeNode* node = pageNumber ? m_fontList->m_pages.get(pageNumber) : m_fontList->m_pageZero; 66 node = GlyphPageTreeNode::getRootChild(fontDataAt(0), pageNumber); 67 if (pageNumber) 68 m_fontList->m_pages.set(pageNumber, node); 89 GlyphPageTreeNode* brokenIdeographNode = GlyphPageTreeNode::getRootChild(brokenIdeographFontData, pageNumber); 103 GlyphPageTreeNode* verticalRightNode = GlyphPageTreeNode::getRootChild(verticalRightFontData, pageNumber); 117 GlyphPageTreeNode* uprightNode = GlyphPageTreeNode::getRootChild(uprightFontData, pageNumber); 142 node = node->getChild(fontDataAt(node->level()), pageNumber); [all...] |
GlyphPageTreeNode.h | 40 void showGlyphPageTree(unsigned pageNumber); 188 static GlyphPageTreeNode* getRootChild(const FontData* fontData, unsigned pageNumber) 190 return getRoot(pageNumber)->getChild(fontData, pageNumber); 200 GlyphPageTreeNode* getChild(const FontData*, unsigned pageNumber); 215 static GlyphPageTreeNode* getRoot(unsigned pageNumber); 216 void initializePage(const FontData*, unsigned pageNumber); 233 friend void ::showGlyphPageTree(unsigned pageNumber);
|
GlyphPageTreeNode.cpp | 48 GlyphPageTreeNode* GlyphPageTreeNode::getRoot(unsigned pageNumber) 57 GlyphPageTreeNode* node = pageNumber ? roots->get(pageNumber) : pageZeroRoot; 61 node->m_pageNumber = pageNumber; 63 if (pageNumber) 64 roots->set(pageNumber, node); 139 void GlyphPageTreeNode::initializePage(const FontData* fontData, unsigned pageNumber) 157 unsigned start = pageNumber * GlyphPage::size; 268 m_page = parentPage->owner()->getChild(fontData, pageNumber)->page(); 274 GlyphPage* fallbackPage = getRootChild(fontData, pageNumber)->page() [all...] |
/external/webkit/Source/WebCore/page/ |
PrintContext.h | 54 const IntRect& pageRect(size_t pageNumber) const { return m_pageRects[pageNumber]; } 64 void spoolPage(GraphicsContext& ctx, int pageNumber, float width); 73 static String pageProperty(Frame* frame, const char* propertyName, int pageNumber); 74 static bool isPageBoxVisible(Frame* frame, int pageNumber); 75 static String pageSizeAndMarginsInPixels(Frame* frame, int pageNumber, int width, int height, int marginTop, int marginRight, int marginBottom, int marginLeft);
|
PrintContext.cpp | 203 void PrintContext::spoolPage(GraphicsContext& ctx, int pageNumber, float width) 206 IntRect pageRect = m_pageRects[pageNumber]; 264 size_t pageNumber = 0; 265 for (; pageNumber < printContext.pageCount(); pageNumber++) { 266 const IntRect& page = printContext.pageRect(pageNumber); 268 return pageNumber; 273 String PrintContext::pageProperty(Frame* frame, const char* propertyName, int pageNumber) 279 RefPtr<RenderStyle> style = document->styleForPage(pageNumber); 299 bool PrintContext::isPageBoxVisible(Frame* frame, int pageNumber) [all...] |
/external/chromium/chrome/browser/printing/ |
print_job_worker.cc | 70 DCHECK(page_number_ == PageNumber::npos()); 80 DCHECK_EQ(page_number_, PageNumber::npos()); 178 DCHECK_EQ(page_number_, PageNumber::npos()); 183 if (!document_.get() || page_number_ != PageNumber::npos() || 206 DCHECK_EQ(page_number_, PageNumber::npos()); 210 if (page_number_ != PageNumber::npos()) 224 if (page_number_ == PageNumber::npos()) { 236 DCHECK_NE(page_number_, PageNumber::npos()); 252 if (page_number_ == PageNumber::npos()) { 269 DCHECK_EQ(page_number_, PageNumber::npos()) [all...] |
print_job_worker.h | 124 PageNumber page_number_;
|
/external/webkit/Source/WebKit/gtk/WebCoreSupport/ |
DumpRenderTreeSupportGtk.h | 72 static WTF::CString pageProperty(WebKitWebFrame*, const char* propertyName, int pageNumber); 73 static bool isPageBoxVisible(WebKitWebFrame*, int pageNumber); 74 static WTF::CString pageSizeAndMarginsInPixels(WebKitWebFrame*, int pageNumber, int width, int height, int marginTop, int marginRight, int marginBottom, int marginLeft);
|
DumpRenderTreeSupportGtk.cpp | 284 * @pageNumber: number of a page 288 CString DumpRenderTreeSupportGtk::pageProperty(WebKitWebFrame* frame, const char* propertyName, int pageNumber) 296 return PrintContext::pageProperty(coreFrame, propertyName, pageNumber).utf8(); 302 * @pageNumber: number of a page 306 bool DumpRenderTreeSupportGtk::isPageBoxVisible(WebKitWebFrame* frame, int pageNumber) 314 return coreFrame->document()->isPageBoxVisible(pageNumber); 320 * @pageNumber: number of a page 330 CString DumpRenderTreeSupportGtk::pageSizeAndMarginsInPixels(WebKitWebFrame* frame, int pageNumber, int width, int height, int marginTop, int marginRight, int marginBottom, int marginLeft) 338 return PrintContext::pageSizeAndMarginsInPixels(coreFrame, pageNumber, width, height, marginTop, marginRight, marginBottom, marginLeft).utf8();
|
/external/webkit/Source/WebKit/mac/Misc/ |
WebCoreStatistics.h | 90 - (NSString *)pageProperty:(const char*)propertyName:(int)pageNumber; 91 - (bool)isPageBoxVisible:(int)pageNumber; 92 - (NSString *)pageSizeAndMarginsInPixels:(int)pageNumber:(int)width:(int)height:(int)marginTop:(int)marginRight:(int)marginBottom:(int)marginLeft;
|
WebCoreStatistics.mm | 286 - (NSString *)pageProperty:(const char *)propertyName:(int)pageNumber 288 return PrintContext::pageProperty(_private->coreFrame, propertyName, pageNumber); 291 - (bool)isPageBoxVisible:(int)pageNumber 293 return PrintContext::isPageBoxVisible(_private->coreFrame, pageNumber); 296 - (NSString *)pageSizeAndMarginsInPixels:(int)pageNumber:(int)width:(int)height:(int)marginTop:(int)marginRight:(int)marginBottom:(int)marginLeft 298 return PrintContext::pageSizeAndMarginsInPixels(_private->coreFrame, pageNumber, width, height, marginTop, marginRight, marginBottom, marginLeft);
|
/external/webkit/Source/WebKit/win/Interfaces/ |
IWebFramePrivate.idl | 106 HRESULT pageNumberForElementById([in] BSTR id, [in] float pageWidthInPixels, [in] float pageHeightInPixels, [out, retval] int* pageNumber); 108 HRESULT numberOfPages([in] float pageWidthInPixels, [in] float pageHeightInPixels, [out, retval] int* pageNumber);
|
/external/webkit/Tools/DumpRenderTree/win/ |
LayoutTestControllerWin.cpp | [all...] |
/external/webkit/Source/WebKit/chromium/public/ |
WebPlugin.h | 93 // Prints the page specified by pageNumber (0-based index) into the supplied canvas. 94 virtual bool printPage(int pageNumber, WebCanvas* canvas) { return false; }
|
/external/webkit/Source/WebKit/chromium/src/ |
WebPluginContainerImpl.h | 108 // Prints the page specified by pageNumber (0-based index) into the supplied canvas. 109 bool printPage(int pageNumber, WebCore::GraphicsContext* gc);
|
WebPluginContainerImpl.cpp | 238 bool WebPluginContainerImpl::printPage(int pageNumber, 247 bool ret = m_webPlugin->printPage(pageNumber, canvas);
|
WebFrameImpl.cpp | 318 virtual float getPageShrink(int pageNumber) const 320 IntRect pageRect = m_pageRects[pageNumber]; 329 virtual float spoolPage(GraphicsContext& ctx, int pageNumber) 331 IntRect pageRect = m_pageRects[pageNumber]; 385 virtual float getPageShrink(int pageNumber) const 404 virtual float spoolPage(GraphicsContext& ctx, int pageNumber) 406 m_plugin->printPage(pageNumber, &ctx); [all...] |
/external/webkit/Tools/DumpRenderTree/gtk/ |
LayoutTestControllerGtk.cpp | 142 int pageNumber = DumpRenderTreeSupportGtk::pageNumberForElementById(mainFrame, idGChar, pageWidth, pageHeight); 144 return pageNumber; 152 JSRetainPtr<JSStringRef> LayoutTestController::pageProperty(const char* propertyName, int pageNumber) const 154 JSRetainPtr<JSStringRef> propertyValue(Adopt, JSStringCreateWithUTF8CString(DumpRenderTreeSupportGtk::pageProperty(mainFrame, propertyName, pageNumber).data())); 158 bool LayoutTestController::isPageBoxVisible(int pageNumber) const 160 return DumpRenderTreeSupportGtk::isPageBoxVisible(mainFrame, pageNumber); 163 JSRetainPtr<JSStringRef> LayoutTestController::pageSizeAndMarginsInPixels(int pageNumber, int width, int height, int marginTop, int marginRight, int marginBottom, int marginLeft) const 165 JSRetainPtr<JSStringRef> propertyValue(Adopt, JSStringCreateWithUTF8CString(DumpRenderTreeSupportGtk::pageSizeAndMarginsInPixels(mainFrame, pageNumber, width, height, marginTop, marginRight, marginBottom, marginLeft).data())); [all...] |
/external/webkit/Tools/DumpRenderTree/ |
LayoutTestController.cpp | [all...] |
LayoutTestController.h | 76 JSRetainPtr<JSStringRef> pageProperty(const char* propertyName, int pageNumber) const; 77 JSRetainPtr<JSStringRef> pageSizeAndMarginsInPixels(int pageNumber, int width, int height, int marginTop, int marginRight, int marginBottom, int marginLeft) const; 78 bool isPageBoxVisible(int pageNumber) const;
|
/external/webkit/Tools/DumpRenderTree/wx/ |
LayoutTestControllerWx.cpp | 552 JSRetainPtr<JSStringRef> LayoutTestController::pageProperty(const char* propertyName, int pageNumber) const 558 bool LayoutTestController::isPageBoxVisible(int pageNumber) const 564 JSRetainPtr<JSStringRef> LayoutTestController::pageSizeAndMarginsInPixels(int pageNumber, int width, int height, int marginTop, int marginRight, int marginBottom, int marginLeft) const
|
/external/webkit/Tools/DumpRenderTree/mac/ |
LayoutTestControllerMac.mm | 294 JSRetainPtr<JSStringRef> LayoutTestController::pageProperty(const char* propertyName, int pageNumber) const 296 JSRetainPtr<JSStringRef> propertyValue(Adopt, JSStringCreateWithCFString((CFStringRef)[mainFrame pageProperty:propertyName:pageNumber])); 300 bool LayoutTestController::isPageBoxVisible(int pageNumber) const 302 return [mainFrame isPageBoxVisible:pageNumber]; 305 JSRetainPtr<JSStringRef> LayoutTestController::pageSizeAndMarginsInPixels(int pageNumber, int width, int height, int marginTop, int marginRight, int marginBottom, int marginLeft) const 307 JSRetainPtr<JSStringRef> propertyValue(Adopt, JSStringCreateWithCFString((CFStringRef)[mainFrame pageSizeAndMarginsInPixels:pageNumber:width:height:marginTop:marginRight:marginBottom:marginLeft])); [all...] |
/external/webkit/Source/WebKit/qt/WebCoreSupport/ |
DumpRenderTreeSupportQt.h | 187 static QString pageProperty(QWebFrame* frame, const QString& propertyName, int pageNumber);
|
/external/webkit/Source/WebKit/gtk/webkit/ |
webkitwebframe.cpp | 769 static void draw_page_callback(GtkPrintOperation*, GtkPrintContext* gtkPrintContext, gint pageNumber, PrintContext* corePrintContext) 771 if (pageNumber >= static_cast<gint>(corePrintContext->pageCount())) 779 corePrintContext->spoolPage(graphicsContext, pageNumber, pageWidth); [all...] |