OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:comparePositions
(Results
1 - 10
of
10
) sorted by null
/external/chromium_org/third_party/WebKit/Source/core/editing/
htmlediting.h
160
int
comparePositions
(const Position&, const Position&);
161
int
comparePositions
(const PositionWithAffinity&, const PositionWithAffinity&);
197
int
comparePositions
(const VisiblePosition&, const VisiblePosition&);
htmlediting.cpp
75
int
comparePositions
(const Position& a, const Position& b)
107
int
comparePositions
(const PositionWithAffinity& a, const PositionWithAffinity& b)
109
return
comparePositions
(a.position(), b.position());
112
int
comparePositions
(const VisiblePosition& a, const VisiblePosition& b)
114
return
comparePositions
(a.deepEquivalent(), b.deepEquivalent());
264
if (
comparePositions
(position, firstPositionInNode(highestRoot)) == -1 && highestRoot->hasEditableStyle())
294
if (
comparePositions
(position, lastPositionInNode(highestRoot)) == 1)
[
all
...]
ApplyStyleCommand.cpp
184
ASSERT(
comparePositions
(newEnd, newStart) >= 0);
247
if (
comparePositions
(end, start) < 0) {
317
if (
comparePositions
(end, start) < 0) {
571
if (
comparePositions
(end, start) < 0) {
631
if (
comparePositions
(embeddingRemoveStart, embeddingRemoveEnd) <= 0)
694
if (!startNode ||
comparePositions
(end, firstPositionInOrBeforeNode(startNode)) < 0)
[
all
...]
CompositeEditCommand.cpp
810
if (
comparePositions
(start, end) >= 0)
[
all
...]
DeleteSelectionCommand.cpp
136
if (startSpecialContainer && !endSpecialContainer &&
comparePositions
(positionInParentAfterNode(*startSpecialContainer), end) > -1)
140
if (endSpecialContainer && !startSpecialContainer &&
comparePositions
(start, positionInParentBeforeNode(*endSpecialContainer)) > -1)
516
if (
comparePositions
(firstPositionInOrBeforeNode(node.get()), m_downstreamEnd) >= 0) {
610
if (
comparePositions
(m_upstreamStart, m_downstreamEnd) > 0)
[
all
...]
VisibleSelection.cpp
249
if (
comparePositions
(start, end) > 0) {
350
m_baseIsFirst =
comparePositions
(m_base, m_extent) <= 0;
533
m_baseIsFirst =
comparePositions
(base, extent) <= 0;
InsertParagraphSeparatorCommand.cpp
407
if (!beforeNodePosition.isNull() &&
comparePositions
(VisiblePosition(insertionPosition), beforeNodePosition) <= 0)
FrameSelection.cpp
[
all
...]
TextIterator.cpp
306
ASSERT(
comparePositions
(start, end) <= 0);
[
all
...]
/external/chromium_org/third_party/WebKit/Source/core/page/
EventHandler.cpp
526
if (
comparePositions
(selectionInUserSelectAll.start(), newSelection.start()) < 0)
528
else if (
comparePositions
(newSelection.end(), selectionInUserSelectAll.end()) < 0)
739
if (rootUserSelectAllForMousePressNode &&
comparePositions
(target->renderer()->positionForPoint(hitTestResult.localPoint()), m_mousePressNode->renderer()->positionForPoint(m_dragStartPos)) < 0)
743
if (rootUserSelectAllForTarget && m_mousePressNode->renderer() &&
comparePositions
(target->renderer()->positionForPoint(hitTestResult.localPoint()), m_mousePressNode->renderer()->positionForPoint(m_dragStartPos)) < 0)
[
all
...]
Completed in 196 milliseconds