From bf89759e57b350c79e6bf10a2e35cd2751dee873 Mon Sep 17 00:00:00 2001 From: "tbogard%aol.net" Date: Sun, 16 Apr 2000 11:19:03 +0000 Subject: [PATCH] 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 --- mozilla/xpfe/appshell/public/nsIXULBrowserWindow.idl | 12 +++++------- mozilla/xpfe/browser/public/nsIXULBrowserWindow.idl | 12 +++++------- 2 files changed, 10 insertions(+), 14 deletions(-) diff --git a/mozilla/xpfe/appshell/public/nsIXULBrowserWindow.idl b/mozilla/xpfe/appshell/public/nsIXULBrowserWindow.idl index 483625a1c98..bde17e8a7ae 100644 --- a/mozilla/xpfe/appshell/public/nsIXULBrowserWindow.idl +++ b/mozilla/xpfe/appshell/public/nsIXULBrowserWindow.idl @@ -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. diff --git a/mozilla/xpfe/browser/public/nsIXULBrowserWindow.idl b/mozilla/xpfe/browser/public/nsIXULBrowserWindow.idl index 483625a1c98..bde17e8a7ae 100644 --- a/mozilla/xpfe/browser/public/nsIXULBrowserWindow.idl +++ b/mozilla/xpfe/browser/public/nsIXULBrowserWindow.idl @@ -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.