Searched refs:newFocusedFrame (Results 1 – 1 of 1) sorted by relevance
584 static void clearSelectionIfNeeded(Frame* oldFocusedFrame, Frame* newFocusedFrame, Node* newFocused… in clearSelectionIfNeeded() argument586 if (!oldFocusedFrame || !newFocusedFrame) in clearSelectionIfNeeded()589 if (oldFocusedFrame->document() != newFocusedFrame->document()) in clearSelectionIfNeeded()604 if (Node* mousePressNode = newFocusedFrame->eventHandler().mousePressNode()) { in clearSelectionIfNeeded()621 bool FocusController::setFocusedElement(Element* element, PassRefPtr<Frame> newFocusedFrame, FocusD… in setFocusedElement() argument639 else if (newFocusedFrame) in setFocusedElement()640 newDocument = newFocusedFrame->document(); in setFocusedElement()645 clearSelectionIfNeeded(oldFocusedFrame.get(), newFocusedFrame.get(), element); in setFocusedElement()650 if (newFocusedFrame && !newFocusedFrame->page()) { in setFocusedElement()654 setFocusedFrame(newFocusedFrame); in setFocusedElement()