adding a blur method (0.9.4 branch). bug 57841 r=hyatt,rpotts a=valeski

git-svn-id: svn://10.0.0.236/branches/MOZILLA_0_9_4_BRANCH@109882 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
danm%netscape.com
2001-12-06 22:35:02 +00:00
parent 444bb65bdf
commit b1993962ad
3 changed files with 21 additions and 0 deletions

View File

@@ -1406,6 +1406,16 @@ nsDocShell::TabToTreeOwner(PRBool aForward, PRBool* aTookFocus)
return NS_OK;
}
NS_IMETHODIMP
nsDocShell::Blur()
{
nsCOMPtr<nsIEmbeddingSiteWindow> window = do_GetInterface(mTreeOwner);
if (window)
return window->Blur();
return NS_ERROR_FAILURE;
}
//*****************************************************************************
// nsDocShell::nsIDocShellTreeItem