|
enum | EAlteration { AlterationMove,
AlterationExtend,
AlterationMove,
AlterationExtend
} |
|
enum | CursorAlignOnScroll { AlignCursorOnScrollIfNeeded,
AlignCursorOnScrollAlways,
AlignCursorOnScrollIfNeeded,
AlignCursorOnScrollAlways
} |
|
enum | SetSelectionOption {
FireSelectEvent = 1 << 0,
CloseTyping = 1 << 1,
ClearTypingStyle = 1 << 2,
SpellCorrectionTriggered = 1 << 3,
DoNotSetFocus = 1 << 4,
DictationTriggered = 1 << 5,
RevealSelection = 1 << 6,
FireSelectEvent = 1 << 0,
CloseTyping = 1 << 1,
ClearTypingStyle = 1 << 2,
SpellCorrectionTriggered = 1 << 3,
DoNotSetFocus = 1 << 4,
DictationTriggered = 1 << 5,
RevealSelection = 1 << 6
} |
|
enum | VerticalDirection { DirectionUp,
DirectionDown,
DirectionUp,
DirectionDown
} |
|
enum | EndPointsAdjustmentMode { AdjustEndpointsAtBidiBoundary,
DoNotAdjsutEndpoints,
AdjustEndpointsAtBidiBoundary,
DoNotAdjsutEndpoints
} |
|
enum | TextRectangleHeight { TextRectangleHeight::TextHeight,
TextRectangleHeight::SelectionHeight,
TextRectangleHeight::TextHeight,
TextRectangleHeight::SelectionHeight
} |
|
enum | EAlteration { AlterationMove,
AlterationExtend,
AlterationMove,
AlterationExtend
} |
|
enum | CursorAlignOnScroll { AlignCursorOnScrollIfNeeded,
AlignCursorOnScrollAlways,
AlignCursorOnScrollIfNeeded,
AlignCursorOnScrollAlways
} |
|
enum | SetSelectionOption {
FireSelectEvent = 1 << 0,
CloseTyping = 1 << 1,
ClearTypingStyle = 1 << 2,
SpellCorrectionTriggered = 1 << 3,
DoNotSetFocus = 1 << 4,
DictationTriggered = 1 << 5,
RevealSelection = 1 << 6,
FireSelectEvent = 1 << 0,
CloseTyping = 1 << 1,
ClearTypingStyle = 1 << 2,
SpellCorrectionTriggered = 1 << 3,
DoNotSetFocus = 1 << 4,
DictationTriggered = 1 << 5,
RevealSelection = 1 << 6
} |
|
enum | VerticalDirection { DirectionUp,
DirectionDown,
DirectionUp,
DirectionDown
} |
|
enum | EndPointsAdjustmentMode { AdjustEndpointsAtBidiBoundary,
DoNotAdjsutEndpoints,
AdjustEndpointsAtBidiBoundary,
DoNotAdjsutEndpoints
} |
|
enum | TextRectangleHeight { TextRectangleHeight::TextHeight,
TextRectangleHeight::SelectionHeight,
TextRectangleHeight::TextHeight,
TextRectangleHeight::SelectionHeight
} |
|
typedef unsigned | SetSelectionOptions |
|
typedef unsigned | SetSelectionOptions |
|
|
WEBCORE_EXPORT | FrameSelection (Frame *=nullptr) |
|
WEBCORE_EXPORT Element * | rootEditableElementOrDocumentElement () const |
|
WEBCORE_EXPORT void | moveTo (const Range *) |
|
WEBCORE_EXPORT void | moveTo (const VisiblePosition &, EUserTriggered=NotUserTriggered, CursorAlignOnScroll=AlignCursorOnScrollIfNeeded) |
|
WEBCORE_EXPORT void | moveTo (const VisiblePosition &, const VisiblePosition &, EUserTriggered=NotUserTriggered) |
|
void | moveTo (const Position &, EAffinity, EUserTriggered=NotUserTriggered) |
|
void | moveTo (const Position &, const Position &, EAffinity, EUserTriggered=NotUserTriggered) |
|
void | moveWithoutValidationTo (const Position &, const Position &, bool selectionHasDirection, bool shouldSetFocus, const AXTextStateChangeIntent &=AXTextStateChangeIntent()) |
|
const VisibleSelection & | selection () const |
|
WEBCORE_EXPORT void | setSelection (const VisibleSelection &, SetSelectionOptions=defaultSetSelectionOptions(), AXTextStateChangeIntent=AXTextStateChangeIntent(), CursorAlignOnScroll=AlignCursorOnScrollIfNeeded, TextGranularity=CharacterGranularity) |
|
WEBCORE_EXPORT bool | setSelectedRange (Range *, EAffinity, bool closeTyping, EUserTriggered=NotUserTriggered) |
|
WEBCORE_EXPORT void | selectAll () |
|
WEBCORE_EXPORT void | clear () |
|
void | prepareForDestruction () |
|
void | updateAppearanceAfterLayout () |
|
void | setNeedsSelectionUpdate () |
|
bool | contains (const LayoutPoint &) |
|
WEBCORE_EXPORT bool | modify (EAlteration, SelectionDirection, TextGranularity, EUserTriggered=NotUserTriggered) |
|
bool | modify (EAlteration, unsigned verticalDistance, VerticalDirection, EUserTriggered=NotUserTriggered, CursorAlignOnScroll=AlignCursorOnScrollIfNeeded) |
|
TextGranularity | granularity () const |
|
void | setStart (const VisiblePosition &, EUserTriggered=NotUserTriggered) |
|
void | setEnd (const VisiblePosition &, EUserTriggered=NotUserTriggered) |
|
void | setBase (const VisiblePosition &, EUserTriggered=NotUserTriggered) |
|
void | setBase (const Position &, EAffinity, EUserTriggered=NotUserTriggered) |
|
void | setExtent (const VisiblePosition &, EUserTriggered=NotUserTriggered) |
|
void | setExtent (const Position &, EAffinity, EUserTriggered=NotUserTriggered) |
|
RenderBlock * | caretRendererWithoutUpdatingLayout () const |
|
WEBCORE_EXPORT IntRect | absoluteCaretBounds (bool *insideFixed=nullptr) |
|
void | setCaretRectNeedsUpdate () |
|
void | willBeModified (EAlteration, SelectionDirection) |
|
bool | isNone () const |
|
bool | isCaret () const |
|
bool | isRange () const |
|
bool | isCaretOrRange () const |
|
bool | isAll (EditingBoundaryCrossingRule rule=CannotCrossEditingBoundary) const |
|
RefPtr< Range > | toNormalizedRange () const |
|
void | debugRenderer (RenderObject *, bool selected) const |
|
void | nodeWillBeRemoved (Node &) |
|
void | textWasReplaced (CharacterData *, unsigned offset, unsigned oldLength, unsigned newLength) |
|
void | setCaretVisible (bool caretIsVisible) |
|
void | paintCaret (GraphicsContext &, const LayoutPoint &, const LayoutRect &clipRect) |
|
void | setCaretBlinkingSuspended (bool suspended) |
|
bool | isCaretBlinkingSuspended () const |
|
void | setFocused (bool) |
|
bool | isFocused () const |
|
WEBCORE_EXPORT bool | isFocusedAndActive () const |
|
void | pageActivationChanged () |
|
WEBCORE_EXPORT void | updateAppearance () |
|
bool | shouldChangeSelection (const VisibleSelection &) const |
|
bool | shouldDeleteSelection (const VisibleSelection &) const |
|
void | setSelectionByMouseIfDifferent (const VisibleSelection &, TextGranularity, EndPointsAdjustmentMode=DoNotAdjsutEndpoints) |
|
EditingStyle * | typingStyle () const |
|
WEBCORE_EXPORT PassRefPtr< MutableStyleProperties > | copyTypingStyle () const |
|
void | setTypingStyle (PassRefPtr< EditingStyle >) |
|
void | clearTypingStyle () |
|
WEBCORE_EXPORT FloatRect | selectionBounds (bool clipToVisibleContent=true) const |
|
WEBCORE_EXPORT void | getClippedVisibleTextRectangles (Vector< FloatRect > &, TextRectangleHeight=TextRectangleHeight::SelectionHeight) const |
|
WEBCORE_EXPORT void | getTextRectangles (Vector< FloatRect > &, TextRectangleHeight=TextRectangleHeight::SelectionHeight) const |
|
WEBCORE_EXPORT HTMLFormElement * | currentForm () const |
|
WEBCORE_EXPORT void | revealSelection (SelectionRevealMode=SelectionRevealMode::Reveal, const ScrollAlignment &=ScrollAlignment::alignCenterIfNeeded, RevealExtentOption=DoNotRevealExtent) |
|
WEBCORE_EXPORT void | setSelectionFromNone () |
|
bool | shouldShowBlockCursor () const |
|
void | setShouldShowBlockCursor (bool) |
|
WEBCORE_EXPORT | FrameSelection (Frame *=nullptr) |
|
WEBCORE_EXPORT Element * | rootEditableElementOrDocumentElement () const |
|
WEBCORE_EXPORT void | moveTo (const Range *) |
|
WEBCORE_EXPORT void | moveTo (const VisiblePosition &, EUserTriggered=NotUserTriggered, CursorAlignOnScroll=AlignCursorOnScrollIfNeeded) |
|
WEBCORE_EXPORT void | moveTo (const VisiblePosition &, const VisiblePosition &, EUserTriggered=NotUserTriggered) |
|
void | moveTo (const Position &, EAffinity, EUserTriggered=NotUserTriggered) |
|
void | moveTo (const Position &, const Position &, EAffinity, EUserTriggered=NotUserTriggered) |
|
void | moveWithoutValidationTo (const Position &, const Position &, bool selectionHasDirection, bool shouldSetFocus, const AXTextStateChangeIntent &=AXTextStateChangeIntent()) |
|
const VisibleSelection & | selection () const |
|
WEBCORE_EXPORT void | setSelection (const VisibleSelection &, SetSelectionOptions=defaultSetSelectionOptions(), AXTextStateChangeIntent=AXTextStateChangeIntent(), CursorAlignOnScroll=AlignCursorOnScrollIfNeeded, TextGranularity=CharacterGranularity) |
|
WEBCORE_EXPORT bool | setSelectedRange (Range *, EAffinity, bool closeTyping, EUserTriggered=NotUserTriggered) |
|
WEBCORE_EXPORT void | selectAll () |
|
WEBCORE_EXPORT void | clear () |
|
void | prepareForDestruction () |
|
void | updateAppearanceAfterLayout () |
|
void | setNeedsSelectionUpdate () |
|
bool | contains (const LayoutPoint &) |
|
WEBCORE_EXPORT bool | modify (EAlteration, SelectionDirection, TextGranularity, EUserTriggered=NotUserTriggered) |
|
bool | modify (EAlteration, unsigned verticalDistance, VerticalDirection, EUserTriggered=NotUserTriggered, CursorAlignOnScroll=AlignCursorOnScrollIfNeeded) |
|
TextGranularity | granularity () const |
|
void | setStart (const VisiblePosition &, EUserTriggered=NotUserTriggered) |
|
void | setEnd (const VisiblePosition &, EUserTriggered=NotUserTriggered) |
|
void | setBase (const VisiblePosition &, EUserTriggered=NotUserTriggered) |
|
void | setBase (const Position &, EAffinity, EUserTriggered=NotUserTriggered) |
|
void | setExtent (const VisiblePosition &, EUserTriggered=NotUserTriggered) |
|
void | setExtent (const Position &, EAffinity, EUserTriggered=NotUserTriggered) |
|
RenderBlock * | caretRendererWithoutUpdatingLayout () const |
|
WEBCORE_EXPORT IntRect | absoluteCaretBounds (bool *insideFixed=nullptr) |
|
void | setCaretRectNeedsUpdate () |
|
void | willBeModified (EAlteration, SelectionDirection) |
|
bool | isNone () const |
|
bool | isCaret () const |
|
bool | isRange () const |
|
bool | isCaretOrRange () const |
|
bool | isAll (EditingBoundaryCrossingRule rule=CannotCrossEditingBoundary) const |
|
RefPtr< Range > | toNormalizedRange () const |
|
void | debugRenderer (RenderObject *, bool selected) const |
|
void | nodeWillBeRemoved (Node &) |
|
void | textWasReplaced (CharacterData *, unsigned offset, unsigned oldLength, unsigned newLength) |
|
void | setCaretVisible (bool caretIsVisible) |
|
void | paintCaret (GraphicsContext &, const LayoutPoint &, const LayoutRect &clipRect) |
|
void | setCaretBlinkingSuspended (bool suspended) |
|
bool | isCaretBlinkingSuspended () const |
|
void | setFocused (bool) |
|
bool | isFocused () const |
|
WEBCORE_EXPORT bool | isFocusedAndActive () const |
|
void | pageActivationChanged () |
|
WEBCORE_EXPORT void | updateAppearance () |
|
bool | shouldChangeSelection (const VisibleSelection &) const |
|
bool | shouldDeleteSelection (const VisibleSelection &) const |
|
void | setSelectionByMouseIfDifferent (const VisibleSelection &, TextGranularity, EndPointsAdjustmentMode=DoNotAdjsutEndpoints) |
|
EditingStyle * | typingStyle () const |
|
WEBCORE_EXPORT PassRefPtr< MutableStyleProperties > | copyTypingStyle () const |
|
void | setTypingStyle (PassRefPtr< EditingStyle >) |
|
void | clearTypingStyle () |
|
WEBCORE_EXPORT FloatRect | selectionBounds (bool clipToVisibleContent=true) const |
|
WEBCORE_EXPORT void | getClippedVisibleTextRectangles (Vector< FloatRect > &, TextRectangleHeight=TextRectangleHeight::SelectionHeight) const |
|
WEBCORE_EXPORT void | getTextRectangles (Vector< FloatRect > &, TextRectangleHeight=TextRectangleHeight::SelectionHeight) const |
|
WEBCORE_EXPORT HTMLFormElement * | currentForm () const |
|
WEBCORE_EXPORT void | revealSelection (SelectionRevealMode=SelectionRevealMode::Reveal, const ScrollAlignment &=ScrollAlignment::alignCenterIfNeeded, RevealExtentOption=DoNotRevealExtent) |
|
WEBCORE_EXPORT void | setSelectionFromNone () |
|
bool | shouldShowBlockCursor () const |
|
void | setShouldShowBlockCursor (bool) |
|