nsCOMPtr<nsIWebBrowserChrome> browserChrome(do_GetInterface(mTreeOwner));
if (!mOverURL.Equals(aURLSpec) || !mOverTarget.Equals(aTargetSpec)) { #ifdef NOISY_LINKS fputs("Was '", stdout); fputs(mOverURL, stdout); fputs("' '", stdout); fputs(mOverTarget, stdout); fputs("'\n", stdout); fputs("Over link '", stdout); fputs(aURLSpec, stdout); fputs("' '", stdout); fputs(aTargetSpec, stdout); fputs("'\n", stdout); #endif
nsWebShell::OnOverLink(nsIContent* aContent,                       const PRUnichar* aURLSpec,                       const PRUnichar* aTargetSpec){    nsCOMPtr<nsIWebBrowserChrome> browserChrome(do_GetInterface(mTreeOwner));   if(browserChrome)      browserChrome->SetStatus(nsIWebBrowserChrome::STATUS_LINK, aURLSpec);   return NS_OK;}