/external/chromium_org/third_party/WebKit/Source/core/page/ |
D | FocusController.cpp | 147 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 …]
|
D | EventHandler.cpp | 895 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/ |
D | PopupMenuTest.cpp | 405 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()
|
D | WebDocument.cpp | 202 WebElement WebDocument::focusedElement() const in focusedElement() function in blink::WebDocument 204 return WebElement(constUnwrap<Document>()->focusedElement()); in focusedElement()
|
D | SpellCheckerClientImpl.cpp | 67 const Element* element = document->focusedElement(); in shouldSpellcheckByDefault()
|
D | WebViewImpl.cpp | 1011 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/ |
D | ImagePainter.cpp | 42 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/ |
D | AXRenderObject.cpp | 532 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()
|
D | AXObjectCache.cpp | 168 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/ |
D | InputMethodContext.cpp | 93 const Element* element = frame->document()->focusedElement(); in hasFocus()
|
/external/chromium_org/content/renderer/accessibility/ |
D | renderer_accessibility_focus_only.cc | 58 HandleFocusedNodeChanged(document.focusedElement(), false); in DidFinishLoad()
|
/external/chromium_org/third_party/WebKit/Source/core/html/ |
D | HTMLTextFormControlElement.cpp | 150 …&& (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()
|
D | HTMLInputElement.cpp | 464 if (document().focusedElement() == this) in updateType() 773 if (document().focusedElement() == this) in attach() 1028 if (document().focusedElement() == this) in setValueInternal()
|
D | HTMLTextAreaElement.cpp | 345 if (document().focusedElement() == this) in setValue()
|
/external/chromium_org/chrome/renderer/autofill/ |
D | page_click_tracker_browsertest.cc | 110 EXPECT_NE(text_, text_.document().focusedElement()); in TEST_F()
|
D | password_generation_agent_browsertest.cc | 174 EXPECT_EQ(element, document.focusedElement()); in TEST_F()
|
/external/chromium_org/third_party/WebKit/Source/core/editing/ |
D | FrameSelection.cpp | 1370 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()
|
D | InputMethodController.cpp | 194 if (Element* target = frame().document()->focusedElement()) { in finishComposition() 241 if (Element* target = frame().document()->focusedElement()) { in setComposition()
|
D | Editor.cpp | 998 Element* focusedElement = frame().document()->focusedElement(); in setBaseWritingDirection() local 999 if (isHTMLTextFormControlElement(focusedElement)) { in setBaseWritingDirection() 1002 … focusedElement->setAttribute(dirAttr, direction == LeftToRightWritingDirection ? "ltr" : "rtl"); in setBaseWritingDirection() 1003 focusedElement->dispatchInputEvent(); in setBaseWritingDirection()
|
D | SpellChecker.cpp | 468 const Element* focusedElement = node->isElementNode() ? toElement(node) : node->parentElement(); in isSpellCheckingEnabledFor() local 469 if (!focusedElement) in isSpellCheckingEnabledFor() 471 return focusedElement->isSpellCheckingEnabled(); in isSpellCheckingEnabledFor()
|
D | EditorCommand.cpp | 268 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/ |
D | WebDocument.h | 109 BLINK_EXPORT WebElement focusedElement() const;
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
D | RenderTextControlSingleLine.cpp | 257 …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/ |
D | RadioInputType.cpp | 139 Element* currentFocusedElement = element().document().focusedElement(); in isKeyboardFocusable()
|
/external/chromium_org/third_party/WebKit/Source/core/html/shadow/ |
D | MediaControls.cpp | 262 if (!ignoreFocus && (mediaElement().focused() || contains(document().focusedElement()))) in shouldHideMediaControls()
|