Home
last modified time | relevance | path

Searched refs:oldFocusedNode (Results 1 – 3 of 3) sorted by relevance

/external/webkit/Source/WebCore/page/
DFocusController.cpp364 Node* oldFocusedNode = oldDocument ? oldDocument->focusedNode() : 0; in setFocusedNode() local
365 if (oldFocusedNode == node) in setFocusedNode()
369 …if (oldFocusedNode && oldFocusedNode->rootEditableElement() == oldFocusedNode && !relinquishesEdit… in setFocusedNode()
/external/webkit/Source/WebCore/dom/
DDocument.cpp3222 RefPtr<Node> oldFocusedNode = m_focusedNode; in setFocusedNode() local
3226 if (oldFocusedNode && !oldFocusedNode->inDetach()) { in setFocusedNode()
3227 if (oldFocusedNode->active()) in setFocusedNode()
3228 oldFocusedNode->setActive(false); in setFocusedNode()
3230 oldFocusedNode->setFocus(false); in setFocusedNode()
3233 if (oldFocusedNode->isElementNode()) { in setFocusedNode()
3234 Element* element = static_cast<Element*>(oldFocusedNode.get()); in setFocusedNode()
3240 oldFocusedNode->dispatchBlurEvent(); in setFocusedNode()
3248oldFocusedNode->dispatchUIEvent(eventNames().focusoutEvent, 0, 0); // DOM level 3 name for the bub… in setFocusedNode()
3251oldFocusedNode->dispatchUIEvent(eventNames().DOMFocusOutEvent, 0, 0); // DOM level 2 name for comp… in setFocusedNode()
[all …]
/external/webkit/Source/WebKit/chromium/src/
DWebViewImpl.cpp1634 RefPtr<Node> oldFocusedNode = document->focusedNode(); in clearFocusedNode() local
1639 if (!oldFocusedNode.get()) in clearFocusedNode()
1646 if (oldFocusedNode->hasTagName(HTMLNames::textareaTag) in clearFocusedNode()
1647 || (oldFocusedNode->hasTagName(HTMLNames::inputTag) in clearFocusedNode()
1648 && static_cast<HTMLInputElement*>(oldFocusedNode.get())->isTextField())) { in clearFocusedNode()