Home
last modified time | relevance | path

Searched refs:focusedElement (Results 1 – 25 of 42) sorted by relevance

12

/external/chromium_org/third_party/WebKit/Source/core/page/
DFocusController.cpp147 if (!focused && document->focusedElement()) { in dispatchEventsOnWindowAndFocusedNode()
148 RefPtrWillBeRawPtr<Element> focusedElement(document->focusedElement()); in dispatchEventsOnWindowAndFocusedNode() local
149 focusedElement->setFocus(false); in dispatchEventsOnWindowAndFocusedNode()
150 focusedElement->dispatchBlurEvent(0); in dispatchEventsOnWindowAndFocusedNode()
151 if (focusedElement == document->focusedElement()) { in dispatchEventsOnWindowAndFocusedNode()
152 focusedElement->dispatchFocusOutEvent(EventTypeNames::focusout, 0); in dispatchEventsOnWindowAndFocusedNode()
153 if (focusedElement == document->focusedElement()) in dispatchEventsOnWindowAndFocusedNode()
154 focusedElement->dispatchFocusOutEvent(EventTypeNames::DOMFocusOut, 0); in dispatchEventsOnWindowAndFocusedNode()
160 if (focused && document->focusedElement()) { in dispatchEventsOnWindowAndFocusedNode()
161 RefPtrWillBeRawPtr<Element> focusedElement(document->focusedElement()); in dispatchEventsOnWindowAndFocusedNode() local
[all …]
DEventHandler.cpp895 node = m_frame->document()->focusedElement(); in scroll()
1905 && element->isDescendantOf(m_frame->document()->focusedElement())) in handleMouseFocus()
2745 Element* focusedElement = doc->focusedElement(); in sendContextMenuEventForKey() local
2758 } else if (focusedElement) { in sendContextMenuEventForKey()
2759 IntRect clippedRect = focusedElement->boundsInRootViewSpace(); in sendContextMenuEventForKey()
2773 Node* targetNode = doc->focusedElement(); in sendContextMenuEventForKey()
3448 if (Element* element = m_frame->document()->focusedElement()) { in capsLockStateMayHaveChanged()
/external/chromium_org/third_party/WebKit/Source/web/
DPopupMenuTest.cpp405 m_popupMenuClient.setFocusedNode(mainFrame()->frame()->document()->focusedElement()); in TEST_F()
449 m_popupMenuClient.setFocusedNode(mainFrame()->frame()->document()->focusedElement()); in TEST_F()
470 m_popupMenuClient.setFocusedNode(mainFrame()->frame()->document()->focusedElement()); in TEST_F()
491 m_popupMenuClient.setFocusedNode(mainFrame()->frame()->document()->focusedElement()); in TEST_F()
517 m_popupMenuClient.setFocusedNode(mainFrame()->frame()->document()->focusedElement()); in TEST_F()
540 m_popupMenuClient.setFocusedNode(mainFrame()->frame()->document()->focusedElement()); in TEST_F()
600 …TMLSelectElement* select = toHTMLSelectElement(mainFrame()->frame()->document()->focusedElement()); in TEST_F()
DWebDocument.cpp202 WebElement WebDocument::focusedElement() const in focusedElement() function in blink::WebDocument
204 return WebElement(constUnwrap<Document>()->focusedElement()); in focusedElement()
DSpellCheckerClientImpl.cpp67 const Element* element = document->focusedElement(); in shouldSpellcheckByDefault()
DWebViewImpl.cpp1011 Element* element = focusedElement(); in handleKeyEvent()
2111 Element* element = localFrame->document()->focusedElement(); in setFocus()
2315 Element* element = focusedElement(); in textInputType()
2375 Element* element = focusedElement(); in textInputFlags()
2410 Element* element = focusedElement(); in inputModeOfFocusedElement()
2493 Element* target = focusedFrame->document()->focusedElement(); in inputMethodContext()
2502 …inerImpl* container = WebLocalFrameImpl::pluginContainerFromNode(frame, WebNode(focusedElement())); in focusedPluginIfInputMethodSupported()
2770 RefPtrWillBeRawPtr<Element> oldFocusedElement = document->focusedElement(); in clearFocusedElement()
2790 Element* element = focusedElement(); in scrollFocusedNodeIntoRect()
3993 Element* WebViewImpl::focusedElement() const in focusedElement() function in blink::WebViewImpl
[all …]
/external/chromium_org/third_party/WebKit/Source/core/paint/
DImagePainter.cpp42 Element* focusedElement = document.focusedElement(); in paintAreaElementFocusRing() local
43 if (!isHTMLAreaElement(focusedElement)) in paintAreaElementFocusRing()
46 HTMLAreaElement& areaElement = toHTMLAreaElement(*focusedElement); in paintAreaElementFocusRing()
/external/chromium_org/third_party/WebKit/Source/core/accessibility/
DAXRenderObject.cpp532 Element* focusedElement = document.focusedElement(); in isFocused() local
533 if (!focusedElement) in isFocused()
538 if (focusedElement == m_renderer->node() in isFocused()
1661 if (!doc.frame()->selection().isFocusedAndActive() || doc.focusedElement() != element) in handleActiveDescendantChanged()
1909 AXObject* focusedElement = focusedUIElement(); in isTabItemSelected() local
1910 if (!focusedElement) in isTabItemSelected()
1925 AXObject* checkFocusElement = focusedElement; in isTabItemSelected()
DAXObjectCache.cpp168 Node* focusedNode = focusedDocument->focusedElement(); in focusedUIElementForPage()
997 && obj->document()->focusedElement() in postPlatformNotification()
998 && obj->node() == obj->document()->focusedElement()) { in postPlatformNotification()
1001 handleFocusedUIElementChanged(0, obj->document()->focusedElement()); in postPlatformNotification()
/external/chromium_org/third_party/WebKit/Source/core/html/ime/
DInputMethodContext.cpp93 const Element* element = frame->document()->focusedElement(); in hasFocus()
/external/chromium_org/content/renderer/accessibility/
Drenderer_accessibility_focus_only.cc58 HandleFocusedNodeChanged(document.focusedElement(), false); in DidFinishLoad()
/external/chromium_org/third_party/WebKit/Source/core/html/
DHTMLTextFormControlElement.cpp150 …&& (document().focusedElement() != this || (RenderTheme::theme().shouldShowPlaceholderWhenFocused(… in placeholderShouldBeVisible()
359 …eSelection || (selectionOption == ChangeSelectionIfFocused && document().focusedElement() != this)) in setSelectionRange()
418 if (document().focusedElement() != this) in selectionStart()
438 if (document().focusedElement() != this) in selectionEnd()
476 if (document().focusedElement() != this) in selectionDirection()
DHTMLInputElement.cpp464 if (document().focusedElement() == this) in updateType()
773 if (document().focusedElement() == this) in attach()
1028 if (document().focusedElement() == this) in setValueInternal()
DHTMLTextAreaElement.cpp345 if (document().focusedElement() == this) in setValue()
/external/chromium_org/chrome/renderer/autofill/
Dpage_click_tracker_browsertest.cc110 EXPECT_NE(text_, text_.document().focusedElement()); in TEST_F()
Dpassword_generation_agent_browsertest.cc174 EXPECT_EQ(element, document.focusedElement()); in TEST_F()
/external/chromium_org/third_party/WebKit/Source/core/editing/
DFrameSelection.cpp1370 if (isHTMLSelectElement(document->focusedElement())) { in selectAll()
1371 HTMLSelectElement* selectElement = toHTMLSelectElement(document->focusedElement()); in selectAll()
1486 if (Element* element = document->focusedElement()) in focusedOrActiveStateChanged()
1632 Element* focusedElement = root->document().focusedElement(); in shouldBlinkCaret() local
1633 if (!focusedElement) in shouldBlinkCaret()
1636 return focusedElement->containsIncludingShadowDOM(m_selection.start().anchorNode()); in shouldBlinkCaret()
1763 Node* start = m_frame->document()->focusedElement(); in currentForm()
DInputMethodController.cpp194 if (Element* target = frame().document()->focusedElement()) { in finishComposition()
241 if (Element* target = frame().document()->focusedElement()) { in setComposition()
DEditor.cpp998 Element* focusedElement = frame().document()->focusedElement(); in setBaseWritingDirection() local
999 if (isHTMLTextFormControlElement(focusedElement)) { in setBaseWritingDirection()
1002focusedElement->setAttribute(dirAttr, direction == LeftToRightWritingDirection ? "ltr" : "rtl"); in setBaseWritingDirection()
1003 focusedElement->dispatchInputEvent(); in setBaseWritingDirection()
DSpellChecker.cpp468 const Element* focusedElement = node->isElementNode() ? toElement(node) : node->parentElement(); in isSpellCheckingEnabledFor() local
469 if (!focusedElement) in isSpellCheckingEnabledFor()
471 return focusedElement->isSpellCheckingEnabled(); in isSpellCheckingEnabledFor()
DEditorCommand.cpp268 Element* focusedElement = frame.document()->focusedElement(); in verticalScrollDistance() local
269 if (!focusedElement) in verticalScrollDistance()
271 RenderObject* renderer = focusedElement->renderer(); in verticalScrollDistance()
278 …if (!(style->overflowY() == OSCROLL || style->overflowY() == OAUTO || focusedElement->hasEditableS… in verticalScrollDistance()
/external/chromium_org/third_party/WebKit/public/web/
DWebDocument.h109 BLINK_EXPORT WebElement focusedElement() const;
/external/chromium_org/third_party/WebKit/Source/core/rendering/
DRenderTextControlSingleLine.cpp257 …s::password && frame->selection().isFocusedAndActive() && document().focusedElement() == node() &&… in capsLockStateMayHaveChanged()
364 return document().focusedElement() != node() && style()->textOverflow() == TextOverflowEllipsis; in textShouldBeTruncated()
/external/chromium_org/third_party/WebKit/Source/core/html/forms/
DRadioInputType.cpp139 Element* currentFocusedElement = element().document().focusedElement(); in isKeyboardFocusable()
/external/chromium_org/third_party/WebKit/Source/core/html/shadow/
DMediaControls.cpp262 if (!ignoreFocus && (mediaElement().focused() || contains(document().focusedElement()))) in shouldHideMediaControls()

12