Home
last modified time | relevance | path

Searched refs:rendererIsEditable (Results 1 – 25 of 49) sorted by relevance

12

/external/chromium_org/third_party/WebKit/Source/core/editing/
DAppendNodeCommand.cpp43 ASSERT(m_parent->rendererIsEditable() || !m_parent->inActiveDocument()); in AppendNodeCommand()
48 if (!m_parent->rendererIsEditable() && m_parent->inActiveDocument()) in doApply()
56 if (!m_parent->rendererIsEditable()) in doUnapply()
DSplitTextNodeCommand.cpp56 if (!parent || !parent->rendererIsEditable()) in doApply()
72 if (!m_text1 || !m_text1->rendererIsEditable()) in doUnapply()
91 if (!parent || !parent->rendererIsEditable()) in doReapply()
DMergeIdenticalElementsCommand.cpp47 …nt1->nextSibling() != m_element2 || !m_element1->rendererIsEditable() || !m_element2->rendererIsEd… in doApply()
71 if (!parent || !parent->rendererIsEditable()) in doUnapply()
DSplitElementCommand.cpp59 if (!parent || !parent->rendererIsEditable()) in executeApply()
82 if (!m_element1 || !m_element1->rendererIsEditable() || !m_element2->rendererIsEditable()) in doUnapply()
DInsertIntoTextNodeCommand.cpp54 if (!m_node->rendererIsEditable()) in doApply()
68 if (!m_node->rendererIsEditable()) in doUnapply()
DWrapContentsInDummySpanCommand.cpp66 if (!m_dummySpan || !m_element->rendererIsEditable()) in doUnapply()
84 if (!m_dummySpan || !m_element->rendererIsEditable()) in doReapply()
DFormatBlockCommand.cpp157 if (!n->rendererIsEditable()) in enclosingBlockToSplitTreeTo()
159 …|| n->hasTagName(bodyTag) || !n->parentNode() || !n->parentNode()->rendererIsEditable() || isEleme… in enclosingBlockToSplitTreeTo()
164 return n->parentNode()->rendererIsEditable() ? n->parentNode() : n; in enclosingBlockToSplitTreeTo()
Dhtmlediting.cpp129 if (node->rendererIsEditable(editableType)) in highestEditableRoot()
142 if (node->rendererIsEditable()) in lowestEditableAncestor()
165 return node->rendererIsEditable(editableType); in isEditablePosition()
262 …rePositions(position, firstPositionInNode(highestRoot)) == -1 && highestRoot->rendererIsEditable()) in firstEditablePositionAfterPositionInRoot()
554 if (root && !n->rendererIsEditable()) in enclosingNodeWithTag()
576 if (root && !n->rendererIsEditable()) in enclosingNodeOfType()
592 if (root && !n->rendererIsEditable()) in highestEnclosingNodeOfType()
748 … && firstList->rendererIsEditable() && secondList->rendererIsEditable() // both lists are editable in canMergeLists()
DVisibleUnits.cpp54 bool editable = node->rendererIsEditable(editableType); in previousLeafWithSameEditability()
57 if (editable == node->rendererIsEditable(editableType)) in previousLeafWithSameEditability()
69 bool editable = node->rendererIsEditable(editableType); in nextLeafWithSameEditability()
72 if (editable == node->rendererIsEditable(editableType)) in nextLeafWithSameEditability()
976 …Element* rootElement = node->rendererIsEditable(editableType) ? node->rootEditableElement(editable… in previousLinePosition()
1034 …Element* rootElement = node->rendererIsEditable(editableType) ? node->rootEditableElement(editable… in nextLinePosition()
1113 bool startNodeIsEditable = startNode->rendererIsEditable(); in startOfParagraph()
1115 …notCrossEditingBoundary && !Position::nodeIsUserSelectAll(n) && n->rendererIsEditable() != startNo… in startOfParagraph()
1118 while (n && n->rendererIsEditable() != startNodeIsEditable) in startOfParagraph()
1191 bool startNodeIsEditable = startNode->rendererIsEditable(); in endOfParagraph()
[all …]
DSplitTextNodeContainingElementCommand.cpp51 if (!parent || !parent->parentElement() || !parent->parentElement()->rendererIsEditable()) in doApply()
DDeleteFromTextNodeCommand.cpp66 if (!m_node->rendererIsEditable()) in doUnapply()
DInsertNodeBeforeCommand.cpp46 …ASSERT(m_refChild->parentNode()->rendererIsEditable() || !m_refChild->parentNode()->inActiveDocume… in InsertNodeBeforeCommand()
DRemoveNodeCommand.cpp62 if (!parent || !parent->rendererIsEditable()) in doUnapply()
DIndentOutdentCommand.cpp133 …if (!enclosingNode || !enclosingNode->parentNode()->rendererIsEditable()) // We can't outdent if t… in outdentParagraph()
164 …&& splitPointParent->parentNode()->rendererIsEditable()) // We can't outdent if there is no place … in outdentParagraph()
DFrameSelection.h86 bool rendererIsEditable() const { return m_selection.rendererIsEditable(); } in rendererIsEditable() function
DVisibleSelection.h102 bool rendererIsEditable() const;
DApplyStyleCommand.cpp707 if (!node.rendererIsEditable()) in containsNonEditableRegion()
712 if (!descendent->rendererIsEditable()) in containsNonEditableRegion()
753 if (!node->renderer() || !node->rendererIsEditable()) in applyInlineStyleToNodeRange()
777 …astEndNode.get()) || containsNonEditableRegion(*node) || !node->parentNode()->rendererIsEditable()) in applyInlineStyleToNodeRange()
1359 if (nextSibling && nextSibling->isElementNode() && nextSibling->rendererIsEditable() in surroundNodeRangeWithElement()
1363 …if (previousSibling && previousSibling->isElementNode() && previousSibling->rendererIsEditable()) { in surroundNodeRangeWithElement()
1365 if (mergedElement->isElementNode() && mergedElement->rendererIsEditable() in surroundNodeRangeWithElement()
/external/chromium_org/third_party/WebKit/Source/core/dom/
DPosition.cpp61 if (!node->rendererIsEditable()) in nextRenderedEditable()
75 if (!node->rendererIsEditable()) in previousRenderedEditable()
414 …itionForNode() && nextPosition.isNotNull() && !nextPosition.deprecatedNode()->rendererIsEditable()) in atEditingBoundary()
418 …itionForNode() && prevPosition.isNotNull() && !prevPosition.deprecatedNode()->rendererIsEditable()) in atEditingBoundary()
421 return nextPosition.isNotNull() && !nextPosition.deprecatedNode()->rendererIsEditable() in atEditingBoundary()
422 && prevPosition.isNotNull() && !prevPosition.deprecatedNode()->rendererIsEditable(); in atEditingBoundary()
435 …hadowBoundaryParentNode() && m_anchorNode->rendererIsEditable() == boundary->parentNode()->rendere… in parentEditingBoundary()
594 bool startEditable = startNode->rendererIsEditable(); in upstream()
604 bool currentEditable = currentNode->rendererIsEditable(); in upstream()
717 bool startEditable = startNode->rendererIsEditable(); in downstream()
[all …]
DPositionIterator.cpp166 …return m_anchorNode->rendererIsEditable() && !Position::nodeIsUserSelectNone(m_anchorNode) && Posi… in isCandidate()
DNode.h427 …bool rendererIsEditable(EditableType editableType = ContentIsEditable, UserSelectAllTreatment trea…
431 return rendererIsEditable(Editable, treatment);
443 return rendererIsEditable(RichlyEditable, UserSelectAllIsAlwaysNonEditable);
829 …bool rendererIsEditable(EditableLevel, UserSelectAllTreatment = UserSelectAllIsAlwaysNonEditable) …
DNode.cpp541 return rendererIsEditable(Editable, treatment); in isContentEditable()
547 return rendererIsEditable(RichlyEditable, UserSelectAllIsAlwaysNonEditable); in isContentRichlyEditable()
550 bool Node::rendererIsEditable(EditableLevel editableLevel, UserSelectAllTreatment treatment) const in rendererIsEditable() function in WebCore::Node
583 if (rendererIsEditable(editableLevel)) in isEditableToAccessibility()
1186 if (rendererIsEditable()) in canStartSelection()
1291 …return rendererIsEditable() && isElementNode() && (!parentNode() || !parentNode()->rendererIsEdita… in isRootEditableElement()
1308 for (Node* n = const_cast<Node*>(this); n && n->rendererIsEditable(); n = n->parentNode()) { in rootEditableElement()
/external/chromium_org/third_party/WebKit/Source/core/html/
DHTMLAnchorElement.cpp137 if (rendererIsEditable()) in supportsFocus()
214 if (rendererIsEditable()) { in defaultEventHandler()
234 if (rendererIsEditable()) { in setActive()
311 return rendererIsEditable(); in canStartSelection()
452 if (!rendererIsEditable()) in treatLinkAsLiveForEventType()
/external/chromium_org/third_party/WebKit/Source/core/rendering/
DRenderButton.h42 …virtual bool canBeSelectionLeaf() const OVERRIDE { return node() && node()->rendererIsEditable(); } in canBeSelectionLeaf()
DRenderTextFragment.h42 …virtual bool canBeSelectionLeaf() const OVERRIDE { return node() && node()->rendererIsEditable(); } in canBeSelectionLeaf()
/external/chromium_org/third_party/WebKit/Source/core/svg/
DSVGAElement.cpp195 if (rendererIsEditable()) in supportsFocus()

12