Searched refs:urlFont (Results 1 – 2 of 2) sorted by relevance
/external/webkit/WebKit/win/WebCoreSupport/ |
D | WebDragClient.cpp | 222 const Font* urlFont; in createDragImageForLink() local 228 urlFont = &alternateRenderingModeURLFont; in createDragImageForLink() 233 urlFont = &normalRenderingModeURLFont; in createDragImageForLink() 262 urlStringSize.setWidth(urlFont->width(urlRun)); in createDragImageForLink() 263 urlStringSize.setHeight(urlFont->ascent() + urlFont->descent()); in createDragImageForLink() 305 …cator::rightTruncate(urlString, imageSize.width() - (DRAG_LABEL_BORDER_X * 2.0f), *urlFont, false); in createDragImageForLink() 306 …xtPos(DRAG_LABEL_BORDER_X, imageSize.height() - (DRAG_LABEL_BORDER_Y_OFFSET + urlFont->descent())); in createDragImageForLink() 307 WebCoreDrawDoubledTextAtPoint(context, urlString, textPos, *urlFont, topColor, bottomColor); in createDragImageForLink()
|
/external/webkit/WebKit/mac/WebView/ |
D | WebHTMLView.mm | 1658 NSFont *urlFont = [NSFont systemFontOfSize: DRAG_LINK_URL_FONT_SIZE]; 1671 urlStringSize.width = [urlString _web_widthWithFont: urlFont]; 1672 urlStringSize.height = [urlFont ascender] - [urlFont descender]; 1702 …TruncateString: urlString toWidth:imageSize.width - (DRAG_LABEL_BORDER_X * 2.0f) withFont:urlFont]; 1704 …web_drawDoubledAtPoint:NSMakePoint(DRAG_LABEL_BORDER_X, DRAG_LABEL_BORDER_Y - [urlFont descender]) 1705 withTopColor:topColor bottomColor:bottomColor font:urlFont];
|