bug #94205 (r=adamlock@netscape.com, sr=jst@netscape.com) nsIWebNavigation interface changes...
git-svn-id: svn://10.0.0.236/trunk@109390 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -707,14 +707,17 @@ void CBrowserView::OnFileSaveAs()
|
||||
|
||||
void CBrowserView::OpenURL(const char* pUrl)
|
||||
{
|
||||
if(mWebNav)
|
||||
mWebNav->LoadURI(NS_ConvertASCIItoUCS2(pUrl).get(), nsIWebNavigation::LOAD_FLAGS_NONE);
|
||||
OpenURL(NS_ConvertASCIItoUCS2(pUrl).get());
|
||||
}
|
||||
|
||||
void CBrowserView::OpenURL(const PRUnichar* pUrl)
|
||||
{
|
||||
if(mWebNav)
|
||||
mWebNav->LoadURI(pUrl, nsIWebNavigation::LOAD_FLAGS_NONE);
|
||||
mWebNav->LoadURI(pUrl, // URI string
|
||||
nsIWebNavigation::LOAD_FLAGS_NONE, // Load flags
|
||||
nsnull, // Refering URI
|
||||
nsnull, // Post data
|
||||
nsnull); // Headers stream
|
||||
}
|
||||
|
||||
CBrowserFrame* CBrowserView::CreateNewBrowserFrame(PRUint32 chromeMask,
|
||||
|
||||
Reference in New Issue
Block a user