focusedElement 1490 Source/core/accessibility/AXNodeObject.cpp if (document->focusedElement() == node) focusedElement 166 Source/core/accessibility/AXObjectCache.cpp Node* focusedNode = focusedDocument->focusedElement(); focusedElement 1029 Source/core/accessibility/AXObjectCache.cpp && obj->document()->focusedElement() focusedElement 1030 Source/core/accessibility/AXObjectCache.cpp && obj->node() == obj->document()->focusedElement()) { focusedElement 1033 Source/core/accessibility/AXObjectCache.cpp handleFocusedUIElementChanged(0, obj->document()->focusedElement()); focusedElement 528 Source/core/accessibility/AXRenderObject.cpp Element* focusedElement = document.focusedElement(); focusedElement 529 Source/core/accessibility/AXRenderObject.cpp if (!focusedElement) focusedElement 534 Source/core/accessibility/AXRenderObject.cpp if (focusedElement == m_renderer->node() focusedElement 1656 Source/core/accessibility/AXRenderObject.cpp if (!doc.frame()->selection().isFocusedAndActive() || doc.focusedElement() != element) focusedElement 1900 Source/core/accessibility/AXRenderObject.cpp AXObject* focusedElement = focusedUIElement(); focusedElement 1901 Source/core/accessibility/AXRenderObject.cpp if (!focusedElement) focusedElement 1916 Source/core/accessibility/AXRenderObject.cpp AXObject* checkFocusElement = focusedElement; focusedElement 296 Source/core/dom/Document.cpp static Widget* widgetForElement(const Element& focusedElement) focusedElement 298 Source/core/dom/Document.cpp RenderObject* renderer = focusedElement.renderer(); focusedElement 2568 Source/core/dom/Document.cpp Element* currentFocusedElement = focusedElement(); focusedElement 4734 Source/core/dom/Document.cpp Element* element = focusedElement(); focusedElement 5125 Source/core/dom/Document.cpp Node* node = doc->focusedElement(); focusedElement 632 Source/core/dom/Document.h Element* focusedElement() const { return m_focusedElement.get(); } focusedElement 1399 Source/core/dom/Element.cpp if (isFocusable() && document().focusedElement() == this) focusedElement 2126 Source/core/dom/Element.cpp if (doc.focusedElement() == this) focusedElement 2543 Source/core/dom/Element.cpp if (document().focusedElement() == this) focusedElement 347 Source/core/dom/TreeScope.cpp Element* element = document.focusedElement(); focusedElement 955 Source/core/editing/Editor.cpp Element* focusedElement = frame().document()->focusedElement(); focusedElement 956 Source/core/editing/Editor.cpp if (isHTMLTextFormControlElement(focusedElement)) { focusedElement 959 Source/core/editing/Editor.cpp focusedElement->setAttribute(dirAttr, direction == LeftToRightWritingDirection ? "ltr" : "rtl"); focusedElement 960 Source/core/editing/Editor.cpp focusedElement->dispatchInputEvent(); focusedElement 251 Source/core/editing/EditorCommand.cpp Element* focusedElement = frame.document()->focusedElement(); focusedElement 252 Source/core/editing/EditorCommand.cpp if (!focusedElement) focusedElement 254 Source/core/editing/EditorCommand.cpp RenderObject* renderer = focusedElement->renderer(); focusedElement 260 Source/core/editing/EditorCommand.cpp if (!(style->overflowY() == OSCROLL || style->overflowY() == OAUTO || focusedElement->rendererIsEditable())) focusedElement 1365 Source/core/editing/FrameSelection.cpp if (isHTMLSelectElement(document->focusedElement())) { focusedElement 1366 Source/core/editing/FrameSelection.cpp HTMLSelectElement* selectElement = toHTMLSelectElement(document->focusedElement()); focusedElement 1477 Source/core/editing/FrameSelection.cpp if (Element* element = document->focusedElement()) focusedElement 1620 Source/core/editing/FrameSelection.cpp Element* focusedElement = root->document().focusedElement(); focusedElement 1621 Source/core/editing/FrameSelection.cpp if (!focusedElement) focusedElement 1624 Source/core/editing/FrameSelection.cpp return focusedElement->containsIncludingShadowDOM(m_selection.start().anchorNode()); focusedElement 1754 Source/core/editing/FrameSelection.cpp Node* start = m_frame->document()->focusedElement(); focusedElement 194 Source/core/editing/InputMethodController.cpp if (Element* target = m_frame.document()->focusedElement()) { focusedElement 241 Source/core/editing/InputMethodController.cpp if (Element* target = m_frame.document()->focusedElement()) { focusedElement 423 Source/core/editing/SpellChecker.cpp const Element* focusedElement = node->isElementNode() ? toElement(node) : node->parentElement(); focusedElement 424 Source/core/editing/SpellChecker.cpp if (!focusedElement) focusedElement 426 Source/core/editing/SpellChecker.cpp return focusedElement->isSpellCheckingEnabled(); focusedElement 467 Source/core/html/HTMLInputElement.cpp if (document().focusedElement() == this) focusedElement 781 Source/core/html/HTMLInputElement.cpp if (document().focusedElement() == this) focusedElement 377 Source/core/html/HTMLTextAreaElement.cpp if (document().focusedElement() == this) { focusedElement 144 Source/core/html/HTMLTextFormControlElement.cpp && (document().focusedElement() != this || (RenderTheme::theme().shouldShowPlaceholderWhenFocused())) focusedElement 338 Source/core/html/HTMLTextFormControlElement.cpp if (document().focusedElement() != this && hasCachedSelection()) focusedElement 358 Source/core/html/HTMLTextFormControlElement.cpp if (document().focusedElement() != this && hasCachedSelection()) focusedElement 396 Source/core/html/HTMLTextFormControlElement.cpp if (document().focusedElement() != this && hasCachedSelection()) focusedElement 2360 Source/core/html/canvas/CanvasRenderingContext2D.cpp if (element->document().focusedElement() == element) focusedElement 151 Source/core/html/forms/BaseMultipleFieldsDateAndTimeInputType.cpp return element().userAgentShadowRoot()->contains(element().document().focusedElement()); focusedElement 130 Source/core/html/forms/RadioInputType.cpp Element* currentFocusedElement = element().document().focusedElement(); focusedElement 359 Source/core/html/forms/TextFieldInputType.cpp if (element().document().focusedElement() == element()) focusedElement 92 Source/core/html/ime/InputMethodContext.cpp const Element* element = frame->document()->focusedElement(); focusedElement 576 Source/core/html/shadow/DateTimeEditElement.cpp Element* const focusedFieldElement = document().focusedElement(); focusedElement 956 Source/core/page/EventHandler.cpp node = m_frame->document()->focusedElement(); focusedElement 2084 Source/core/page/EventHandler.cpp && element->isDescendantOf(m_frame->document()->focusedElement())) focusedElement 2833 Source/core/page/EventHandler.cpp Element* focusedElement = doc->focusedElement(); focusedElement 2846 Source/core/page/EventHandler.cpp } else if (focusedElement) { focusedElement 2847 Source/core/page/EventHandler.cpp RenderBoxModelObject* box = focusedElement->renderBoxModelObject(); focusedElement 2864 Source/core/page/EventHandler.cpp Node* targetNode = doc->focusedElement(); focusedElement 3519 Source/core/page/EventHandler.cpp if (Element* element = m_frame->document()->focusedElement()) { focusedElement 145 Source/core/page/FocusController.cpp if (!focused && document->focusedElement()) { focusedElement 146 Source/core/page/FocusController.cpp RefPtr<Element> focusedElement(document->focusedElement()); focusedElement 147 Source/core/page/FocusController.cpp focusedElement->setFocus(false); focusedElement 148 Source/core/page/FocusController.cpp focusedElement->dispatchBlurEvent(0); focusedElement 149 Source/core/page/FocusController.cpp if (focusedElement == document->focusedElement()) { focusedElement 150 Source/core/page/FocusController.cpp focusedElement->dispatchFocusOutEvent(EventTypeNames::focusout, 0); focusedElement 151 Source/core/page/FocusController.cpp if (focusedElement == document->focusedElement()) focusedElement 152 Source/core/page/FocusController.cpp focusedElement->dispatchFocusOutEvent(EventTypeNames::DOMFocusOut, 0); focusedElement 158 Source/core/page/FocusController.cpp if (focused && document->focusedElement()) { focusedElement 159 Source/core/page/FocusController.cpp RefPtr<Element> focusedElement(document->focusedElement()); focusedElement 160 Source/core/page/FocusController.cpp focusedElement->setFocus(true); focusedElement 161 Source/core/page/FocusController.cpp focusedElement->dispatchFocusEvent(0, FocusTypePage); focusedElement 162 Source/core/page/FocusController.cpp if (focusedElement == document->focusedElement()) { focusedElement 163 Source/core/page/FocusController.cpp document->focusedElement()->dispatchFocusInEvent(EventTypeNames::focusin, 0); focusedElement 164 Source/core/page/FocusController.cpp if (focusedElement == document->focusedElement()) focusedElement 165 Source/core/page/FocusController.cpp document->focusedElement()->dispatchFocusInEvent(EventTypeNames::DOMFocusIn, 0); focusedElement 352 Source/core/page/FocusController.cpp Node* currentNode = document->focusedElement(); focusedElement 382 Source/core/page/FocusController.cpp if (node == document->focusedElement()) focusedElement 639 Source/core/page/FocusController.cpp Element* oldFocusedElement = oldDocument ? oldDocument->focusedElement() : 0; focusedElement 655 Source/core/page/FocusController.cpp if (newDocument && oldDocument == newDocument && newDocument->focusedElement() == element) focusedElement 783 Source/core/page/FocusController.cpp Element* focusedElement = (focusedFrame() && focusedFrame()->document()) ? focusedFrame()->document()->focusedElement() : 0; focusedElement 788 Source/core/page/FocusController.cpp current.focusableNode = focusedElement; focusedElement 789 Source/core/page/FocusController.cpp current.visibleNode = focusedElement; focusedElement 794 Source/core/page/FocusController.cpp if (element == focusedElement) focusedElement 842 Source/core/page/FocusController.cpp Element* focusedElement = focusedOrMainFrame()->document()->focusedElement(); focusedElement 843 Source/core/page/FocusController.cpp if (focusedElement && !hasOffscreenRect(focusedElement)) focusedElement 844 Source/core/page/FocusController.cpp rect = nodeRectInAbsoluteCoordinates(focusedElement, true /* ignore border */); focusedElement 860 Source/core/page/FocusController.cpp Element* focusedElement = focusedOrMainFrame()->document()->focusedElement(); focusedElement 861 Source/core/page/FocusController.cpp if (focusedElement && !hasOffscreenRect(focusedElement)) focusedElement 862 Source/core/page/FocusController.cpp startingRect = nodeRectInAbsoluteCoordinates(focusedElement, true); focusedElement 891 Source/core/page/FocusController.cpp Element* focusedElement = focusedDocument->focusedElement(); focusedElement 899 Source/core/page/FocusController.cpp if (focusedElement) { focusedElement 900 Source/core/page/FocusController.cpp if (!hasOffscreenRect(focusedElement)) { focusedElement 901 Source/core/page/FocusController.cpp container = scrollableEnclosingBoxOrParentFrameForNodeInDirection(type, focusedElement); focusedElement 902 Source/core/page/FocusController.cpp startingRect = nodeRectInAbsoluteCoordinates(focusedElement, true /* ignore border */); focusedElement 903 Source/core/page/FocusController.cpp } else if (isHTMLAreaElement(*focusedElement)) { focusedElement 904 Source/core/page/FocusController.cpp HTMLAreaElement& area = toHTMLAreaElement(*focusedElement); focusedElement 410 Source/core/rendering/RenderImage.cpp Element* focusedElement = document.focusedElement(); focusedElement 411 Source/core/rendering/RenderImage.cpp if (!isHTMLAreaElement(focusedElement)) focusedElement 414 Source/core/rendering/RenderImage.cpp HTMLAreaElement& areaElement = toHTMLAreaElement(*focusedElement); focusedElement 430 Source/core/rendering/RenderListBox.cpp if (frame()->selection().isFocusedAndActive() && document().focusedElement() == node()) focusedElement 464 Source/core/rendering/RenderListBox.cpp if (frame()->selection().isFocusedAndActive() && document().focusedElement() == node()) focusedElement 274 Source/core/rendering/RenderTextControlSingleLine.cpp shouldDrawCapsLockIndicator = inputElement()->isPasswordField() && frame->selection().isFocusedAndActive() && document().focusedElement() == node() && PlatformKeyboardEvent::currentCapsLockState(); focusedElement 386 Source/core/rendering/RenderTextControlSingleLine.cpp return document().focusedElement() != node() && style()->textOverflow() == TextOverflowEllipsis; focusedElement 742 Source/core/rendering/RenderTheme.cpp return node == document.focusedElement() && node->shouldHaveFocusAppearance() && frame && frame->selection().isFocusedAndActive(); focusedElement 217 Source/web/PopupContainer.cpp listBox()->m_focusedElement = m_frameView->frame().document()->focusedElement(); focusedElement 69 Source/web/SpellCheckerClientImpl.cpp const Element* element = document->focusedElement(); focusedElement 201 Source/web/WebDocument.cpp return WebElement(constUnwrap<Document>()->focusedElement()); focusedElement 1377 Source/web/WebFrameImpl.cpp WebPluginContainerImpl* container = WebFrameImpl::pluginContainerFromNode(frame(), WebNode(frame()->document()->focusedElement())); focusedElement 939 Source/web/WebViewImpl.cpp Element* element = focusedElement(); focusedElement 1878 Source/web/WebViewImpl.cpp Element* element = localFrame->document()->focusedElement(); focusedElement 2074 Source/web/WebViewImpl.cpp Element* element = focusedElement(); focusedElement 2136 Source/web/WebViewImpl.cpp Element* element = focusedElement(); focusedElement 2204 Source/web/WebViewImpl.cpp Element* target = focusedFrame->document()->focusedElement(); focusedElement 2213 Source/web/WebViewImpl.cpp WebPluginContainerImpl* container = WebFrameImpl::pluginContainerFromNode(frame, WebNode(focusedElement())); focusedElement 2463 Source/web/WebViewImpl.cpp RefPtr<Element> oldFocusedElement = document->focusedElement(); focusedElement 2481 Source/web/WebViewImpl.cpp if (Element* element = focusedElement()) focusedElement 2488 Source/web/WebViewImpl.cpp Element* element = focusedElement(); focusedElement 3574 Source/web/WebViewImpl.cpp return document->focusedElement(); focusedElement 316 Source/web/WebViewImpl.h WebCore::Element* focusedElement() const; focusedElement 410 Source/web/tests/PopupMenuTest.cpp m_popupMenuClient.setFocusedNode(mainFrame()->frame()->document()->focusedElement()); focusedElement 455 Source/web/tests/PopupMenuTest.cpp m_popupMenuClient.setFocusedNode(mainFrame()->frame()->document()->focusedElement()); focusedElement 477 Source/web/tests/PopupMenuTest.cpp m_popupMenuClient.setFocusedNode(mainFrame()->frame()->document()->focusedElement()); focusedElement 499 Source/web/tests/PopupMenuTest.cpp m_popupMenuClient.setFocusedNode(mainFrame()->frame()->document()->focusedElement()); focusedElement 2621 Source/web/tests/WebFrameTest.cpp webViewHelper.webViewImpl()->computeScaleAndScrollForFocusedNode(webViewHelper.webViewImpl()->focusedElement(), scale, scroll, needAnimation); focusedElement 2636 Source/web/tests/WebFrameTest.cpp webViewHelper.webViewImpl()->computeScaleAndScrollForFocusedNode(webViewHelper.webViewImpl()->focusedElement(), scale, scroll, needAnimation); focusedElement 2647 Source/web/tests/WebFrameTest.cpp webViewHelper.webViewImpl()->computeScaleAndScrollForFocusedNode(webViewHelper.webViewImpl()->focusedElement(), scale, scroll, needAnimation); focusedElement 2660 Source/web/tests/WebFrameTest.cpp webViewHelper.webViewImpl()->computeScaleAndScrollForFocusedNode(webViewHelper.webViewImpl()->focusedElement(), scale, scroll, needAnimation); focusedElement 2797 Source/web/tests/WebFrameTest.cpp EXPECT_EQ(0, webViewHelper.webViewImpl()->focusedElement()); focusedElement 2998 Source/web/tests/WebFrameTest.cpp EXPECT_TRUE(frame->document().focusedElement().isNull()); focusedElement 3008 Source/web/tests/WebFrameTest.cpp EXPECT_EQ(WebString::fromUTF8("INPUT"), frame->document().focusedElement().tagName()); focusedElement 3018 Source/web/tests/WebFrameTest.cpp EXPECT_EQ(WebString::fromUTF8("TEXTAREA"), frame->document().focusedElement().tagName()); focusedElement 3029 Source/web/tests/WebFrameTest.cpp EXPECT_EQ(WebString::fromUTF8("DIV"), frame->document().focusedElement().tagName()); focusedElement 110 public/web/WebDocument.h BLINK_EXPORT WebElement focusedElement() const;