mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-13 13:25:37 +00:00
Bug 393922 - "Remove nsIDownloadProgressListener::onStatusChange and nsIDownloadProgressListener::onLocationChange" [p=graememcc_firefox@graeme-online.co.uk (graememcc) r=sdwilsh a1.9=beltzner]
This commit is contained in:
parent
4b5c25405f
commit
83ad46db2c
@ -52,7 +52,7 @@ interface nsIURI;
|
|||||||
interface nsIDownload;
|
interface nsIDownload;
|
||||||
interface nsIDOMDocument;
|
interface nsIDOMDocument;
|
||||||
|
|
||||||
[scriptable, uuid(8b193f0a-cf0c-4b5f-b4e3-a388df6f07b2)]
|
[scriptable, uuid(7acb07ea-cac2-4c15-a3ad-23aaa789ed51)]
|
||||||
interface nsIDownloadProgressListener : nsISupports {
|
interface nsIDownloadProgressListener : nsISupports {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -85,17 +85,6 @@ interface nsIDownloadProgressListener : nsISupports {
|
|||||||
in long long aMaxTotalProgress,
|
in long long aMaxTotalProgress,
|
||||||
in nsIDownload aDownload);
|
in nsIDownload aDownload);
|
||||||
|
|
||||||
void onStatusChange(in nsIWebProgress aWebProgress,
|
|
||||||
in nsIRequest aRequest,
|
|
||||||
in nsresult aStatus,
|
|
||||||
in wstring aMessage,
|
|
||||||
in nsIDownload aDownload);
|
|
||||||
|
|
||||||
void onLocationChange(in nsIWebProgress aWebProgress,
|
|
||||||
in nsIRequest aRequest,
|
|
||||||
in nsIURI aLocation,
|
|
||||||
in nsIDownload aDownload);
|
|
||||||
|
|
||||||
void onSecurityChange(in nsIWebProgress aWebProgress,
|
void onSecurityChange(in nsIWebProgress aWebProgress,
|
||||||
in nsIRequest aRequest,
|
in nsIRequest aRequest,
|
||||||
in unsigned long aState,
|
in unsigned long aState,
|
||||||
|
@ -174,8 +174,6 @@ function getDownloadListener()
|
|||||||
},
|
},
|
||||||
onStateChange: function(a, b, c, d, e) { },
|
onStateChange: function(a, b, c, d, e) { },
|
||||||
onProgressChange: function(a, b, c, d, e, f, g) { },
|
onProgressChange: function(a, b, c, d, e, f, g) { },
|
||||||
onStatusChange: function(a, b, c, d, e) { },
|
|
||||||
onLocationChange: function(a, b, c, d) { },
|
|
||||||
onSecurityChange: function(a, b, c, d) { }
|
onSecurityChange: function(a, b, c, d) { }
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -85,8 +85,6 @@ function run_test()
|
|||||||
},
|
},
|
||||||
onStateChange: function(a, b, c, d, e) { },
|
onStateChange: function(a, b, c, d, e) { },
|
||||||
onProgressChange: function(a, b, c, d, e, f, g) { },
|
onProgressChange: function(a, b, c, d, e, f, g) { },
|
||||||
onStatusChange: function(a, b, c, d, e) { },
|
|
||||||
onLocationChange: function(a, b, c, d) { },
|
|
||||||
onSecurityChange: function(a, b, c, d) { }
|
onSecurityChange: function(a, b, c, d) { }
|
||||||
};
|
};
|
||||||
dm.addListener(listener);
|
dm.addListener(listener);
|
||||||
|
@ -105,8 +105,6 @@ function run_test()
|
|||||||
},
|
},
|
||||||
onStateChange: function(a, b, c, d, e) { },
|
onStateChange: function(a, b, c, d, e) { },
|
||||||
onProgressChange: function(a, b, c, d, e, f, g) { },
|
onProgressChange: function(a, b, c, d, e, f, g) { },
|
||||||
onStatusChange: function(a, b, c, d, e) { },
|
|
||||||
onLocationChange: function(a, b, c, d) { },
|
|
||||||
onSecurityChange: function(a, b, c, d) { }
|
onSecurityChange: function(a, b, c, d) { }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -142,8 +142,6 @@ function run_test()
|
|||||||
},
|
},
|
||||||
onStateChange: function(a, b, c, d, e) { },
|
onStateChange: function(a, b, c, d, e) { },
|
||||||
onProgressChange: function(a, b, c, d, e, f, g) { },
|
onProgressChange: function(a, b, c, d, e, f, g) { },
|
||||||
onStatusChange: function(a, b, c, d, e) { },
|
|
||||||
onLocationChange: function(a, b, c, d) { },
|
|
||||||
onSecurityChange: function(a, b, c, d) { }
|
onSecurityChange: function(a, b, c, d) { }
|
||||||
};
|
};
|
||||||
dm.addListener(listener);
|
dm.addListener(listener);
|
||||||
|
@ -139,8 +139,6 @@ function run_test()
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
onProgressChange: function(a, b, c, d, e, f, g) { },
|
onProgressChange: function(a, b, c, d, e, f, g) { },
|
||||||
onStatusChange: function(a, b, c, d, e) { },
|
|
||||||
onLocationChange: function(a, b, c, d) { },
|
|
||||||
onSecurityChange: function(a, b, c, d) { }
|
onSecurityChange: function(a, b, c, d) { }
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -132,14 +132,6 @@ DownloadProgressListener.prototype = {
|
|||||||
{
|
{
|
||||||
},
|
},
|
||||||
|
|
||||||
onLocationChange: function(aWebProgress, aRequest, aLocation, aDownload)
|
|
||||||
{
|
|
||||||
},
|
|
||||||
|
|
||||||
onStatusChange: function(aWebProgress, aRequest, aStatus, aMessage, aDownload)
|
|
||||||
{
|
|
||||||
},
|
|
||||||
|
|
||||||
onSecurityChange: function(aWebProgress, aRequest, aState, aDownload)
|
onSecurityChange: function(aWebProgress, aRequest, aState, aDownload)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user