result = HandleClick(newContent, startPos, contentOffsetEnd , PR_TRUE, PR_FALSE,beginOfContent);
result = HandleClick(newContent, startPos, contentOffsetEnd , PR_TRUE, PR_FALSE,beginOfContent, PR_FALSE);
nsRangeList::HandleDrag(nsIPresContext *aPresContext, nsIFrame *aFrame, nsPoint& aPoint){  if (!aPresContext || !aFrame)    return NS_ERROR_NULL_POINTER;  nsresult result;  nsIFrame *newFrame = 0;  nsPoint   newPoint;  result = ConstrainFrameAndPointToAnchorSubtree(aPresContext, aFrame, aPoint, &newFrame, newPoint);  if (NS_FAILED(result))    return result;  if (!newFrame)    return NS_ERROR_FAILURE;  nsCOMPtr<nsIPresShell> presShell;  result = aPresContext->GetShell(getter_AddRefs(presShell));  if (NS_FAILED(result))    return result;  PRInt32 startPos = 0;  PRInt32 contentOffsetEnd = 0;  PRBool  beginOfContent;  nsCOMPtr<nsIContent> newContent;  result = newFrame->GetContentAndOffsetsFromPoint(aPresContext, newPoint,                                                   getter_AddRefs(newContent),                                                    startPos, contentOffsetEnd,beginOfContent);  if (NS_SUCCEEDED(result))    result = HandleClick(newContent, startPos, contentOffsetEnd , PR_TRUE, PR_FALSE,beginOfContent);  return result;}