OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:anchorType
(Results
1 - 14
of
14
) sorted by null
/external/webkit/Source/WebCore/editing/
MoveSelectionCommand.cpp
50
if (pos.
anchorType
() == Position::PositionIsOffsetInAnchor && selectionEnd.
anchorType
() == Position::PositionIsOffsetInAnchor
55
if (selectionStart.
anchorType
() == Position::PositionIsOffsetInAnchor && selectionStart.containerNode() == pos.containerNode())
ApplyBlockElementCommand.cpp
151
if (position.
anchorType
() != Position::PositionIsOffsetInAnchor)
169
if (position.
anchorType
() != Position::PositionIsOffsetInAnchor
258
if (start.
anchorType
() == Position::PositionIsOffsetInAnchor && containerNode.get() == start.containerNode()) {
262
if (end.
anchorType
() == Position::PositionIsOffsetInAnchor && containerNode.get() == end.containerNode()) {
266
if (m_endOfLastParagraph.
anchorType
() == Position::PositionIsOffsetInAnchor && containerNode.get() == m_endOfLastParagraph.containerNode()) {
InsertTextCommand.cpp
82
ASSERT(start.
anchorType
() == Position::PositionIsOffsetInAnchor);
83
ASSERT(end.
anchorType
() == Position::PositionIsOffsetInAnchor);
163
ASSERT(startPosition.
anchorType
() == Position::PositionIsOffsetInAnchor);
ApplyStyleCommand.cpp
[
all
...]
VisiblePosition.cpp
544
if (!node || !node->isTextNode() || pos.
anchorType
() == Position::PositionIsAfterAnchor)
546
ASSERT(pos.
anchorType
() == Position::PositionIsBeforeAnchor || pos.
anchorType
() == Position::PositionIsOffsetInAnchor);
548
unsigned offset = pos.
anchorType
() == Position::PositionIsOffsetInAnchor ? pos.offsetInContainerNode() : 0;
InsertParagraphSeparatorCommand.cpp
369
if (insertionPosition.
anchorType
() == Position::PositionIsOffsetInAnchor)
CompositeEditCommand.cpp
348
if (pos.
anchorType
() == Position::PositionIsAfterAnchor)
350
if (pos.
anchorType
() == Position::PositionIsBeforeAnchor)
416
if (position.
anchorType
() != Position::PositionIsOffsetInAnchor || !node || !node->isTextNode())
[
all
...]
DeleteSelectionCommand.cpp
320
switch (position.
anchorType
()) {
410
if (position.
anchorType
() != Position::PositionIsOffsetInAnchor || position.containerNode() != node)
[
all
...]
SpellingCorrectionController.cpp
383
if (position.
anchorType
() != Position::PositionIsOffsetInAnchor)
ReplaceSelectionCommand.cpp
[
all
...]
SelectionController.cpp
284
if (!position.anchorNode() || position.anchorNode() != node || position.
anchorType
() != Position::PositionIsOffsetInAnchor)
[
all
...]
visible_units.cpp
759
Position::
AnchorType
type = p.
anchorType
();
831
Position::
AnchorType
type = p.
anchorType
();
[
all
...]
/external/webkit/Source/WebCore/dom/
Position.h
54
enum
AnchorType
{
71
Position(PassRefPtr<Node> anchorNode,
AnchorType
);
73
Position(PassRefPtr<Node> anchorNode, int offset,
AnchorType
);
75
AnchorType
anchorType
() const { return static_cast<
AnchorType
>(m_anchorType); }
88
ASSERT(
anchorType
() == PositionIsOffsetInAnchor);
185
static
AnchorType
anchorTypeForLegacyEditingPosition(Node* anchorNode, int offset);
200
return a.anchorNode() == b.anchorNode() && a.deprecatedEditingOffset() == b.deprecatedEditingOffset() && a.
anchorType
() == b.
anchorType
();
[
all
...]
Position.cpp
82
Position::Position(PassRefPtr<Node> anchorNode,
AnchorType
anchorType
)
85
, m_anchorType(
anchorType
)
88
ASSERT(
anchorType
!= PositionIsOffsetInAnchor);
91
Position::Position(PassRefPtr<Node> anchorNode, int offset,
AnchorType
anchorType
)
94
, m_anchorType(
anchorType
)
98
ASSERT(
anchorType
== PositionIsOffsetInAnchor);
104
ASSERT(
anchorType
() == PositionIsOffsetInAnchor || m_isLegacyEditingPosition);
112
ASSERT(
anchorType
() == PositionIsOffsetInAnchor || m_isLegacyEditingPosition)
[
all
...]
Completed in 1181 milliseconds