Home
last modified time | relevance | path

Searched refs:urlStringSize (Results 1 – 2 of 2) sorted by relevance

/external/webkit/WebKit/win/WebCoreSupport/
DWebDragClient.cpp257 IntSize urlStringSize; in createDragImageForLink() local
262 urlStringSize.setWidth(urlFont->width(urlRun)); in createDragImageForLink()
263 urlStringSize.setHeight(urlFont->ascent() + urlFont->descent()); in createDragImageForLink()
264 imageSize.setHeight(imageSize.height() + urlStringSize.height()); in createDragImageForLink()
265 if (urlStringSize.width() > MAX_DRAG_LABEL_STRING_WIDTH) { in createDragImageForLink()
269 … imageSize.setWidth(std::max(labelSize.width(), urlStringSize.width()) + DRAG_LABEL_BORDER_X * 2); in createDragImageForLink()
/external/webkit/WebKit/mac/WebView/
DWebHTMLView.mm1667 NSSize imageSize, urlStringSize;
1671 urlStringSize.width = [urlString _web_widthWithFont: urlFont];
1672 urlStringSize.height = [urlFont ascender] - [urlFont descender];
1673 imageSize.height += urlStringSize.height;
1674 if (urlStringSize.width > MAX_DRAG_LABEL_WIDTH) {
1678 …imageSize.width = max(labelSize.width + DRAG_LABEL_BORDER_X * 2, urlStringSize.width + DRAG_LABEL_…