/external/chromium_org/third_party/WebKit/Source/core/editing/ |
D | MoveSelectionCommand.cpp | 50 …if (pos.anchorType() == Position::PositionIsOffsetInAnchor && selectionEnd.anchorType() == Positio… in doApply() 55 …if (selectionStart.anchorType() == Position::PositionIsOffsetInAnchor && selectionStart.containerN… in doApply()
|
D | ApplyStyleCommand.cpp | 1132 … ASSERT(s.anchorType() == Position::PositionIsBeforeAnchor || s.offsetInContainerNode() <= 0); in removeInlineStyle() 1139 …ASSERT(s.anchorType() == Position::PositionIsAfterAnchor || !offsetIsBeforeLastNodeOffset(s.offset… in removeInlineStyle() 1185 …if (end.anchorType() == Position::PositionIsOffsetInAnchor && start.containerNode() == end.contain… in splitTextAtStart() 1199 …bool shouldUpdateStart = start.anchorType() == Position::PositionIsOffsetInAnchor && start.contain… in splitTextAtEnd() 1254 if (position.anchorType() != Position::PositionIsOffsetInAnchor || !node->isTextNode()) in isValidCaretPositionInTextNode() 1543 … if (start.anchorType() == Position::PositionIsOffsetInAnchor && next == start.containerNode()) in joinChildTextNodes() 1545 if (end.anchorType() == Position::PositionIsOffsetInAnchor && next == end.containerNode()) in joinChildTextNodes()
|
D | RenderedPosition.cpp | 43 switch (position.anchorType()) { in rendererFromPosition()
|
D | InsertTextCommand.cpp | 195 ASSERT(startPosition.anchorType() == Position::PositionIsOffsetInAnchor); in doApply()
|
D | ReplaceSelectionCommand.cpp | 1277 if (endUpstream.anchorType() == Position::PositionIsOffsetInAnchor) { in addSpacesForSmartReplace() 1301 if (startDownstream.anchorType() == Position::PositionIsOffsetInAnchor) { in addSpacesForSmartReplace() 1356 bool positionIsOffsetInAnchor = position.anchorType() == Position::PositionIsOffsetInAnchor; in mergeTextNodesAroundPosition() 1357 …bool positionOnlyToBeUpdatedIsOffsetInAnchor = positionOnlyToBeUpdated.anchorType() == Position::P… in mergeTextNodesAroundPosition()
|
D | ApplyBlockElementCommand.cpp | 173 …if (position.anchorType() != Position::PositionIsOffsetInAnchor || !position.containerNode() || !p… in renderStyleOfEnclosingTextNode()
|
D | InputMethodController.cpp | 319 if (base.anchorType() != Position::PositionIsOffsetInAnchor) in setCompositionFromExistingText()
|
D | InsertParagraphSeparatorCommand.cpp | 356 …if (insertionPosition.anchorType() == Position::PositionIsOffsetInAnchor && insertionPosition.cont… in doApply()
|
D | CompositeEditCommand.cpp | 440 …int offset = (position.anchorType() == Position::PositionIsOffsetInAnchor) ? position.offsetInCont… in updatePositionForNodeRemovalPreservingChildren() 555 switch (pos.anchorType()) { in positionOutsideTabSpan() 631 if (position.anchorType() != Position::PositionIsOffsetInAnchor || !node || !node->isTextNode()) in canRebalance()
|
D | FrameSelection.cpp | 381 …if (!position.anchorNode() || position.anchorNode() != node || position.anchorType() != Position::… in updatePositionAfterAdoptingTextReplacement() 417 if (!position.anchorNode() || position.anchorType() != Position::PositionIsOffsetInAnchor) in updatePostionAfterAdoptingTextNodesMerged() 445 …if (!position.anchorNode() || position.anchorNode() != &oldNode || position.anchorType() != Positi… in updatePostionAfterAdoptingTextNodeSplit()
|
D | VisibleUnits.cpp | 1110 Position::AnchorType type = p.anchorType(); in startOfParagraph() 1188 Position::AnchorType type = p.anchorType(); in endOfParagraph()
|
D | VisiblePosition.cpp | 633 switch (pos.anchorType()) { in characterAfter()
|
D | DeleteSelectionCommand.cpp | 407 …if (position.anchorType() != Position::PositionIsOffsetInAnchor || position.containerNode() != nod… in updatePositionForTextRemoval()
|
D | htmlediting.cpp | 939 switch (position.anchorType()) { in updatePositionForNodeRemoval()
|
/external/chromium_org/third_party/WebKit/Source/core/dom/ |
D | Position.cpp | 92 Position::Position(PassRefPtr<Node> anchorNode, AnchorType anchorType) in Position() argument 95 , m_anchorType(anchorType) in Position() 100 ASSERT(anchorType != PositionIsOffsetInAnchor); in Position() 101 ASSERT(!((anchorType == PositionIsBeforeChildren || anchorType == PositionIsAfterChildren) in Position() 105 Position::Position(PassRefPtr<Node> anchorNode, int offset, AnchorType anchorType) in Position() argument 108 , m_anchorType(anchorType) in Position() 113 ASSERT(anchorType == PositionIsOffsetInAnchor); in Position() 128 ASSERT(anchorType() == PositionIsOffsetInAnchor || m_isLegacyEditingPosition); in moveToPosition() 136 ASSERT(anchorType() == PositionIsOffsetInAnchor || m_isLegacyEditingPosition); in moveToOffset() 147 switch (anchorType()) { in containerNode() [all …]
|
D | Position.h | 92 AnchorType anchorType() const { return static_cast<AnchorType>(m_anchorType); } in anchorType() function 107 ASSERT(anchorType() == PositionIsOffsetInAnchor); in offsetInContainerNode() 235 … && a.deprecatedEditingOffset() == b.deprecatedEditingOffset() && a.anchorType() == b.anchorType();
|
/external/chromium_org/ui/webui/resources/js/cr/ui/ |
D | menu_button.js | 53 this.anchorType = cr.ui.AnchorType.BELOW; 215 positionPopupAroundElement(this, this.menu, this.anchorType,
|
/external/chromium_org/chrome/browser/resources/chromeos/login/ |
D | apps_menu.js | 52 this.anchorType = cr.ui.AnchorType.ABOVE;
|
/external/chromium_org/chrome/browser/resources/ntp4/ |
D | recently_closed.js | 39 this.anchorType = cr.ui.AnchorType.ABOVE;
|
D | other_sessions.js | 65 this.anchorType = cr.ui.AnchorType.ABOVE;
|
/external/chromium_org/third_party/WebKit/Source/core/html/ |
D | HTMLTextFormControlElement.cpp | 613 ASSERT(position.isNull() || position.anchorType() == Position::PositionIsOffsetInAnchor in enclosingTextFormControl()
|