Home
last modified time | relevance | path

Searched refs:enclosingBlock (Results 1 – 12 of 12) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/core/editing/
DInsertParagraphSeparatorCommand.cpp106 bool InsertParagraphSeparatorCommand::shouldUseDefaultParagraphElement(Node* enclosingBlock) const in shouldUseDefaultParagraphElement()
115 return enclosingBlock->hasTagName(h1Tag) || in shouldUseDefaultParagraphElement()
116 enclosingBlock->hasTagName(h2Tag) || in shouldUseDefaultParagraphElement()
117 enclosingBlock->hasTagName(h3Tag) || in shouldUseDefaultParagraphElement()
118 enclosingBlock->hasTagName(h4Tag) || in shouldUseDefaultParagraphElement()
119 enclosingBlock->hasTagName(h5Tag); in shouldUseDefaultParagraphElement()
166 …RefPtr<Element> startBlock = enclosingBlock(insertionPosition.parentAnchoredEquivalent().container… in doApply()
DIndentOutdentCommand.cpp62 RefPtr<Element> selectedListItem = enclosingBlock(lastNodeInSelectedParagraph.get()); in tryIndentingAsListItem()
103 nodeToSplitTo = enclosingBlock(start.containerNode()); in indentIntoBlockquote()
179 …Node* enclosingBlockFlow = enclosingBlock(visibleStartOfParagraph.deepEquivalent().deprecatedNode(… in outdentParagraph()
DReplaceSelectionCommand.cpp120 Node* enclosingBlockNode = enclosingBlock(pos.containerNode()); in positionAvoidingPrecedingNodes()
129 || enclosingBlock(nextPosition.containerNode()) != enclosingBlockNode in positionAvoidingPrecedingNodes()
450 Node* sourceBlock = enclosingBlock(sourceNode); in shouldMerge()
451 Node* destinationBlock = enclosingBlock(destinationNode); in shouldMerge()
879 Node* containgBlock = enclosingBlock(insertionPos.containerNode()); in nodeToSplitToAvoidPastingIntoInlineNodesWithStyle()
914 Node* startBlock = enclosingBlock(visibleStart.deepEquivalent().deprecatedNode()); in doApply()
996 RefPtr<Node> insertionBlock = enclosingBlock(insertionPos.deprecatedNode()); in doApply()
1076 Node* blockStart = enclosingBlock(insertionPos.deprecatedNode()); in doApply()
1194 … Node* enclosingNode = enclosingBlock(endOfInsertedContent.deepEquivalent().deprecatedNode()); in doApply()
DVisibleUnits.cpp1105 Node* startBlock = enclosingBlock(startNode); in startOfParagraph()
1182 Node* startBlock = enclosingBlock(startNode); in endOfParagraph()
1304 if (!position.containerNode() || !(startBlock = enclosingBlock(position.containerNode(), rule))) in startOfBlock()
1313 if (!position.containerNode() || !(endBlock = enclosingBlock(position.containerNode(), rule))) in endOfBlock()
1320 …return !a.isNull() && enclosingBlock(a.deepEquivalent().containerNode()) == enclosingBlock(b.deepE… in inSameBlock()
DDeleteSelectionCommand.cpp622 Element* endBlock = enclosingBlock(m_downstreamEnd.deprecatedNode()); in mergeParagraphs()
624 removeNode(enclosingBlock(m_downstreamEnd.deprecatedNode())); in mergeParagraphs()
629 …(!mergeDestination.deepEquivalent().deprecatedNode()->isDescendantOf(enclosingBlock(m_upstreamStar… in mergeParagraphs()
Dhtmlediting.h63 Element* enclosingBlock(Node*, EditingBoundaryCrossingRule = CannotCrossEditingBoundary);
DApplyStyleCommand.cpp268 RefPtr<Node> block = enclosingBlock(paragraphStart.deepEquivalent().deprecatedNode()); in applyBlockStyle()
446 Node* block = enclosingBlock(node); in splitAncestorsWithUnicodeBidi()
495 Node* block = enclosingBlock(node); in removeEmbeddingUpToEnclosingBlock()
646 …Node* embeddingStartNode = highestEmbeddingAncestor(start.deprecatedNode(), enclosingBlock(start.d… in applyInlineStyle()
647 …Node* embeddingEndNode = highestEmbeddingAncestor(end.deprecatedNode(), enclosingBlock(end.depreca… in applyInlineStyle()
Dhtmlediting.cpp325 Element* enclosingBlock(Node* node, EditingBoundaryCrossingRule rule) in enclosingBlock() function
333 Node* enclosingBlockNode = enclosingBlock(position.containerNode()); in directionOfEnclosingBlock()
Dmarkup.cpp449 return ancestorToRetainStructureAndAppearanceForBlock(enclosingBlock(commonAncestor)); in ancestorToRetainStructureAndAppearance()
847 Node* blockNode = enclosingBlock(context->firstNode()); in createFragmentFromText()
DCompositeEditCommand.cpp964 } else if (enclosingBlock(upstreamEnd.deprecatedNode()) != upstreamStart.deprecatedNode()) { in moveParagraphContentsToNewBlockIfNecessary()
967 …ASSERT(upstreamStart.deprecatedNode()->isDescendantOf(enclosingBlock(upstreamEnd.deprecatedNode())… in moveParagraphContentsToNewBlockIfNecessary()
DEditingStyle.cpp1328 Node* block = enclosingBlock(node); in textDirectionForSelection()
/external/antlr/antlr-3.4/tool/src/main/antlr3/org/antlr/grammar/v3/
DDefineGrammarItemsWalker.g579 GrammarAST enclosingBlock = currentRewriteBlock;
592 if ( enclosingBlock != null )
595 enclosingBlock.rewriteRefsDeep.add( item );
597 //currentRewriteBlock = enclosingBlock; // restore old BLOCK ptr
600 finally { currentRewriteBlock = enclosingBlock; }