mBounds.SetRect(x, y, cx, cy); return nsDocShell::SetPositionAndSize(x, y, cx, cy, fRepaint);
PRInt32 borderWidth  = 0; PRInt32 borderHeight = 0; if (nsnull != mWindow) { mWindow->GetBorderSize(borderWidth, borderHeight);   mWindow->Resize(x, y, cx, cy, fRepaint); }  mBounds.SetRect(x,y,cx,cy);    if (nsnull != mContentViewer) { nsRect rr(0, 0, cx-(borderWidth*2), cy-(borderHeight*2)); mContentViewer->SetBounds(rr); } return NS_OK;
NS_IMETHODIMP nsWebShell::SetPositionAndSize(PRInt32 x, PRInt32 y, PRInt32 cx,   PRInt32 cy, PRBool fRepaint){   mBounds.SetRect(x, y, cx, cy);   return nsDocShell::SetPositionAndSize(x, y, cx, cy, fRepaint);   }