WebBrowserChromeUI::ShowWindow(chrome, PR_TRUE);
nsresult OpenWebPage(const char *url){    nsresult  rv;    // Create the chrome object. Note that it leaves this function    // with an extra reference so that it can released correctly during    // destruction (via Win32UI::Destroy)    nsIWebBrowserChrome *chrome = nsnull;    rv = AppCallbacks::CreateBrowserWindow(nsIWebBrowserChrome::CHROME_ALL,           nsnull, &chrome);    if (NS_SUCCEEDED(rv))    {        // Start loading a page        nsCOMPtr<nsIWebBrowser> newBrowser;        chrome->GetWebBrowser(getter_AddRefs(newBrowser));        nsCOMPtr<nsIWebNavigation> webNav(do_QueryInterface(newBrowser));        return webNav->LoadURI(NS_ConvertASCIItoUCS2(url).GetUnicode(),            nsIWebNavigation::LOAD_FLAGS_NONE);    }    return rv;}   