• bdakin's avatar
    WebCore: · 9e83eb71
    bdakin authored
            Reviewed by John.
    
            Fix for <rdar://problem/4914258> REGRESSION: Search in Google now 
            operates on the current WebView instead of invoking Safari's 
            service
    
            * page/ContextMenuClient.h: New call to the client to search in 
            google.
            * page/ContextMenuController.cpp:
            (WebCore::ContextMenuController::contextMenuItemSelected): Call 
            into the client instead of forming a new url string and loading it.
            * platform/graphics/svg/SVGImageEmptyClients.h:
            (WebCore::SVGEmptyContextMenuClient::searchWithGoogle): New call.
    
    WebKit:
            Reviewed by John.
    
            Fix for <rdar://problem/4914258> REGRESSION: Search in Google now 
            operates on the current WebView instead of invoking Safari's 
            service
    
            * WebCoreSupport/WebContextMenuClient.h:
            * WebCoreSupport/WebContextMenuClient.mm:
            (WebContextMenuClient::searchWithGoogle): Call into WebView to 
            search in Google.
            * WebView/WebViewInternal.h: Make _searchWithGoogleFromMenu 
            available.
    
    
    git-svn-id: svn://svn.chromium.org/blink/trunk@18748 bbb929c8-8fbe-4397-9dbb-9b2b20218538
    9e83eb71
ChangeLog 200 KB