Home
last modified time | relevance | path

Searched refs:newSelection (Results 1 – 12 of 12) sorted by relevance

/external/webkit/Source/WebCore/page/
DEventHandler.cpp269 …tic void setSelectionIfNeeded(SelectionController* selection, const VisibleSelection& newSelection) in setSelectionIfNeeded() argument
272 if (selection->selection() != newSelection && selection->shouldChangeSelection(newSelection)) in setSelectionIfNeeded()
273 selection->setSelection(newSelection); in setSelectionIfNeeded()
276 …ctionIfNeeded(SelectionController* selection, const VisibleSelection& newSelection, TextGranularit… in setNonDirectionalSelectionIfNeeded() argument
279 if (selection->selection() != newSelection && selection->shouldChangeSelection(newSelection)) in setNonDirectionalSelectionIfNeeded()
280 selection->setSelection(newSelection, granularity, MakeNonDirectionalSelection); in setNonDirectionalSelectionIfNeeded()
286 VisibleSelection newSelection; in selectClosestWordFromMouseEvent() local
292 newSelection = VisibleSelection(pos); in selectClosestWordFromMouseEvent()
293 newSelection.expandUsingGranularity(WordGranularity); in selectClosestWordFromMouseEvent()
296 if (newSelection.isRange()) { in selectClosestWordFromMouseEvent()
[all …]
DFocusController.cpp300 VisibleSelection newSelection(position, position, DOWNSTREAM); in advanceFocusInDocumentOrder() local
301 if (frame->selection()->shouldChangeSelection(newSelection)) in advanceFocusInDocumentOrder()
302 frame->selection()->setSelection(newSelection); in advanceFocusInDocumentOrder()
/external/webkit/Source/WebCore/page/chromium/
DEventHandlerChromium.cpp65 VisibleSelection newSelection(visiblePos); in passMousePressEventToSubframe() local
66 if (m_frame->selection()->shouldChangeSelection(newSelection)) in passMousePressEventToSubframe()
67 m_frame->selection()->setSelection(newSelection); in passMousePressEventToSubframe()
/external/webkit/Source/WebCore/editing/
DSelectionController.cpp318 VisibleSelection newSelection; in textWillBeReplaced() local
320 newSelection.setWithoutValidation(base, extent); in textWillBeReplaced()
322 if (newSelection.isBaseFirst()) in textWillBeReplaced()
323 newSelection.setWithoutValidation(start, end); in textWillBeReplaced()
325 newSelection.setWithoutValidation(end, start); in textWillBeReplaced()
328 setSelection(newSelection, 0); in textWillBeReplaced()
1395 VisibleSelection newSelection(beforeOwnerElement, afterOwnerElement); in selectFrameElementInParentIfFullySelected() local
1396 if (parent->selection()->shouldChangeSelection(newSelection)) { in selectFrameElementInParentIfFullySelected()
1398 parent->selection()->setSelection(newSelection); in selectFrameElementInParentIfFullySelected()
1421 VisibleSelection newSelection(VisibleSelection::selectionFromContentsOfNode(root)); in selectAll() local
[all …]
DEditor.cpp993 VisibleSelection newSelection(cmd->endingSelection()); in appliedEditing() local
998 changeSelectionAfterCommand(newSelection, false, false); in appliedEditing()
1013 respondToChangedContents(newSelection); in appliedEditing()
1022 VisibleSelection newSelection(cmd->startingSelection()); in unappliedEditing() local
1023 changeSelectionAfterCommand(newSelection, true, true); in unappliedEditing()
1028 respondToChangedContents(newSelection); in unappliedEditing()
1037 VisibleSelection newSelection(cmd->endingSelection()); in reappliedEditing() local
1038 changeSelectionAfterCommand(newSelection, true, true); in reappliedEditing()
1043 respondToChangedContents(newSelection); in reappliedEditing()
2025 VisibleSelection newSelection(misspellingRange.get(), DOWNSTREAM); in markMisspellingsAfterTypingToWord()
[all …]
Dhtmlediting.cpp1017 VisibleSelection newSelection(original); in selectionForParagraphIteration() local
1018 VisiblePosition startOfSelection(newSelection.visibleStart()); in selectionForParagraphIteration()
1019 VisiblePosition endOfSelection(newSelection.visibleEnd()); in selectionForParagraphIteration()
1027newSelection = VisibleSelection(startOfSelection, endOfSelection.previous(CannotCrossEditingBounda… in selectionForParagraphIteration()
1035newSelection = VisibleSelection(startOfSelection.next(CannotCrossEditingBoundary), endOfSelection); in selectionForParagraphIteration()
1037 return newSelection; in selectionForParagraphIteration()
DEditor.h359 …lection(const VisibleSelection& oldSelection, const VisibleSelection& newSelection, EAffinity, boo…
427 …void changeSelectionAfterCommand(const VisibleSelection& newSelection, bool closeTyping, bool clea…
/external/webkit/Source/WebKit/chromium/src/
DWebFrameImpl.cpp1503 VisibleSelection newSelection(frame()->selection()->selection()); in find() local
1511 if (newSelection.isNone() || (newSelection.start() == newSelection.end())) in find()
1514 m_activeMatch = newSelection.toNormalizedRange(); in find()
/external/webkit/Source/WebCore/rendering/
DRenderTextControl.cpp263 VisibleSelection newSelection = VisibleSelection(startPosition, endPosition); in setSelectionRange() local
266 frame->selection()->setSelection(newSelection); in setSelectionRange()
/external/webkit/Source/WebCore/dom/
DElement.cpp1611 … VisibleSelection newSelection = VisibleSelection(firstPositionInOrBeforeNode(this), DOWNSTREAM); in updateFocusAppearance() local
1613 if (frame->selection()->shouldChangeSelection(newSelection)) { in updateFocusAppearance()
1614 frame->selection()->setSelection(newSelection); in updateFocusAppearance()
/external/webkit/Source/WebKit/qt/tests/qwebpage/
Dtst_qwebpage.cpp1667 QInputMethodEvent::Attribute newSelection(QInputMethodEvent::Selection, 0, 0, QVariant()); in inputMethods() local
1668 attributes.append(newSelection); in inputMethods()
1822 QInputMethodEvent::Attribute newSelection(QInputMethodEvent::Selection, 0, 0, QVariant()); in inputMethods() local
1823 attributes.append(newSelection); in inputMethods()
/external/webkit/Source/WebCore/accessibility/
DAccessibilityRenderObject.cpp2571 VisibleSelection newSelection = VisibleSelection(range.start, range.end); in setSelectedVisiblePositionRange() local
2572 m_renderer->frame()->selection()->setSelection(newSelection); in setSelectedVisiblePositionRange()