Searched refs:endCaretRect (Results 1 – 3 of 3) sorted by relevance
/external/webkit/WebCore/page/ |
D | Frame.cpp | 338 IntRect endCaretRect = endRenderer->localCaretRect(endInlineBox, endCaretOffset); in firstRectForRange() local 339 if (endCaretRect != IntRect()) in firstRectForRange() 340 … endCaretRect = 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/ |
D | webkitwebview.cpp | 306 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() 308 … endCaretRect = 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/ |
D | WebView.cpp | 1150 IntRect endCaretRect = renderer->localCaretRect(endInlineBox, endCaretOffset); in handleContextMenuEvent() local 1151 if (endCaretRect != IntRect()) in handleContextMenuEvent() 1152 … endCaretRect = 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()
|