Home | History | Annotate | Download | only in editing

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);
1391 VisibleSelection newSelection(beforeOwnerElement, afterOwnerElement);
1392 if (parent->selection()->shouldChangeSelection(newSelection)) {
1394 parent->selection()->setSelection(newSelection);
1417 VisibleSelection newSelection(VisibleSelection::selectionFromContentsOfNode(root));
1418 if (shouldChangeSelection(newSelection))
1419 setSelection(newSelection);
1858 bool SelectionController::shouldChangeSelection(const VisibleSelection& newSelection) const
1860 return m_frame->editor()->shouldChangeSelection(selection(), newSelection, newSelection.affinity(), false);