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.cpp109 bool InsertParagraphSeparatorCommand::shouldUseDefaultParagraphElement(Element* enclosingBlock) con… in shouldUseDefaultParagraphElement()
118 return enclosingBlock->hasTagName(h1Tag) || in shouldUseDefaultParagraphElement()
119 enclosingBlock->hasTagName(h2Tag) || in shouldUseDefaultParagraphElement()
120 enclosingBlock->hasTagName(h3Tag) || in shouldUseDefaultParagraphElement()
121 enclosingBlock->hasTagName(h4Tag) || in shouldUseDefaultParagraphElement()
122 enclosingBlock->hasTagName(h5Tag); in shouldUseDefaultParagraphElement()
169 …RefPtrWillBeRawPtr<Element> startBlock = enclosingBlock(insertionPosition.parentAnchoredEquivalent… in doApply()
DIndentOutdentCommand.cpp66 … RefPtrWillBeRawPtr<Element> selectedListItem = enclosingBlock(lastNodeInSelectedParagraph.get()); in tryIndentingAsListItem()
107 elementToSplitTo = enclosingBlock(start.containerNode()); in indentIntoBlockquote()
187 …if (Element* enclosingBlockFlow = enclosingBlock(visibleStartOfParagraph.deepEquivalent().deprecat… in outdentParagraph()
DReplaceSelectionCommand.cpp132 Element* enclosingBlockElement = enclosingBlock(pos.containerNode()); in positionAvoidingPrecedingNodes()
141 || enclosingBlock(nextPosition.containerNode()) != enclosingBlockElement in positionAvoidingPrecedingNodes()
472 Element* sourceBlock = enclosingBlock(sourceNode); in shouldMerge()
473 Element* destinationBlock = enclosingBlock(destinationNode); in shouldMerge()
914 Element* containingBlock = enclosingBlock(insertionPos.containerNode()); in elementToSplitToAvoidPastingIntoInlineElementsWithStyle()
949 …Element* enclosingBlockOfVisibleStart = enclosingBlock(visibleStart.deepEquivalent().deprecatedNod… in doApply()
1031 …RefPtrWillBeRawPtr<Element> enclosingBlockOfInsertionPos = enclosingBlock(insertionPos.deprecatedN… in doApply()
1111 Element* blockStart = enclosingBlock(insertionPos.deprecatedNode()); in doApply()
1229 …Element* enclosingBlockElement = enclosingBlock(endOfInsertedContent.deepEquivalent().deprecatedNo… in doApply()
DVisibleUnits.cpp1092 Element* startBlock = enclosingBlock(startNode); in startOfParagraph()
1169 Element* startBlock = enclosingBlock(startNode); in endOfParagraph()
1290 …Element* startBlock = position.containerNode() ? enclosingBlock(position.containerNode(), rule) : … in startOfBlock()
1297 … Element* endBlock = position.containerNode() ? enclosingBlock(position.containerNode(), rule) : 0; in endOfBlock()
1303 …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.h69 Element* enclosingBlock(Node*, EditingBoundaryCrossingRule = CannotCrossEditingBoundary);
DApplyStyleCommand.cpp274 …RefPtrWillBeRawPtr<Element> block = enclosingBlock(paragraphStart.deepEquivalent().deprecatedNode(… in applyBlockStyle()
463 Element* block = enclosingBlock(node); in splitAncestorsWithUnicodeBidi()
512 Element* block = enclosingBlock(node); in removeEmbeddingUpToEnclosingBlock()
661 …ddingStartElement = highestEmbeddingAncestor(start.deprecatedNode(), enclosingBlock(start.deprecat… in applyInlineStyle()
662 …embeddingEndElement = highestEmbeddingAncestor(end.deprecatedNode(), enclosingBlock(end.deprecated… in applyInlineStyle()
Dmarkup.cpp468 return ancestorToRetainStructureAndAppearanceForBlock(enclosingBlock(commonAncestor)); in ancestorToRetainStructureAndAppearance()
870 Element* block = enclosingBlock(context->firstNode()); in createFragmentFromText()
Dhtmlediting.cpp331 Element* enclosingBlock(Node* node, EditingBoundaryCrossingRule rule) in enclosingBlock() function
356 Element* enclosingBlockElement = enclosingBlock(position.containerNode()); in directionOfEnclosingBlock()
DCompositeEditCommand.cpp942 } else if (enclosingBlock(upstreamEnd.deprecatedNode()) != upstreamStart.deprecatedNode()) { in moveParagraphContentsToNewBlockIfNecessary()
DEditingStyle.cpp1355 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; }