/external/webkit/Source/WebCore/page/ |
D | EventHandler.cpp | 269 …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 …]
|
D | FocusController.cpp | 300 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/ |
D | EventHandlerChromium.cpp | 65 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/ |
D | SelectionController.cpp | 318 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 …]
|
D | Editor.cpp | 993 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 …]
|
D | htmlediting.cpp | 1017 VisibleSelection newSelection(original); in selectionForParagraphIteration() local 1018 VisiblePosition startOfSelection(newSelection.visibleStart()); in selectionForParagraphIteration() 1019 VisiblePosition endOfSelection(newSelection.visibleEnd()); in selectionForParagraphIteration() 1027 …newSelection = VisibleSelection(startOfSelection, endOfSelection.previous(CannotCrossEditingBounda… in selectionForParagraphIteration() 1035 …newSelection = VisibleSelection(startOfSelection.next(CannotCrossEditingBoundary), endOfSelection); in selectionForParagraphIteration() 1037 return newSelection; in selectionForParagraphIteration()
|
D | Editor.h | 359 …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/ |
D | WebFrameImpl.cpp | 1503 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/ |
D | RenderTextControl.cpp | 263 VisibleSelection newSelection = VisibleSelection(startPosition, endPosition); in setSelectionRange() local 266 frame->selection()->setSelection(newSelection); in setSelectionRange()
|
/external/webkit/Source/WebCore/dom/ |
D | Element.cpp | 1611 … 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/ |
D | tst_qwebpage.cpp | 1667 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/ |
D | AccessibilityRenderObject.cpp | 2571 VisibleSelection newSelection = VisibleSelection(range.start, range.end); in setSelectedVisiblePositionRange() local 2572 m_renderer->frame()->selection()->setSelection(newSelection); in setSelectedVisiblePositionRange()
|