Home
last modified time | relevance | path

Searched refs:focusedNode (Results 1 – 25 of 49) sorted by relevance

12

/external/webkit/Source/WebCore/page/
DFocusController.cpp77 if (!focused && document->focusedNode()) in dispatchEventsOnWindowAndFocusedNode()
78 document->focusedNode()->dispatchBlurEvent(); in dispatchEventsOnWindowAndFocusedNode()
80 if (focused && document->focusedNode()) in dispatchEventsOnWindowAndFocusedNode()
81 document->focusedNode()->dispatchFocusEvent(); in dispatchEventsOnWindowAndFocusedNode()
208 Node* currentNode = document->focusedNode(); in advanceFocusInDocumentOrder()
265 if (node == document->focusedNode()) in advanceFocusInDocumentOrder()
364 Node* oldFocusedNode = oldDocument ? oldDocument->focusedNode() : 0; in setFocusedNode()
385 if (newDocument && newDocument->focusedNode() == node) { in setFocusedNode()
403 if (newDocument->focusedNode() == node) in setFocusedNode()
491 …Node* focusedNode = (focusedFrame() && focusedFrame()->document()) ? focusedFrame()->document()->f… in findFocusCandidateInContainer() local
[all …]
DEventHandler.cpp1038 node = m_frame->document()->focusedNode(); in scrollOverflow()
1059 node = m_frame->document()->focusedNode(); in logicalScrollOverflow()
2064 && n->isDescendantOf(m_frame->document()->focusedNode())) in dispatchMouseEvent()
2256 Node* focusedNode = doc->focusedNode(); in sendContextMenuEventForKey() local
2266 } else if (focusedNode) { in sendContextMenuEventForKey()
2267 RenderBoxModelObject* box = focusedNode->renderBoxModelObject(); in sendContextMenuEventForKey()
2283 Node* targetNode = doc->focusedNode(); in sendContextMenuEventForKey()
2417 Node* node = doc->focusedNode(); in eventTargetNodeForDocument()
3012 if (Node* node = d->focusedNode()) { in capsLockStateMayHaveChanged()
/external/webkit/Source/WebCore/dom/
DUserTypingGestureIndicator.cpp41 static RefPtr<Node>& focusedNode() in focusedNode() function
49 return focusedNode().get(); in focusedElementAtGestureStart()
54 , m_previousFocusedNode(focusedNode()) in UserTypingGestureIndicator()
57 focusedNode() = frame->document() ? frame->document()->focusedNode() : 0; in UserTypingGestureIndicator()
63 focusedNode() = m_previousFocusedNode; in ~UserTypingGestureIndicator()
DElement.cpp1007 if (isFocusable() && document()->focusedNode() == this) in attach()
1562 if (doc->focusedNode() == this) in focus()
1625 if (doc->focusedNode() == this) { in blur()
1716 if (document()->focusedNode() == this) in cancelFocusAppearanceUpdate()
/external/webkit/Source/WebCore/accessibility/chromium/
DAXObjectCacheChromium.cpp72 if (!obj->document()->focusedNode() || (obj->node() != obj->document()->focusedNode())) in postPlatformNotification()
77 handleFocusedUIElementChanged(0, obj->document()->focusedNode()->renderer()); in postPlatformNotification()
/external/webkit/Source/WebKit/chromium/src/
DWebViewImpl.cpp449 RefPtr<Node> focusedNode = focusedWebCoreNode(); in mouseDown() local
450 if (focusedNode.get() && toHTMLInputElement(focusedNode.get())) { in mouseDown()
451 if (hitNode == focusedNode) { in mouseDown()
455 clickedNode = focusedNode; in mouseDown()
630 Node* node = frame->document()->focusedNode(); in keyEvent()
1246 Node* focusedNode = focusedFrame->document()->focusedNode(); in setFocus() local
1247 if (focusedNode && focusedNode->isElementNode() in setFocus()
1252 Element* element = static_cast<Element*>(focusedNode); in setFocus()
1255 else if (focusedNode->isContentEditable()) { in setFocus()
1260 Position position(focusedNode, 0, in setFocus()
[all …]
DWebDocument.cpp124 WebNode WebDocument::focusedNode() const in focusedNode() function in WebKit::WebDocument
126 return WebNode(constUnwrap<Document>()->focusedNode()); in focusedNode()
/external/webkit/Source/WebCore/editing/gtk/
DSelectionControllerGtk.cpp87 RenderObject* focusedNode = m_selection.end().deprecatedNode()->renderer(); in notifyAccessibilityForSelectionChange() local
88 …bilityObject* accessibilityObject = m_frame->document()->axObjectCache()->getOrCreate(focusedNode); in notifyAccessibilityForSelectionChange()
/external/webkit/Source/WebCore/accessibility/
DAXObjectCache.cpp133 Node* focusedNode = focusedDocument->focusedNode(); in focusedUIElementForPage() local
134 if (!focusedNode) in focusedUIElementForPage()
135 focusedNode = focusedDocument; in focusedUIElementForPage()
137 if (focusedNode->hasTagName(areaTag)) in focusedUIElementForPage()
138 return focusedImageMapUIElement(static_cast<HTMLAreaElement*>(focusedNode)); in focusedUIElementForPage()
140 RenderObject* focusedNodeRenderer = focusedNode->renderer(); in focusedUIElementForPage()
/external/webkit/Source/WebCore/rendering/
DRenderImage.cpp347 Node* focusedNode = document->focusedNode(); in paintAreaElementFocusRing() local
348 if (!focusedNode || !focusedNode->hasTagName(areaTag)) in paintAreaElementFocusRing()
351 HTMLAreaElement* areaElement = static_cast<HTMLAreaElement*>(focusedNode); in paintAreaElementFocusRing()
DRenderListBox.cpp380 if (frame()->selection()->isFocusedAndActive() && document()->focusedNode() == node()) in paintItemForeground()
418 if (frame()->selection()->isFocusedAndActive() && document()->focusedNode() == node()) in paintItemBackground()
/external/webkit/Source/WebCore/history/
DCachedPage.cpp81 if (Node* node = focusedDocument->focusedNode()) { in restore()
/external/webkit/Source/WebKit/qt/WebCoreSupport/
DEditorClientQt.cpp652 if (frame && frame->document() && frame->document()->focusedNode()) in setInputMethodState()
653 if (frame->document()->focusedNode()->hasTagName(HTMLNames::inputTag)) in setInputMethodState()
654 inputElement = static_cast<HTMLInputElement*>(frame->document()->focusedNode()); in setInputMethodState()
/external/webkit/Source/WebCore/html/
DHTMLFormControlElement.cpp636 …&& (document()->focusedNode() != this || (renderer() && renderer()->theme()->shouldShowPlaceholder… in placeholderShouldBeVisible()
686 if (document()->focusedNode() != this && cachedSelectionStart() >= 0) in selectionStart()
697 if (document()->focusedNode() != this && cachedSelectionEnd() >= 0) in selectionEnd()
DRadioInputType.cpp126 Node* currentFocusedNode = element()->document()->focusedNode(); in isKeyboardFocusable()
DHTMLInputElement.cpp448 if (newType->isPasswordField() && document()->focusedNode() == this) in updateType()
508 if (document()->focusedNode() == this) in updateType()
711 if (document()->focusedNode() == this) in attach()
917 if (document()->focusedNode() == this) in setValue()
DHTMLTextAreaElement.cpp329 if (document()->focusedNode() == this) { in setValueCommon()
DHTMLDocument.cpp140 if (Node* node = focusedNode()) in activeElement()
/external/webkit/Source/WebKit/chromium/public/
DWebDocument.h81 WEBKIT_API WebNode focusedNode() const;
/external/webkit/Source/WebCore/editing/
DSelectionController.cpp1406 if (document->focusedNode() && document->focusedNode()->canSelectAll()) { in selectAll()
1407 document->focusedNode()->selectAll(); in selectAll()
1518 if (Node* node = m_frame->document()->focusedNode()) { in focusedOrActiveStateChanged()
1796 Node* start = m_frame->document()->focusedNode(); in currentForm()
DEditor.cpp1462 Node* focusedNode = frame()->document()->focusedNode(); in setBaseWritingDirection() local
1463 …if (focusedNode && (focusedNode->hasTagName(textareaTag) || (focusedNode->hasTagName(inputTag) && … in setBaseWritingDirection()
1466 …toHTMLElement(focusedNode)->setAttribute(dirAttr, direction == LeftToRightWritingDirection ? "ltr"… in setBaseWritingDirection()
1526 Node* target = m_frame->document()->focusedNode(); in confirmComposition()
1570 Node* target = m_frame->document()->focusedNode(); in setComposition()
DEditorCommand.cpp249 Node* focusedNode = frame->document()->focusedNode(); in verticalScrollDistance() local
250 if (!focusedNode) in verticalScrollDistance()
252 RenderObject* renderer = focusedNode->renderer(); in verticalScrollDistance()
258 …if (!(style->overflowY() == OSCROLL || style->overflowY() == OAUTO || focusedNode->rendererIsEdita… in verticalScrollDistance()
/external/webkit/Source/WebKit/haiku/WebCoreSupport/
DEditorClientHaiku.cpp246 if (!frame || !frame->document()->focusedNode()) in handleKeyboardEvent()
/external/webkit/Source/WebKit/qt/Api/
Dqwebpage.cpp682 oldNode = focusedDocument->focusedNode(); in mousePressEvent()
702 newNode = focusedDocument->focusedNode(); in mousePressEvent()
790 && frame->document()->focusedNode() in handleSoftwareInputPanel()
1444 if (frame->document() && frame->document()->focusedNode()) { in inputMethodQuery()
1445 if (frame->document()->focusedNode()->hasTagName(HTMLNames::inputTag)) { in inputMethodQuery()
1446 … HTMLInputElement* inputElement = static_cast<HTMLInputElement*>(frame->document()->focusedNode()); in inputMethodQuery()
3154 hasFocusedNode = document && document->focusedNode(); in focusNextPrevChild()
/external/webkit/Source/WebCore/wml/
DWMLInputElement.cpp157 if (document()->focusedNode() == this) in setValue()

12