/external/chromium_org/third_party/WebKit/Source/core/editing/ |
D | SpellChecker.h | 62 …void markMisspellingsAfterTypingToWord(const VisiblePosition &wordStart, const VisibleSelection& s… 63 void markMisspellings(const VisibleSelection&, RefPtr<Range>& firstMisspellingRange); 64 void markBadGrammar(const VisibleSelection&); 65 …d markMisspellingsAndBadGrammar(const VisibleSelection& spellingSelection, bool markGrammar, const… 71 void clearMisspellingsAndBadGrammar(const VisibleSelection&); 72 void markMisspellingsAndBadGrammar(const VisibleSelection&); 73 …void respondToChangedSelection(const VisibleSelection& oldSelection, FrameSelection::SetSelectionO… 75 …pellCheckOldSelection(const VisibleSelection& oldSelection, const VisibleSelection& newAdjacentWor… 93 …void markMisspellingsOrBadGrammar(const VisibleSelection&, bool checkSpelling, RefPtr<Range>& firs…
|
D | VisibleSelection.cpp | 49 VisibleSelection::VisibleSelection() in VisibleSelection() function in WebCore::VisibleSelection 57 VisibleSelection::VisibleSelection(const Position& pos, EAffinity affinity, bool isDirectional) in VisibleSelection() function in WebCore::VisibleSelection 66 VisibleSelection::VisibleSelection(const Position& base, const Position& extent, EAffinity affinity… in VisibleSelection() function in WebCore::VisibleSelection 75 VisibleSelection::VisibleSelection(const VisiblePosition& pos, bool isDirectional) in VisibleSelection() function in WebCore::VisibleSelection 84 VisibleSelection::VisibleSelection(const VisiblePosition& base, const VisiblePosition& extent, bool… in VisibleSelection() function in WebCore::VisibleSelection 93 VisibleSelection::VisibleSelection(const Range* range, EAffinity affinity, bool isDirectional) in VisibleSelection() function in WebCore::VisibleSelection 102 VisibleSelection VisibleSelection::selectionFromContentsOfNode(Node* node) in selectionFromContentsOfNode() 105 return VisibleSelection(firstPositionInNode(node), lastPositionInNode(node), DOWNSTREAM); in selectionFromContentsOfNode() 108 void VisibleSelection::setBase(const Position& position) in setBase() 114 void VisibleSelection::setBase(const VisiblePosition& visiblePosition) in setBase() [all …]
|
D | VisibleSelection.h | 41 class VisibleSelection { 43 VisibleSelection(); 45 VisibleSelection(const Position&, EAffinity, bool isDirectional = false); 46 …VisibleSelection(const Position&, const Position&, EAffinity = SEL_DEFAULT_AFFINITY, bool isDirect… 48 VisibleSelection(const Range*, EAffinity = SEL_DEFAULT_AFFINITY, bool isDirectional = false); 50 VisibleSelection(const VisiblePosition&, bool isDirectional = false); 51 VisibleSelection(const VisiblePosition&, const VisiblePosition&, bool isDirectional = false); 53 static VisibleSelection selectionFromContentsOfNode(Node*); 147 inline bool operator==(const VisibleSelection& a, const VisibleSelection& b) 153 inline bool operator!=(const VisibleSelection& a, const VisibleSelection& b) [all …]
|
D | EditCommand.h | 50 const VisibleSelection& startingSelection() const { return m_startingSelection; } in startingSelection() 51 const VisibleSelection& endingSelection() const { return m_endingSelection; } in endingSelection() 62 EditCommand(Document*, const VisibleSelection&, const VisibleSelection&); 66 void setStartingSelection(const VisibleSelection&); 67 void setEndingSelection(const VisibleSelection&); 71 VisibleSelection m_startingSelection; 72 VisibleSelection m_endingSelection;
|
D | CompositeEditCommand.h | 43 …sRefPtr<EditCommandComposition> create(Document*, const VisibleSelection&, const VisibleSelection&… 52 const VisibleSelection& startingSelection() const { return m_startingSelection; } in startingSelection() 53 const VisibleSelection& endingSelection() const { return m_endingSelection; } in endingSelection() 54 void setStartingSelection(const VisibleSelection&); 55 void setEndingSelection(const VisibleSelection&); 60 …EditCommandComposition(Document*, const VisibleSelection& startingSelection, const VisibleSelectio… 63 VisibleSelection m_startingSelection; 64 VisibleSelection m_endingSelection; 95 void applyCommandToComposite(PassRefPtr<CompositeEditCommand>, const VisibleSelection&); 101 …void deleteSelection(const VisibleSelection&, bool smartDelete = false, bool mergeBlocksAfterDelet…
|
D | SpellChecker.cpp | 55 bool isSelectionInTextField(const VisibleSelection& selection) in isSelectionInTextField() 136 VisibleSelection selection = VisibleSelection::selectionFromContentsOfNode(element); in didBeginEditing() 157 VisibleSelection selection(m_frame.selection().selection()); in advanceToNextMisspelling() 290 … m_frame.selection().setSelection(VisibleSelection(badGrammarRange.get(), SEL_DEFAULT_AFFINITY)); in advanceToNextMisspelling() 299 m_frame.selection().setSelection(VisibleSelection(misspellingRange.get(), DOWNSTREAM)); in advanceToNextMisspelling() 312 VisibleSelection selection = m_frame.selection().selection(); in misspelledWordAtCaretOrRange() 316 VisibleSelection wordSelection(selection.base()); in misspelledWordAtCaretOrRange() 348 void SpellChecker::clearMisspellingsAndBadGrammar(const VisibleSelection &movingSelection) in clearMisspellingsAndBadGrammar() 355 void SpellChecker::markMisspellingsAndBadGrammar(const VisibleSelection &movingSelection) in markMisspellingsAndBadGrammar() 360 …sspellingsAfterTypingToWord(const VisiblePosition &wordStart, const VisibleSelection& selectionAft… in markMisspellingsAfterTypingToWord() [all …]
|
D | TextInsertionBaseCommand.h | 35 class VisibleSelection; variable 43 … PassRefPtr<TextInsertionBaseCommand>, const VisibleSelection& selectionForInsertion, const Visibl… 46 String dispatchBeforeTextInsertedEvent(const String& text, const VisibleSelection& selectionForInse… 47 bool canAppendNewLineFeedToSelection(const VisibleSelection&);
|
D | Editor.h | 107 void respondToChangedContents(const VisibleSelection& endingSelection); 194 VisibleSelection selectionForCommand(Event*); 207 Node* findEventTargetFrom(const VisibleSelection&) const; 215 const VisibleSelection& mark() const; // Mark, to be used as emacs uses it. 216 void setMark(const VisibleSelection&); 222 …void respondToChangedSelection(const VisibleSelection& oldSelection, FrameSelection::SetSelectionO… 253 VisibleSelection m_mark; 275 …void changeSelectionAfterCommand(const VisibleSelection& newSelection, FrameSelection::SetSelectio… 276 …void notifyComponentsOnChangedSelection(const VisibleSelection& oldSelection, FrameSelection::SetS… 292 inline const VisibleSelection& Editor::mark() const in mark() [all …]
|
D | TextInsertionBaseCommand.cpp | 43 …Ptr<TextInsertionBaseCommand> command, const VisibleSelection& selectionForInsertion, const Visibl… in applyTextInsertionCommand() 57 String dispatchBeforeTextInsertedEvent(const String& text, const VisibleSelection& selectionForInse… in dispatchBeforeTextInsertedEvent() 74 bool canAppendNewLineFeedToSelection(const VisibleSelection& selection) in canAppendNewLineFeedToSelection()
|
D | SetSelectionCommand.h | 36 …static PassRefPtr<SetSelectionCommand> create(const VisibleSelection& selection, FrameSelection::S… in create() 42 SetSelectionCommand(const VisibleSelection&, FrameSelection::SetSelectionOptions); 48 VisibleSelection m_selectionToSet;
|
D | EditCommand.cpp | 47 …Command::EditCommand(Document* document, const VisibleSelection& startingSelection, const VisibleS… in EditCommand() 73 void EditCommand::setStartingSelection(const VisibleSelection& s) in setStartingSelection() 86 void EditCommand::setEndingSelection(const VisibleSelection &s) in setEndingSelection()
|
D | InsertLineBreakCommand.cpp | 93 VisibleSelection selection = endingSelection(); in doApply() 126 setEndingSelection(VisibleSelection(endingPosition, endingSelection().isDirectional())); in doApply() 134 …setEndingSelection(VisibleSelection(positionInParentAfterNode(nodeToInsert.get()), DOWNSTREAM, end… in doApply() 139 …setEndingSelection(VisibleSelection(positionInParentAfterNode(nodeToInsert.get()), DOWNSTREAM, end… in doApply() 164 …setEndingSelection(VisibleSelection(endingPosition, DOWNSTREAM, endingSelection().isDirectional())… in doApply()
|
D | DeleteSelectionCommand.h | 41 …static PassRefPtr<DeleteSelectionCommand> create(const VisibleSelection& selection, bool smartDele… 48 …DeleteSelectionCommand(const VisibleSelection&, bool smartDelete, bool mergeBlocksAfterDelete, boo… 84 VisibleSelection m_selectionToDelete;
|
D | FrameSelection.cpp | 124 …setSelection(VisibleSelection(pos.deepEquivalent(), pos.deepEquivalent(), pos.affinity(), m_select… in moveTo() 131 …setSelection(VisibleSelection(base.deepEquivalent(), extent.deepEquivalent(), base.affinity(), sel… in moveTo() 137 setSelection(VisibleSelection(pos, affinity, m_selection.isDirectional()), options); in moveTo() 143 …VisibleSelection selection = r ? VisibleSelection(r->startPosition(), r->endPosition(), affinity) … in moveTo() 151 setSelection(VisibleSelection(base, extent, affinity, selectionHasDirection), options); in moveTo() 191 void FrameSelection::setNonDirectionalSelectionIfNeeded(const VisibleSelection& passedNewSelection,… in setNonDirectionalSelectionIfNeeded() 194 VisibleSelection newSelection = passedNewSelection; in setNonDirectionalSelectionIfNeeded() 221 void FrameSelection::setSelection(const VisibleSelection& newSelection, SetSelectionOptions options… in setSelection() 227 VisibleSelection s = newSelection; in setSelection() 267 VisibleSelection oldSelection = m_selection; in setSelection() [all …]
|
D | TypingCommand.cpp | 148 VisibleSelection currentSelection = frame->selection().selection(); in updateSelectionIfDifferentFromCurrentSelection() 168 void TypingCommand::insertText(Document& document, const String& text, const VisibleSelection& sele… in insertText() 173 VisibleSelection currentSelection = frame->selection().selection(); in insertText() 394 …setEndingSelection(VisibleSelection(firstPositionInNode(root), DOWNSTREAM, endingSelection().isDir… in makeEditableRootEmpty() 407 VisibleSelection selectionToDelete; in deleteKeyPressed() 408 VisibleSelection selectionAfterUndo; in deleteKeyPressed() 457 …setEndingSelection(VisibleSelection(positionBeforeNode(table), endingSelection().start(), DOWNSTRE… in deleteKeyPressed() 511 VisibleSelection selectionToDelete; in forwardDeleteKeyPressed() 512 VisibleSelection selectionAfterUndo; in forwardDeleteKeyPressed() 540 …setEndingSelection(VisibleSelection(endingSelection().end(), positionAfterNode(downstreamEnd.conta… in forwardDeleteKeyPressed()
|
D | BreakBlockquoteCommand.cpp | 82 …setEndingSelection(VisibleSelection(positionBeforeNode(breakNode.get()), DOWNSTREAM, endingSelecti… in doApply() 92 …setEndingSelection(VisibleSelection(positionBeforeNode(breakNode.get()), DOWNSTREAM, endingSelecti… in doApply() 126 …setEndingSelection(VisibleSelection(VisiblePosition(firstPositionInOrBeforeNode(startNode)), endin… in doApply() 185 …setEndingSelection(VisibleSelection(positionBeforeNode(breakNode.get()), DOWNSTREAM, endingSelecti… in doApply()
|
D | FrameSelection.h | 96 const VisibleSelection& selection() const { return m_selection; } in selection() 97 …void setSelection(const VisibleSelection&, SetSelectionOptions = CloseTyping | ClearTypingStyle, C… 98 …void setSelection(const VisibleSelection& selection, TextGranularity granularity) { setSelection(s… in setSelection() 185 …void setNonDirectionalSelectionIfNeeded(const VisibleSelection&, TextGranularity, EndPointsAdjustm… 251 VisibleSelection m_selection;
|
D | Editor.cpp | 111 VisibleSelection Editor::selectionForCommand(Event* event) in selectionForCommand() 113 VisibleSelection selection = m_frame.selection().selection(); in selectionForCommand() 122 return VisibleSelection(range.get(), DOWNSTREAM, selection.isDirectional()); in selectionForCommand() 528 void Editor::notifyComponentsOnChangedSelection(const VisibleSelection& oldSelection, FrameSelectio… in notifyComponentsOnChangedSelection() 534 void Editor::respondToChangedContents(const VisibleSelection& endingSelection) in respondToChangedContents() 664 Node* Editor::findEventTargetFrom(const VisibleSelection& selection) const in findEventTargetFrom() 771 VisibleSelection newSelection(cmd->endingSelection()); in appliedEditing() 800 VisibleSelection newSelection(cmd->startingSelection()); in unappliedEditing() 816 VisibleSelection newSelection(cmd->endingSelection()); in reappliedEditing() 864 VisibleSelection selection = selectionForCommand(triggeringEvent); in insertTextWithoutSendingTextEvent() [all …]
|
D | htmlediting.h | 45 class VisibleSelection; variable 234 VisibleSelection selectionForParagraphIteration(const VisibleSelection&); 236 Position adjustedSelectionStartForStyleComputation(const VisibleSelection&);
|
D | EditingStyle.h | 60 class VisibleSelection; variable 117 TriState triStateOfStyle(const VisibleSelection&) const; 147 …static PassRefPtr<EditingStyle> styleAtSelectionStart(const VisibleSelection&, bool shouldUseBackg… 148 …static WritingDirection textDirectionForSelection(const VisibleSelection&, EditingStyle* typingSty…
|
D | InsertTextCommand.cpp | 81 VisibleSelection forcedEndingSelection; in setEndingSelectionWithoutValidation() 104 …setEndingSelection(VisibleSelection(endingSelection().visibleEnd(), endingSelection().isDirectiona… in performTrivialReplace() 125 …setEndingSelection(VisibleSelection(endingSelection().visibleEnd(), endingSelection().isDirectiona… in performOverwrite() 231 …setEndingSelection(VisibleSelection(endingSelection().end(), endingSelection().affinity(), endingS… in doApply()
|
D | CompositeEditCommand.cpp | 95 …const VisibleSelection& startingSelection, const VisibleSelection& endingSelection, EditAction edi… in create() 100 …itCommandComposition(Document* document, const VisibleSelection& startingSelection, const VisibleS… in EditCommandComposition() 161 void EditCommandComposition::setStartingSelection(const VisibleSelection& selection) in setStartingSelection() 167 void EditCommandComposition::setEndingSelection(const VisibleSelection& selection) in setEndingSelection() 278 …pplyCommandToComposite(PassRefPtr<CompositeEditCommand> command, const VisibleSelection& selection) in applyCommandToComposite() 592 void CompositeEditCommand::deleteSelection(const VisibleSelection &selection, bool smartDelete, boo… in deleteSelection() 734 VisibleSelection selection = endingSelection(); in rebalanceWhitespace() 994 setEndingSelection(VisibleSelection::selectionFromContentsOfNode(anchorNode)); in pushAnchorElementDown() 1139 setEndingSelection(VisibleSelection(start, end, DOWNSTREAM)); in moveParagraphWithClones() 1237 setEndingSelection(VisibleSelection(start, end, DOWNSTREAM)); in moveParagraphs() [all …]
|
D | ApplyBlockElementCommand.cpp | 77 …setEndingSelection(VisibleSelection(visibleStart, visibleEnd.previous(CannotCrossEditingBoundary),… in doApply() 79 VisibleSelection selection = selectionForParagraphIteration(endingSelection()); in doApply() 100 setEndingSelection(VisibleSelection(start, end, endingSelection().isDirectional())); in doApply() 114 …setEndingSelection(VisibleSelection(positionBeforeNode(placeholder.get()), DOWNSTREAM, endingSelec… in formatSelection()
|
/external/chromium_org/third_party/WebKit/Source/core/page/ |
D | DOMSelection.cpp | 73 const VisibleSelection& DOMSelection::visibleSelection() const in visibleSelection() 79 static Position anchorPosition(const VisibleSelection& selection) in anchorPosition() 85 static Position focusPosition(const VisibleSelection& selection) in focusPosition() 91 static Position basePosition(const VisibleSelection& selection) in basePosition() 96 static Position extentPosition(const VisibleSelection& selection) in extentPosition() 218 const VisibleSelection& selection = m_frame->selection().selection(); in collapseToEnd() 233 const VisibleSelection& selection = m_frame->selection().selection(); in collapseToStart() 387 const VisibleSelection& selection = m_frame->selection().selection(); in getRangeAt() 408 selection.setSelection(VisibleSelection(r)); in addRange() 418 … selection.setSelection(VisibleSelection(r->startPosition(), range->endPosition(), DOWNSTREAM)); in addRange() [all …]
|
D | DOMSelection.h | 48 class VisibleSelection; variable 101 const VisibleSelection& visibleSelection() const;
|