Home
last modified time | relevance | path

Searched refs:rootEditableElement (Results 1 – 25 of 41) sorted by relevance

12

/external/chromium_org/third_party/WebKit/Source/core/editing/
DTextInsertionBaseCommand.cpp64 if (startNode->rootEditableElement()) { in dispatchBeforeTextInsertedEvent()
67 startNode->rootEditableElement()->dispatchEvent(evt, IGNORE_EXCEPTION); in dispatchBeforeTextInsertedEvent()
76 Element* element = selection.rootEditableElement(); in canAppendNewLineFeedToSelection()
Dhtmlediting.cpp145 return node->rootEditableElement(); in lowestEditableAncestor()
198 return node->rootEditableElement(editableType); in editableRootForPosition()
454 Element* rootEditableElement = pos.containerNode()->rootEditableElement(); in firstInSpecialElement() local
455 …for (Node* n = pos.deprecatedNode(); n && n->rootEditableElement() == rootEditableElement; n = n->… in firstInSpecialElement()
471 Element* rootEditableElement = pos.containerNode()->rootEditableElement(); in lastInSpecialElement() local
472 …for (Node* n = pos.deprecatedNode(); n && n->rootEditableElement() == rootEditableElement; n = n->… in lastInSpecialElement()
492 …esult.isNull() || result.deprecatedNode()->rootEditableElement() != pos.deprecatedNode()->rootEdit… in positionBeforeContainingSpecialElement()
505 …esult.isNull() || result.deprecatedNode()->rootEditableElement() != pos.deprecatedNode()->rootEdit… in positionAfterContainingSpecialElement()
646 Element* rootEditableElement = node ? node->rootEditableElement() : 0; in highestNodeToRemoveInPruning() local
649 …canHaveChildren() || hasARenderedDescendant(node, previousNode) || rootEditableElement == node || … in highestNodeToRemoveInPruning()
[all …]
DSpellCheckRequester.cpp51 , m_rootEditableElement(m_checkingRange->startContainer()->rootEditableElement()) in SpellCheckRequest()
222 continuation = request->rootEditableElement() == lastRequest->rootEditableElement() in enqueueRequest()
229 if (request->rootEditableElement() != (*it)->rootEditableElement()) in enqueueRequest()
DFormatBlockCommand.cpp117 Element* rootEditableElement = range->startContainer()->rootEditableElement(); in elementForFormatBlockCommand() local
118 if (!rootEditableElement || commonAncestor->contains(rootEditableElement)) in elementForFormatBlockCommand()
DInputMethodController.cpp320 Element* editable = frame().selection().rootEditableElement(); in setCompositionFromExistingText()
382 Element* rootEditableElement = frame().selection().rootEditableElement(); in setSelectionOffsets() local
383 if (!rootEditableElement) in setSelectionOffsets()
386 RefPtrWillBeRawPtr<Range> range = selectionOffsets.createRange(*rootEditableElement); in setSelectionOffsets()
DVisiblePosition.h89 …Element* rootEditableElement() const { return m_deepPosition.isNotNull() ? m_deepPosition.deprecat… in rootEditableElement() function
DDeleteSelectionCommand.cpp435 RefPtrWillBeRawPtr<Element> rootEditableElement = node->rootEditableElement(); in makeStylingElementsDirectChildrenOfEditableRootToPreventStyleLoss() local
436 if (rootEditableElement.get()) { in makeStylingElementsDirectChildrenOfEditableRootToPreventStyleLoss()
438 appendNode(node, rootEditableElement); in makeStylingElementsDirectChildrenOfEditableRootToPreventStyleLoss()
763 Element* rootElement = node->rootEditableElement(); in removeRedundantBlocks()
791 …Placeholder = downstreamEnd.containerNode() == downstreamEnd.containerNode()->rootEditableElement() in doApply()
792 …wnstreamEnd.containerNode()->parentNode() == downstreamEnd.containerNode()->rootEditableElement()); in doApply()
DFrameSelection.h93 Element* rootEditableElement() const { return m_selection.rootEditableElement(); } in rootEditableElement() function
DRemoveFormatCommand.cpp90 Element* root = frame->selection().rootEditableElement(); in doApply()
DCaret.h88 bool isContentEditable() const { return m_position.rootEditableElement(); } in isContentEditable()
DSpellCheckRequester.h52 PassRefPtrWillBeRawPtr<Element> rootEditableElement() const { return m_rootEditableElement; } in rootEditableElement() function
DEditor.cpp182 return frame().selection().rootEditableElement(); in canEdit()
248 return selection.isRange() && selection.rootEditableElement(); in canDelete()
265 …| previous.deepEquivalent().deprecatedNode()->rootEditableElement() != startContainer->rootEditabl… in canDeleteRange()
522 …spellChecker().chunkAndMarkAllMisspellingsAndBadGrammar(frame().selection().rootEditableElement()); in replaceSelectionWithFragment()
DInsertListCommand.cpp114 if (!endingSelection().rootEditableElement()) in doApply()
129 if (!endingSelection().rootEditableElement()) in doApply()
DVisibleSelection.h108 Element* rootEditableElement() const;
DReplaceSelectionCommand.cpp91 … PassRefPtrWillBeRawPtr<HTMLElement> insertFragmentForTestRendering(Element* rootEditableElement);
159 RefPtrWillBeRawPtr<Element> editableRoot = selection.rootEditableElement(); in ReplacementFragment()
259 …wPtr<HTMLElement> ReplacementFragment::insertFragmentForTestRendering(Element* rootEditableElement) in insertFragmentForTestRendering() argument
265 rootEditableElement->appendChild(holder.get()); in insertFragmentForTestRendering()
926 if (!selection.rootEditableElement()) in doApply()
954 Element* currentRoot = selection.rootEditableElement(); in doApply()
DCompositeEditCommand.cpp91 , m_startingRootEditableElement(startingSelection.rootEditableElement()) in EditCommandComposition()
92 , m_endingRootEditableElement(endingSelection.rootEditableElement()) in EditCommandComposition()
151 m_startingRootEditableElement = selection.rootEditableElement(); in setStartingSelection()
157 m_endingRootEditableElement = selection.rootEditableElement(); in setEndingSelection()
1300 || listNode == emptyListItem->rootEditableElement()) in breakOutOfEmptyListItem()
DVisibleSelection.cpp713 Element* editableElement = rootEditableElement(); in visiblePositionRespectingEditingBoundary()
743 Element* VisibleSelection::rootEditableElement() const in rootEditableElement() function in blink::VisibleSelection
/external/chromium_org/third_party/WebKit/Source/web/
DSpellCheckerClientImpl.cpp109 if (Element* rootEditableElement = frameSelection.rootEditableElement()) { in toggleContinuousSpellChecking() local
110 frame->spellChecker().didBeginEditing(rootEditableElement); in toggleContinuousSpellChecking()
DWebNode.cpp198 WebElement WebNode::rootEditableElement() const in rootEditableElement() function in blink::WebNode
200 return WebElement(m_private->rootEditableElement()); in rootEditableElement()
DWebRange.cpp109 Element* selectionRoot = webFrame->selection().rootEditableElement(); in fromDocumentRange()
/external/chromium_org/third_party/WebKit/Source/core/dom/
DPosition.h132 Element* rootEditableElement() const in rootEditableElement() function
135 return container ? container->rootEditableElement() : 0; in rootEditableElement()
DNode.h328 Element* rootEditableElement() const;
329 Element* rootEditableElement(EditableType) const;
/external/chromium_org/third_party/WebKit/Source/core/page/
DDragController.cpp487 RefPtrWillBeRawPtr<Element> rootEditableElement = innerFrame->selection().rootEditableElement(); in concludeEditDrag() local
529 if (rootEditableElement) { in concludeEditDrag()
530 if (LocalFrame* frame = rootEditableElement->document().frame()) in concludeEditDrag()
531 frame->eventHandler().updateDragStateAfterEditDragIfNeeded(rootEditableElement.get()); in concludeEditDrag()
DEventHandler.h121 void updateDragStateAfterEditDragIfNeeded(Element* rootEditableElement);
/external/chromium_org/third_party/WebKit/public/web/
DWebNode.h115 BLINK_EXPORT WebElement rootEditableElement() const;

12