bug #46856 (r=valeski, sr=darin). API Changes to nsIWebProgress/nsIWebProgressListener)
This commit is contained in:
Родитель
c28f6593b8
Коммит
775231718a
|
@ -51,8 +51,8 @@ EmbedProgress::Init(EmbedPrivate *aOwner)
|
||||||
NS_IMETHODIMP
|
NS_IMETHODIMP
|
||||||
EmbedProgress::OnStateChange(nsIWebProgress *aWebProgress,
|
EmbedProgress::OnStateChange(nsIWebProgress *aWebProgress,
|
||||||
nsIRequest *aRequest,
|
nsIRequest *aRequest,
|
||||||
PRInt32 aStateFlags,
|
PRUint32 aStateFlags,
|
||||||
PRUint32 aStatus)
|
nsresult aStatus)
|
||||||
{
|
{
|
||||||
// give the widget a chance to attach any listeners
|
// give the widget a chance to attach any listeners
|
||||||
mOwner->ContentStateChange();
|
mOwner->ContentStateChange();
|
||||||
|
@ -162,7 +162,7 @@ EmbedProgress::OnStatusChange(nsIWebProgress *aWebProgress,
|
||||||
NS_IMETHODIMP
|
NS_IMETHODIMP
|
||||||
EmbedProgress::OnSecurityChange(nsIWebProgress *aWebProgress,
|
EmbedProgress::OnSecurityChange(nsIWebProgress *aWebProgress,
|
||||||
nsIRequest *aRequest,
|
nsIRequest *aRequest,
|
||||||
PRInt32 aState)
|
PRUint32 aState)
|
||||||
{
|
{
|
||||||
gtk_signal_emit(GTK_OBJECT(mOwner->mOwningWidget),
|
gtk_signal_emit(GTK_OBJECT(mOwner->mOwningWidget),
|
||||||
moz_embed_signals[SECURITY_CHANGE],
|
moz_embed_signals[SECURITY_CHANGE],
|
||||||
|
|
Загрузка…
Ссылка в новой задаче