Replace setNetworkActive and setWindowActive by just passing up the status in the new onStatusChange method.
git-svn-id: svn://10.0.0.236/trunk@66137 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -28,6 +28,8 @@
|
||||
* it's ui.
|
||||
*/
|
||||
|
||||
interface nsIChannel;
|
||||
|
||||
[scriptable, uuid(46B4015C-0121-11d4-9877-00C04FA0D27A)]
|
||||
interface nsIXULBrowserWindow : nsISupports
|
||||
{
|
||||
@@ -52,14 +54,10 @@ interface nsIXULBrowserWindow : nsISupports
|
||||
void setDefaultStatus(in wstring status);
|
||||
|
||||
/*
|
||||
Tells the browser window if there is network activity or not.
|
||||
Tells the browser window that there is a status change with the window.
|
||||
These status flags are specified in nsIWebProgress.
|
||||
*/
|
||||
void setNetworkActive(in boolean active);
|
||||
|
||||
/*
|
||||
Tells the browser window that there is activity in the window.
|
||||
*/
|
||||
void setWindowActive(in boolean active);
|
||||
void onStatusChange(in nsIChannel aChannel, in unsigned long aProgressStatusFlags);
|
||||
|
||||
/*
|
||||
Tells the browser window that the location of the window has changed.
|
||||
|
||||
@@ -28,6 +28,8 @@
|
||||
* it's ui.
|
||||
*/
|
||||
|
||||
interface nsIChannel;
|
||||
|
||||
[scriptable, uuid(46B4015C-0121-11d4-9877-00C04FA0D27A)]
|
||||
interface nsIXULBrowserWindow : nsISupports
|
||||
{
|
||||
@@ -52,14 +54,10 @@ interface nsIXULBrowserWindow : nsISupports
|
||||
void setDefaultStatus(in wstring status);
|
||||
|
||||
/*
|
||||
Tells the browser window if there is network activity or not.
|
||||
Tells the browser window that there is a status change with the window.
|
||||
These status flags are specified in nsIWebProgress.
|
||||
*/
|
||||
void setNetworkActive(in boolean active);
|
||||
|
||||
/*
|
||||
Tells the browser window that there is activity in the window.
|
||||
*/
|
||||
void setWindowActive(in boolean active);
|
||||
void onStatusChange(in nsIChannel aChannel, in unsigned long aProgressStatusFlags);
|
||||
|
||||
/*
|
||||
Tells the browser window that the location of the window has changed.
|
||||
|
||||
Reference in New Issue
Block a user