void WebFrameLoaderClient::dispatchDidReceiveTitle(const String& title) { WebView* webView = m_webFrame->webView(); COMPtr<IWebFrameLoadDelegate> frameLoadDelegate; if (SUCCEEDED(webView->frameLoadDelegate(&frameLoadDelegate))) frameLoadDelegate->didReceiveTitle(webView, BString(title), m_webFrame); }
void WebFrameLoaderClient::dispatchDidReceiveTitle(const StringWithDirection& title) { WebView* webView = m_webFrame->webView(); COMPtr<IWebFrameLoadDelegate> frameLoadDelegate; if (SUCCEEDED(webView->frameLoadDelegate(&frameLoadDelegate))) // FIXME: use direction of title. frameLoadDelegate->didReceiveTitle(webView, BString(title.string()), m_webFrame); }