HomeSort by relevance Sort by last modified time
    Searched refs:VisibleSelection (Results 1 - 25 of 73) sorted by null

1 2 3

  /external/webkit/Source/WebCore/editing/
SetSelectionCommand.h 36 static PassRefPtr<SetSelectionCommand> create(const VisibleSelection& selection, SelectionController::SetSelectionOptions options)
42 SetSelectionCommand(const VisibleSelection&, SelectionController::SetSelectionOptions);
47 VisibleSelection m_selectionToSet;
EditCommand.h 31 #include "VisibleSelection.h"
49 const VisibleSelection& startingSelection() const { return m_startingSelection; }
50 const VisibleSelection& endingSelection() const { return m_endingSelection; }
70 void setStartingSelection(const VisibleSelection&);
71 void setEndingSelection(const VisibleSelection&);
81 VisibleSelection m_startingSelection;
82 VisibleSelection m_endingSelection;
VisibleSelection.h 39 class VisibleSelection {
43 VisibleSelection();
45 VisibleSelection(const Position&, EAffinity);
46 VisibleSelection(const Position&, const Position&, EAffinity = SEL_DEFAULT_AFFINITY);
48 VisibleSelection(const Range*, EAffinity = SEL_DEFAULT_AFFINITY);
50 VisibleSelection(const VisiblePosition&);
51 VisibleSelection(const VisiblePosition&, const VisiblePosition&);
53 static VisibleSelection selectionFromContentsOfNode(Node*);
118 // We need to store these as Positions because VisibleSelection is
135 inline bool operator==(const VisibleSelection& a, const VisibleSelection& b
    [all...]
DeleteButtonController.h 37 class VisibleSelection;
49 void respondToChangedSelection(const VisibleSelection& oldSelection);
VisibleSelection.cpp 27 #include "VisibleSelection.h"
43 VisibleSelection::VisibleSelection()
50 VisibleSelection::VisibleSelection(const Position& pos, EAffinity affinity)
58 VisibleSelection::VisibleSelection(const Position& base, const Position& extent, EAffinity affinity)
66 VisibleSelection::VisibleSelection(const VisiblePosition& pos)
74 VisibleSelection::VisibleSelection(const VisiblePosition& base, const VisiblePosition& extent
    [all...]
Editor.h 40 #include "VisibleSelection.h"
133 void respondToChangedSelection(const VisibleSelection& oldSelection);
134 void respondToChangedContents(const VisibleSelection& endingSelection);
172 void unappliedSpellCorrection(const VisibleSelection& selectionOfCorrected, const String& corrected, const String& correction);
222 void markMisspellingsAfterTypingToWord(const VisiblePosition &wordStart, const VisibleSelection& selectionAfterTyping, bool doReplacement);
223 void markMisspellings(const VisibleSelection&, RefPtr<Range>& firstMisspellingRange);
224 void markBadGrammar(const VisibleSelection&);
225 void markMisspellingsAndBadGrammar(const VisibleSelection& spellingSelection, bool markGrammar, const VisibleSelection& grammarSelection);
313 VisibleSelection selectionForCommand(Event*)
    [all...]
SpellingCorrectionCommand.h 46 VisibleSelection m_selectionToBeCorrected;
DeleteSelectionCommand.h 41 static PassRefPtr<DeleteSelectionCommand> create(const VisibleSelection& selection, bool smartDelete = false, bool mergeBlocksAfterDelete = true, bool replace = false, bool expandForSpecialElements = false)
48 DeleteSelectionCommand(const VisibleSelection&, bool smartDelete, bool mergeBlocksAfterDelete, bool replace, bool expandForSpecialElements);
81 VisibleSelection m_selectionToDelete;
CreateLinkCommand.cpp 55 setEndingSelection(VisibleSelection(positionInParentBeforeNode(anchorElement.get()), positionInParentAfterNode(anchorElement.get()), DOWNSTREAM));
SetSelectionCommand.cpp 33 SetSelectionCommand::SetSelectionCommand(const VisibleSelection& selection, SelectionController::SetSelectionOptions options)
InsertLineBreakCommand.cpp 91 VisibleSelection selection = endingSelection();
124 setEndingSelection(VisibleSelection(endingPosition));
132 setEndingSelection(VisibleSelection(positionInParentAfterNode(nodeToInsert.get()), DOWNSTREAM));
137 setEndingSelection(VisibleSelection(positionInParentAfterNode(nodeToInsert.get()), DOWNSTREAM));
162 setEndingSelection(VisibleSelection(endingPosition, DOWNSTREAM));
176 // It tries to set a VisibleSelection around the content it operated on. So, that VisibleSelection
SpellingCorrectionController.h 53 class VisibleSelection;
98 void respondToUnappliedSpellCorrection(const VisibleSelection&, const String& corrected, const String& correction) UNLESS_ENABLED({ UNUSED_PARAM(corrected); UNUSED_PARAM(correction); })
100 void respondToChangedSelection(const VisibleSelection& oldSelection) UNLESS_ENABLED({ UNUSED_PARAM(oldSelection); })
102 void stopPendingCorrection(const VisibleSelection& oldSelection) UNLESS_ENABLED({ UNUSED_PARAM(oldSelection); })
103 void applyPendingCorrection(const VisibleSelection& selectionAfterTyping) UNLESS_ENABLED({ UNUSED_PARAM(selectionAfterTyping); })
SelectionController.h 34 #include "VisibleSelection.h"
78 const VisibleSelection& selection() const { return m_selection; }
79 void setSelection(const VisibleSelection&, SetSelectionOptions = CloseTyping | ClearTypingStyle, CursorAlignOnScroll = AlignCursorOnScrollIfNeeded, TextGranularity = CharacterGranularity, DirectionalityPolicy = MakeDirectionalSelection);
80 void setSelection(const VisibleSelection& selection, TextGranularity granularity, DirectionalityPolicy directionality = MakeDirectionalSelection) { setSelection(selection, CloseTyping | ClearTypingStyle, AlignCursorOnScrollIfNeeded, granularity, directionality); }
90 VisibleSelection::SelectionType selectionType() const { return m_selection.selectionType(); }
165 bool shouldChangeSelection(const VisibleSelection&) const;
166 bool shouldDeleteSelection(const VisibleSelection&) const;
226 VisibleSelection m_selection;
TypingCommand.cpp 51 static bool canAppendNewLineFeed(const VisibleSelection& selection)
143 VisibleSelection currentSelection = frame->selection()->selection();
165 void TypingCommand::insertText(Document* document, const String& text, const VisibleSelection& selectionForInsertion, Options options, TextCompositionType compositionType)
172 VisibleSelection currentSelection = frame->selection()->selection();
463 setEndingSelection(VisibleSelection(firstPositionInNode(root), DOWNSTREAM));
472 VisibleSelection selectionToDelete;
473 VisibleSelection selectionAfterUndo;
476 case VisibleSelection::RangeSelection:
480 case VisibleSelection::CaretSelection: {
521 setEndingSelection(VisibleSelection(positionBeforeNode(table), endingSelection().start(), DOWNSTREAM))
    [all...]
BreakBlockquoteCommand.cpp 81 setEndingSelection(VisibleSelection(positionBeforeNode(breakNode.get()), DOWNSTREAM));
91 setEndingSelection(VisibleSelection(positionBeforeNode(breakNode.get()), DOWNSTREAM));
124 setEndingSelection(VisibleSelection(VisiblePosition(firstPositionInOrBeforeNode(startNode))));
197 setEndingSelection(VisibleSelection(positionBeforeNode(breakNode.get()), DOWNSTREAM));
InsertListCommand.h 55 bool selectionHasListOfType(const VisibleSelection& selection, const QualifiedName&);
htmlediting.h 46 class VisibleSelection;
214 // VisibleSelection
217 // Functions returning VisibleSelection
218 VisibleSelection avoidIntersectionWithNode(const VisibleSelection&, Node*);
219 VisibleSelection selectionForParagraphIteration(const VisibleSelection&);
EditCommand.cpp 162 void EditCommand::setStartingSelection(const VisibleSelection& s)
173 void EditCommand::setEndingSelection(const VisibleSelection &s)
EditingAllInOne.cpp 76 #include <VisibleSelection.cpp>
SpellingCorrectionController.cpp 116 void SpellingCorrectionController::stopPendingCorrection(const VisibleSelection& oldSelection)
119 VisibleSelection currentSelection(m_frame->selection()->selection());
127 void SpellingCorrectionController::applyPendingCorrection(const VisibleSelection& selectionAfterTyping)
132 VisibleSelection currentWord = VisibleSelection(startOfWord(startOfSelection, LeftWordIfOnBoundary), endOfWord(startOfSelection, RightWordIfOnBoundary));
269 void SpellingCorrectionController::respondToUnappliedSpellCorrection(const VisibleSelection& selectionOfCorrected, const String& corrected, const String& correction)
287 VisibleSelection selection(m_frame->selection()->selection());
290 VisibleSelection adjacentWords = VisibleSelection(p, start);
367 void SpellingCorrectionController::respondToChangedSelection(const VisibleSelection& oldSelection
    [all...]
InsertTextCommand.cpp 95 VisibleSelection forcedEndingSelection;
100 setEndingSelection(VisibleSelection(endingSelection().visibleEnd()));
190 VisibleSelection forcedEndingSelection;
202 setEndingSelection(VisibleSelection(endingSelection().end(), endingSelection().affinity()));
MoveSelectionCommand.cpp 68 setEndingSelection(VisibleSelection(pos, endingSelection().affinity()));
  /external/webkit/Source/WebCore/page/
DOMSelection.h 42 class VisibleSelection;
96 const VisibleSelection& visibleSelection() const;
DOMSelection.cpp 70 const VisibleSelection& DOMSelection::visibleSelection() const
76 static Position anchorPosition(const VisibleSelection& selection)
82 static Position focusPosition(const VisibleSelection& selection)
88 static Position basePosition(const VisibleSelection& selection)
93 static Position extentPosition(const VisibleSelection& selection)
104 return anchorPosition(visibleSelection()).containerNode();
113 return anchorPosition(visibleSelection()).offsetInContainerNode();
122 return focusPosition(visibleSelection()).containerNode();
131 return focusPosition(visibleSelection()).offsetInContainerNode()
    [all...]
  /external/webkit/Source/WebCore/html/
FormAssociatedElement.h 35 class VisibleSelection;

Completed in 573 milliseconds

1 2 3