Lines Matching defs:newSelection
318 VisibleSelection newSelection;
320 newSelection.setWithoutValidation(base, extent);
322 if (newSelection.isBaseFirst())
323 newSelection.setWithoutValidation(start, end);
325 newSelection.setWithoutValidation(end, start);
328 setSelection(newSelection, 0);
1395 VisibleSelection newSelection(beforeOwnerElement, afterOwnerElement);
1396 if (parent->selection()->shouldChangeSelection(newSelection)) {
1398 parent->selection()->setSelection(newSelection);
1421 VisibleSelection newSelection(VisibleSelection::selectionFromContentsOfNode(root));
1422 if (shouldChangeSelection(newSelection))
1423 setSelection(newSelection);
1858 bool SelectionController::shouldChangeSelection(const VisibleSelection& newSelection) const
1860 return m_frame->editor()->shouldChangeSelection(selection(), newSelection, newSelection.affinity(), false);