Skip to content
  • levin@chromium.org's avatar
    Notify the chrome when the focused node has changed. · ec60442a
    levin@chromium.org authored
    https://bugs.webkit.org/show_bug.cgi?id=30832
    
    Patch by Evan Stade <estade@chromium.org> on 2009-10-30
    Reviewed by David Levin.
    
    WebCore:
    
    This is similar to AX code that is already in place, except that this also informs the
    chrome when there stops being a focused node. This is needed for a browser to show the
    anchor for links that have keyboard focus.
    
    * dom/Document.cpp:
    (WebCore::Document::setFocusedNode):
    * loader/EmptyClients.h:
    (WebCore::EmptyChromeClient::focusedNodeChanged):
    * page/Chrome.cpp:
    (WebCore::Chrome::focusedNodeChanged):
    * page/Chrome.h:
    * page/ChromeClient.h:
    
    WebKit/gtk:
    
    Added stub implementation for new ChromeClient function.
    
    * WebCoreSupport/ChromeClientGtk.cpp:
    (WebKit::ChromeClient::focusedNodeChanged):
    * WebCoreSupport/ChromeClientGtk.h:
    
    WebKit/haiku:
    
    Added stub implementation for new ChromeClient function.
    
    * WebCoreSupport/ChromeClientHaiku.cpp:
    (WebCore::ChromeClientHaiku::focusedNodeChanged):
    * WebCoreSupport/ChromeClientHaiku.h:
    
    WebKit/mac:
    
    Added stub implementation for new ChromeClient function.
    
    * WebCoreSupport/WebChromeClient.h:
    * WebCoreSupport/WebChromeClient.mm:
    (WebChromeClient::focusedNodeChanged):
    
    WebKit/qt:
    
    Added stub implementation for new ChromeClient function.
    
    * WebCoreSupport/ChromeClientQt.cpp:
    (WebCore::ChromeClientQt::focusedNodeChanged):
    * WebCoreSupport/ChromeClientQt.h:
    
    WebKit/win:
    
    Added stub implementation for new ChromeClient function.
    
    * WebCoreSupport/WebChromeClient.cpp:
    (WebChromeClient::focusedNodeChanged):
    * WebCoreSupport/WebChromeClient.h:
    
    WebKit/wx:
    
    Added stub implementation for new ChromeClient function.
    
    * WebKitSupport/ChromeClientWx.cpp:
    (WebCore::ChromeClientWx::focusedNodeChanged):
    * WebKitSupport/ChromeClientWx.h:
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@50351 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    ec60442a