Bug 250474 Change nsIWebPageDescriptor.LoadPage to nsIWebPageDescriptor.loadPage
r=jst sr=jst git-svn-id: svn://10.0.0.236/trunk@159212 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
be50586865
commit
c5ec8bc21d
@ -55,7 +55,7 @@ interface nsIWebPageDescriptor : nsISupports
|
||||
* @return NS_OK -
|
||||
* NS_ERROR_FAILURE -
|
||||
*/
|
||||
void LoadPage(in nsISupports aPageDescriptor, in unsigned long aDisplayType);
|
||||
void loadPage(in nsISupports aPageDescriptor, in unsigned long aDisplayType);
|
||||
|
||||
|
||||
/**
|
||||
|
||||
@ -136,7 +136,7 @@ function viewSource(url)
|
||||
// This allows the content to be fetched from the cache (if
|
||||
// possible) rather than the network...
|
||||
//
|
||||
PageLoader.LoadPage(arg, pageLoaderIface.DISPLAY_AS_SOURCE);
|
||||
PageLoader.loadPage(arg, pageLoaderIface.DISPLAY_AS_SOURCE);
|
||||
// The content was successfully loaded from the page cookie.
|
||||
loadFromURL = false;
|
||||
}
|
||||
@ -558,18 +558,18 @@ function highlightSyntax()
|
||||
gPrefs.setBoolPref("view_source.syntax_highlight", highlightSyntax);
|
||||
|
||||
var PageLoader = getBrowser().webNavigation.QueryInterface(pageLoaderIface);
|
||||
PageLoader.LoadPage(PageLoader.currentDescriptor, pageLoaderIface.DISPLAY_NORMAL);
|
||||
PageLoader.loadPage(PageLoader.currentDescriptor, pageLoaderIface.DISPLAY_NORMAL);
|
||||
}
|
||||
|
||||
// Fix for bug 136322: this function overrides the function in
|
||||
// browser.js to call PageLoader.LoadPage() instead of BrowserReloadWithFlags()
|
||||
// browser.js to call PageLoader.loadPage() instead of BrowserReloadWithFlags()
|
||||
function BrowserSetForcedCharacterSet(aCharset)
|
||||
{
|
||||
var docCharset = getBrowser().docShell.QueryInterface(
|
||||
Components.interfaces.nsIDocCharset);
|
||||
docCharset.charset = aCharset;
|
||||
var PageLoader = getBrowser().webNavigation.QueryInterface(pageLoaderIface);
|
||||
PageLoader.LoadPage(PageLoader.currentDescriptor, pageLoaderIface.DISPLAY_NORMAL);
|
||||
PageLoader.loadPage(PageLoader.currentDescriptor, pageLoaderIface.DISPLAY_NORMAL);
|
||||
}
|
||||
|
||||
function getMarkupDocumentViewer()
|
||||
|
||||
@ -152,7 +152,7 @@ function viewSource(url)
|
||||
// This allows the content to be fetched from the cache (if
|
||||
// possible) rather than the network...
|
||||
//
|
||||
PageLoader.LoadPage(arg, pageLoaderIface.DISPLAY_AS_SOURCE);
|
||||
PageLoader.loadPage(arg, pageLoaderIface.DISPLAY_AS_SOURCE);
|
||||
// The content was successfully loaded from the page cookie.
|
||||
loadFromURL = false;
|
||||
}
|
||||
@ -559,16 +559,16 @@ function highlightSyntax()
|
||||
gPrefs.setBoolPref("view_source.syntax_highlight", highlightSyntax);
|
||||
|
||||
var PageLoader = getBrowser().webNavigation.QueryInterface(pageLoaderIface);
|
||||
PageLoader.LoadPage(PageLoader.currentDescriptor, pageLoaderIface.DISPLAY_NORMAL);
|
||||
PageLoader.loadPage(PageLoader.currentDescriptor, pageLoaderIface.DISPLAY_NORMAL);
|
||||
}
|
||||
|
||||
// Fix for bug 136322: this function overrides the function in
|
||||
// browser.js to call PageLoader.LoadPage() instead of BrowserReloadWithFlags()
|
||||
// browser.js to call PageLoader.loadPage() instead of BrowserReloadWithFlags()
|
||||
function BrowserSetForcedCharacterSet(aCharset)
|
||||
{
|
||||
var docCharset = getBrowser().docShell.QueryInterface(
|
||||
Components.interfaces.nsIDocCharset);
|
||||
docCharset.charset = aCharset;
|
||||
var PageLoader = getBrowser().webNavigation.QueryInterface(pageLoaderIface);
|
||||
PageLoader.LoadPage(PageLoader.currentDescriptor, pageLoaderIface.DISPLAY_NORMAL);
|
||||
PageLoader.loadPage(PageLoader.currentDescriptor, pageLoaderIface.DISPLAY_NORMAL);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user