fix for 70224 (need nsIWebBrowserChromeFocus for embedding). r=danm, sr=hyatt, a=asa

git-svn-id: svn://10.0.0.236/trunk@93048 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
dr%netscape.com
2001-04-25 02:04:56 +00:00
parent 1d256edf77
commit 12c40e3a0c
24 changed files with 210 additions and 35 deletions

View File

@@ -1191,7 +1191,8 @@ NS_IMETHODIMP nsWebBrowser::SetFocus()
}
NS_IMETHODIMP nsWebBrowser::FocusAvailable(nsIBaseWindow* aCurrentFocus,
PRBool* aTookFocus)
PRBool aForward,
PRBool* aTookFocus)
{
NS_ENSURE_ARG_POINTER(aTookFocus);
@@ -1205,7 +1206,8 @@ NS_IMETHODIMP nsWebBrowser::FocusAvailable(nsIBaseWindow* aCurrentFocus,
if(aCurrentFocus == NS_STATIC_CAST(nsIBaseWindow*, this))
{
if(nextCallWin)
return nextCallWin->FocusAvailable(aCurrentFocus, aTookFocus);
return nextCallWin->FocusAvailable(aCurrentFocus,
aForward, aTookFocus);
return NS_OK;
}