Home | History | Annotate | Download | only in dom

Lines Matching refs:m_focusedElement

621     m_focusedElement = nullptr;
1865 if (m_focusedElement && !m_focusedElement->isFocusable())
1997 if (m_focusedElement && !m_focusedElement->isFocusable())
1998 m_focusedElement->blur();
2229 m_focusedElement = nullptr;
2418 ASSERT(!m_focusedElement);
3486 if (!m_focusedElement)
3492 bool contains = node->containsIncludingShadowDOM(m_focusedElement.get());
3493 if (contains && (m_focusedElement != node || !amongChildrenOnly))
3558 if (m_focusedElement == newFocusedElement)
3562 RefPtrWillBeRawPtr<Element> oldFocusedElement = m_focusedElement;
3563 m_focusedElement = nullptr;
3579 if (m_focusedElement) {
3590 if (m_focusedElement) {
3613 m_focusedElement = newFocusedElement;
3618 m_focusedElement->dispatchFocusEvent(oldFocusedElement.get(), type);
3621 if (m_focusedElement != newFocusedElement) {
3627 m_focusedElement->dispatchFocusInEvent(EventTypeNames::focusin, oldFocusedElement.get()); // DOM level 3 bubbling focus event.
3629 if (m_focusedElement != newFocusedElement) {
3637 m_focusedElement->dispatchFocusInEvent(EventTypeNames::DOMFocusIn, oldFocusedElement.get()); // DOM level 2 for compatibility.
3639 if (m_focusedElement
3646 m_focusedElement->setFocus(true);
3648 if (m_focusedElement->isRootEditableElement())
3649 frame()->spellChecker().didBeginEditing(m_focusedElement.get());
3654 Widget* focusWidget = widgetForElement(*m_focusedElement);
3661 focusWidget = widgetForElement(*m_focusedElement);
3670 if (!focusChangeBlocked && m_focusedElement) {
3677 frameHost()->chrome().focusedNodeChanged(m_focusedElement.get());
5827 visitor->trace(m_focusedElement);