/external/chromium_org/third_party/WebKit/Source/core/editing/ |
InsertLineBreakCommand.cpp | 61 Element* cb = pos.deprecatedNode()->enclosingBlockFlowElement(); 62 if (cb == pos.deprecatedNode()) 65 insertNodeAfter(node, pos.deprecatedNode()); 73 Element* cb = pos.deprecatedNode()->enclosingBlockFlowElement(); 74 if (cb == pos.deprecatedNode()) 77 insertNodeBefore(node, pos.deprecatedNode()); 87 return p.deprecatedNode()->renderer() && !p.deprecatedNode()->renderer()->style()->preserveNewline(); 118 bool needExtraLineBreak = !pos.deprecatedNode()->hasTagName(hrTag) && !isHTMLTableElement(pos.deprecatedNode()); [all...] |
DeleteSelectionCommand.cpp | 117 if (start.deprecatedNode()->hasTagName(hrTag)) 118 start = positionBeforeNode(start.deprecatedNode()); 119 else if (end.deprecatedNode()->hasTagName(hrTag)) 120 end = positionAfterNode(end.deprecatedNode()); 288 if (m_upstreamStart.deprecatedNode() == m_downstreamEnd.deprecatedNode() && m_upstreamStart.deprecatedNode()->isTextNode()) 451 Node* startNode = m_upstreamStart.deprecatedNode(); 479 if (startNode == m_downstreamEnd.deprecatedNode()) { 496 bool startNodeWasDescendantOfEndNode = m_upstreamStart.deprecatedNode()->isDescendantOf(m_downstreamEnd.deprecatedNode()) [all...] |
htmlediting.cpp | 116 Node* node = position.deprecatedNode(); 154 Node* node = p.deprecatedNode(); 170 Node* node = pos.deprecatedNode(); 177 Node* node = p.deprecatedNode(); 267 if (position.deprecatedNode()->treeScope() != highestRoot->treeScope()) { 268 Node* shadowAncestor = highestRoot->treeScope().ancestorInThisScope(p.deprecatedNode()); 275 while (p.deprecatedNode() && !isEditablePosition(p) && p.deprecatedNode()->isDescendantOf(highestRoot)) 276 p = isAtomicNode(p.deprecatedNode()) ? positionInParentAfterNode(p.deprecatedNode()) : nextVisuallyDistinctCandidate(p) [all...] |
ApplyStyleCommand.cpp | 256 Node* scope = visibleStart.deepEquivalent().deprecatedNode()->highestAncestor(); 268 RefPtr<Node> block = enclosingBlock(paragraphStart.deepEquivalent().deprecatedNode()); 318 if (start.deprecatedNode()->isTextNode()) { 319 joinChildTextNodes(start.deprecatedNode()->parentNode(), start, end); 327 if (end.deprecatedNode()->isTextNode() && start.deprecatedNode()->parentNode() != end.deprecatedNode()->parentNode()) { 328 joinChildTextNodes(end.deprecatedNode()->parentNode(), start, end); 353 if (start.deprecatedNode()->isDescendantOf(end.deprecatedNode())) [all...] |
Caret.cpp | 61 if (Node* node = m_position.deepEquivalent().deprecatedNode()) 66 if (Node* node = m_position.deepEquivalent().deprecatedNode()) { 137 ASSERT(caretPosition.deepEquivalent().deprecatedNode()->renderer()); 145 RenderObject* caretPainter = caretRenderer(caretPosition.deepEquivalent().deprecatedNode()); 167 return CaretBase::caretRenderer(m_position.deepEquivalent().deprecatedNode()); 261 if (m_position.deepEquivalent().deprecatedNode()->document().frame() == frame) 262 paintCaret(m_position.deepEquivalent().deprecatedNode(), p, paintOffset, clipRect);
|
CompositeEditCommand.cpp | 362 Node* refChild = p.deprecatedNode(); 700 Node* node = position.deprecatedNode(); 833 for (Node* node = start.deprecatedNode(); node; node = NodeTraversal::next(*node)) { 836 if (node == end.deprecatedNode()) 842 int startOffset = textNode == start.deprecatedNode() ? start.deprecatedEditingOffset() : 0; 843 int endOffset = textNode == end.deprecatedNode() ? end.deprecatedEditingOffset() : static_cast<int>(textNode->length()); 875 ASSERT(pos.deprecatedNode()->renderer()); [all...] |
InsertListCommand.cpp | 88 if (!enclosingList(start.deepEquivalent().deprecatedNode())) 93 Element* listNode = enclosingList(start.deepEquivalent().deprecatedNode()); 199 Node* selectionNode = endingSelection().start().deprecatedNode(); 225 Node* firstChildInList = enclosingListChild(VisiblePosition(firstPositionInNode(listNode.get())).deepEquivalent().deprecatedNode(), listNode.get()); 272 nextListChild = enclosingListChild(end.next().deepEquivalent().deprecatedNode(), listNode); 274 previousListChild = enclosingListChild(start.previous().deepEquivalent().deprecatedNode(), listNode); 315 Element* listNode = outermostEnclosingList(adjacentPos.deepEquivalent().deprecatedNode()); 324 || listNode->contains(pos.deepEquivalent().deprecatedNode()) 326 || enclosingList(listNode) != enclosingList(pos.deepEquivalent().deprecatedNode())) 358 if (start == end && isBlock(start.deepEquivalent().deprecatedNode())) { [all...] |
FormatBlockCommand.cpp | 70 Node* nodeToSplitTo = enclosingBlockToSplitTreeTo(start.deprecatedNode()); 71 RefPtr<Node> outerBlock = (start.deprecatedNode() == nodeToSplitTo) ? start.deprecatedNode() : splitTreeToNode(start.deprecatedNode(), nodeToSplitTo);
|
ReplaceSelectionCommand.cpp | 113 if (editingIgnoresContent(pos.deprecatedNode())) 403 && !startOfInsertedContent.deepEquivalent().deprecatedNode()->hasTagName(brTag) 416 && !endOfInsertedContent.deepEquivalent().deprecatedNode()->hasTagName(brTag) 448 Node* sourceNode = source.deepEquivalent().deprecatedNode(); 449 Node* destinationNode = destination.deepEquivalent().deprecatedNode(); [all...] |
InsertParagraphSeparatorCommand.cpp | 175 || (!canonicalPos.isNull() && isRenderedTable(canonicalPos.deprecatedNode())) 176 || (!canonicalPos.isNull() && canonicalPos.deprecatedNode()->hasTagName(hrTag))) { 252 getAncestorsInsideBlock(positionOutsideTabSpan(insertionPosition).deprecatedNode(), startBlock.get(), ancestors); 282 else if (insertionPosition.deprecatedNode() == startBlock && nestNewBlock) { 286 refNode = insertionPosition.deprecatedNode(); 297 getAncestorsInsideBlock(positionAvoidingSpecialElementBoundary(positionOutsideTabSpan(insertionPosition)).deprecatedNode(), startBlock.get(), ancestors); 336 if (editingIgnoresContent(insertionPosition.deprecatedNode())) { 348 if (leadingWhitespace.isNotNull() && leadingWhitespace.deprecatedNode()->isTextNode()) { 349 Text* textNode = toText(leadingWhitespace.deprecatedNode()); 419 if (positionAfterSplit.deprecatedNode()->isTextNode() [all...] |
VisibleUnits.cpp | 467 forwardsScanRange->setStart(end.deprecatedNode(), end.deprecatedEditingOffset(), exceptionState); 481 searchRange->setStart(start.deprecatedNode(), start.deprecatedEditingOffset(), exceptionState); 482 searchRange->setEnd(end.deprecatedNode(), end.deprecatedEditingOffset(), exceptionState); 545 backwardsScanRange->setEnd(start.deprecatedNode(), start.deprecatedEditingOffset(), IGNORE_EXCEPTION); 561 searchRange->setStart(start.deprecatedNode(), start.deprecatedEditingOffset(), IGNORE_EXCEPTION); 725 if (p.deprecatedNode()->renderer() && p.deprecatedNode()->renderer()->isRenderBlock() && !p.deprecatedEditingOffset()) 798 if (p.deprecatedNode()->renderer() && p.deprecatedNode()->renderer()->isRenderBlock() && !p.deprecatedEditingOffset()) [all...] |
VisiblePosition.cpp | 464 if (highestRoot && !pos.deepEquivalent().deprecatedNode()->isDescendantOf(highestRoot)) 490 if (highestRoot && !pos.deepEquivalent().deprecatedNode()->isDescendantOf(highestRoot)) 590 Node* nextNode = next.deprecatedNode(); 591 Node* prevNode = prev.deprecatedNode(); 602 if ((editingRoot && isHTMLHtmlElement(editingRoot)) || position.deprecatedNode()->isDocumentNode()) 707 fprintf(stderr, "Position [%s]: %s, ", msg, m_deepPosition.deprecatedNode()->nodeName().utf8().data()); 772 return visiblePosition.deepEquivalent().deprecatedNode()->enclosingBlockFlowElement(); 784 return previous.isNull() || !previous.deepEquivalent().deprecatedNode()->isDescendantOf(node); 796 return next.isNull() || !next.deepEquivalent().deprecatedNode()->isDescendantOf(node);
|
ApplyBlockElementCommand.cpp | 148 // Sanity check: Make sure our moveParagraph calls didn't remove endOfNextParagraph.deepEquivalent().deprecatedNode() 214 bool isEndAndEndOfLastParagraphOnSameNode = renderStyleOfEnclosingTextNode(m_endOfLastParagraph) && end.deprecatedNode() == m_endOfLastParagraph.deprecatedNode();
|
IndentOutdentCommand.cpp | 56 RefPtr<Node> lastNodeInSelectedParagraph = start.deprecatedNode(); 179 Node* enclosingBlockFlow = enclosingBlock(visibleStartOfParagraph.deepEquivalent().deprecatedNode()); 186 splitElement(toElement(enclosingNode), (highestInlineNode) ? highestInlineNode : visibleStartOfParagraph.deepEquivalent().deprecatedNode());
|
FrameSelection.cpp | [all...] |
EditingStyle.cpp | 349 init(position.deprecatedNode(), propertiesToInclude); 714 for (Node* node = selection.start().deprecatedNode(); node; node = NodeTraversal::next(*node)) { 728 if (node == selection.end().deprecatedNode()) [all...] |
VisiblePosition.h | 86 Element* rootEditableElement() const { return m_deepPosition.isNotNull() ? m_deepPosition.deprecatedNode()->rootEditableElement() : 0; }
|
VisibleSelection.cpp | 208 Node* n = pos.deprecatedNode(); 312 if (isEndOfParagraph(originalEnd) && !isEmptyTableCell(m_start.deprecatedNode())) { 675 return start().deprecatedNode() ? start().deprecatedNode()->nonBoundaryShadowTreeRootNode() : 0;
|
SpellChecker.cpp | 161 if (selection.start().deprecatedNode()) { 186 spellingSearchRange->setStart(rangeCompliantPosition.deprecatedNode(), rangeCompliantPosition.deprecatedEditingOffset(), IGNORE_EXCEPTION); 461 return isSpellCheckingEnabledFor(m_frame.selection().start().deprecatedNode()); [all...] |
InputMethodController.cpp | 284 Node* baseNode = base.deprecatedNode(); 286 Node* extentNode = extent.deprecatedNode();
|
BreakBlockquoteCommand.cpp | 107 Node* startNode = pos.deprecatedNode();
|
/external/chromium_org/third_party/WebKit/Source/core/dom/ |
Position.cpp | 299 Node* node = deprecatedNode(); 335 Node* node = deprecatedNode(); 389 return !lastOffsetForEditing(deprecatedNode()); 401 return m_anchorType == PositionIsAfterAnchor || m_anchorType == PositionIsAfterChildren || m_offset >= lastOffsetForEditing(deprecatedNode()); 414 if (atFirstEditingPositionForNode() && nextPosition.isNotNull() && !nextPosition.deprecatedNode()->rendererIsEditable()) 418 if (atLastEditingPositionForNode() && prevPosition.isNotNull() && !prevPosition.deprecatedNode()->rendererIsEditable()) 421 return nextPosition.isNotNull() && !nextPosition.deprecatedNode()->rendererIsEditable() 422 && prevPosition.isNotNull() && !prevPosition.deprecatedNode()->rendererIsEditable(); 446 return !deprecatedNode()->parentNode() && m_offset <= 0; 453 return !deprecatedNode()->parentNode() && m_offset >= lastOffsetForEditing(deprecatedNode()) [all...] |
/external/chromium_org/third_party/WebKit/Source/core/html/ |
HTMLTextFormControlElement.cpp | 302 ASSERT(startPosition.deepEquivalent().deprecatedNode()->shadowHost() == this 303 && endPosition.deepEquivalent().deprecatedNode()->shadowHost() == this);
|
/external/chromium_org/third_party/WebKit/Source/core/accessibility/ |
AXObjectCache.cpp | 889 RenderObject* renderer = deepPos.deprecatedNode()->renderer(); 897 if (deepPos.deprecatedNode() != textMarkerData.node || deepPos.deprecatedEditingOffset() != textMarkerData.offset) 913 Node* domNode = deepPos.deprecatedNode();
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
RenderTreeAsText.cpp | 773 ts << "caret: position " << selection.start().deprecatedEditingOffset() << " of " << nodePosition(selection.start().deprecatedNode()); 778 ts << "selection start: position " << selection.start().deprecatedEditingOffset() << " of " << nodePosition(selection.start().deprecatedNode()) << "\n" 779 << "selection end: position " << selection.end().deprecatedEditingOffset() << " of " << nodePosition(selection.end().deprecatedNode()) << "\n"; [all...] |