Home
last modified time | relevance | path

Searched refs:endCaretRect (Results 1 – 3 of 3) sorted by relevance

/external/webkit/WebCore/page/
DFrame.cpp338 IntRect endCaretRect = endRenderer->localCaretRect(endInlineBox, endCaretOffset); in firstRectForRange() local
339 if (endCaretRect != IntRect()) in firstRectForRange()
340endCaretRect = endRenderer->localToAbsoluteQuad(FloatRect(endCaretRect)).enclosingBoundingBox(); in firstRectForRange()
342 if (startCaretRect.y() == endCaretRect.y()) { in firstRectForRange()
344 return IntRect(min(startCaretRect.x(), endCaretRect.x()), in firstRectForRange()
346 abs(endCaretRect.x() - startCaretRect.x()), in firstRectForRange()
347 max(startCaretRect.height(), endCaretRect.height())); in firstRectForRange()
/external/webkit/WebKit/gtk/webkit/
Dwebkitwebview.cpp306 IntRect endCaretRect = renderer->localCaretRect(endInlineBox, endCaretOffset); in webkit_web_view_popup_menu_handler() local
307 if (endCaretRect != IntRect()) in webkit_web_view_popup_menu_handler()
308endCaretRect = renderer->localToAbsoluteQuad(FloatRect(endCaretRect)).enclosingBoundingBox(); in webkit_web_view_popup_menu_handler()
311 if (startCaretRect.y() == endCaretRect.y()) in webkit_web_view_popup_menu_handler()
312 firstRect = IntRect(MIN(startCaretRect.x(), endCaretRect.x()), in webkit_web_view_popup_menu_handler()
314 abs(endCaretRect.x() - startCaretRect.x()), in webkit_web_view_popup_menu_handler()
315 MAX(startCaretRect.height(), endCaretRect.height())); in webkit_web_view_popup_menu_handler()
/external/webkit/WebKit/win/
DWebView.cpp1150 IntRect endCaretRect = renderer->localCaretRect(endInlineBox, endCaretOffset); in handleContextMenuEvent() local
1151 if (endCaretRect != IntRect()) in handleContextMenuEvent()
1152endCaretRect = renderer->localToAbsoluteQuad(FloatRect(endCaretRect)).enclosingBoundingBox(); in handleContextMenuEvent()
1155 if (startCaretRect.y() == endCaretRect.y()) in handleContextMenuEvent()
1156 …aretRect.x(), endCaretRect.x()), startCaretRect.y(), abs(endCaretRect.x() - startCaretRect.x()), m… in handleContextMenuEvent()