Home | History | Annotate | Download | only in editing

Lines Matching defs:VisibleSelection

27 #include "core/editing/VisibleSelection.h"
49 VisibleSelection::VisibleSelection()
58 VisibleSelection::VisibleSelection(const Position& pos, EAffinity affinity, bool isDirectional)
68 VisibleSelection::VisibleSelection(const Position& base, const Position& extent, EAffinity affinity, bool isDirectional)
78 VisibleSelection::VisibleSelection(const VisiblePosition& pos, bool isDirectional)
88 VisibleSelection::VisibleSelection(const VisiblePosition& base, const VisiblePosition& extent, bool isDirectional)
98 VisibleSelection::VisibleSelection(const Range* range, EAffinity affinity, bool isDirectional)
108 VisibleSelection::VisibleSelection(const VisibleSelection& other)
114 , m_changeObserver(nullptr) // Observer is associated with only one VisibleSelection, so this should not be copied.
121 VisibleSelection& VisibleSelection::operator=(const VisibleSelection& other)
137 VisibleSelection::~VisibleSelection()
144 VisibleSelection VisibleSelection::selectionFromContentsOfNode(Node* node)
147 return VisibleSelection(firstPositionInNode(node), lastPositionInNode(node), DOWNSTREAM);
150 void VisibleSelection::setBase(const Position& position)
159 void VisibleSelection::setBase(const VisiblePosition& visiblePosition)
168 void VisibleSelection::setExtent(const Position& position)
177 void VisibleSelection::setExtent(const VisiblePosition& visiblePosition)
186 PassRefPtrWillBeRawPtr<Range> VisibleSelection::firstRange() const
195 bool VisibleSelection::intersectsNode(Node* node) const
205 PassRefPtrWillBeRawPtr<Range> VisibleSelection::toNormalizedRange() const
213 bool VisibleSelection::toNormalizedPositions(Position& start, Position& end) const
266 bool VisibleSelection::expandUsingGranularity(TextGranularity granularity)
308 void VisibleSelection::appendTrailingWhitespace()
328 void VisibleSelection::setBaseAndExtentToDeepEquivalents()
353 void VisibleSelection::setStartAndEndFromBaseAndExtentRespectingGranularity(TextGranularity granularity)
478 void VisibleSelection::updateSelectionType()
493 void VisibleSelection::validate(TextGranularity granularity)
521 // But because we use VisibleSelection to store values in editing commands for use when
524 // To fix it we either need to change the invariants of VisibleSelection or create a new
526 void VisibleSelection::setWithoutValidation(const Position& base, const Position& extent)
581 void VisibleSelection::adjustSelectionToAvoidCrossingShadowBoundaries()
600 void VisibleSelection::adjustSelectionToAvoidCrossingEditingBoundaries()
707 VisiblePosition VisibleSelection::visiblePositionRespectingEditingBoundary(const LayoutPoint& localPoint, Node* targetNode) const
728 bool VisibleSelection::isContentEditable() const
733 bool VisibleSelection::hasEditableStyle() const
738 bool VisibleSelection::isContentRichlyEditable() const
743 Element* VisibleSelection::rootEditableElement() const
748 Node* VisibleSelection::nonBoundaryShadowTreeRootNode() const
753 VisibleSelection::ChangeObserver::ChangeObserver()
757 VisibleSelection::ChangeObserver::~ChangeObserver()
761 void VisibleSelection::setChangeObserver(ChangeObserver& observer)
767 void VisibleSelection::clearChangeObserver()
773 void VisibleSelection::didChange()
779 void VisibleSelection::trace(Visitor* visitor)
804 void VisibleSelection::validatePositionsIfNeeded()
812 void VisibleSelection::debugPosition() const
814 fprintf(stderr, "VisibleSelection ===============\n");
831 void VisibleSelection::formatForDebugger(char* buffer, unsigned length) const
852 void VisibleSelection::showTreeForThis() const
869 void showTree(const blink::VisibleSelection& sel)
874 void showTree(const blink::VisibleSelection* sel)