Beispiel #1
0
NS_IMETHODIMP WebBrowserChrome::DestroyBrowserWindow()
{
  LOGNI();
  if (mIsModal) {
    ExitModalEventLoop(NS_OK);
  }
  return NS_ERROR_NOT_IMPLEMENTED;
}
void
EmbedWindow::ReleaseChildren(void)
{
  ExitModalEventLoop(PR_FALSE);
    
  mBaseWindow->Destroy();
  mBaseWindow = 0;
  mWebBrowser = 0;
}
EmbedWindow::~EmbedWindow(void)
{
  ExitModalEventLoop(PR_FALSE);
}