Comment only checkin, omitted by mistake from bug 182259

This commit is contained in:
smontagu%netscape.com 2002-12-06 00:50:50 +00:00
parent d34f0cb1c4
commit 85a90890a6
2 changed files with 13 additions and 0 deletions

View File

@ -160,12 +160,18 @@ PrintContext::SetPageDim(nsRect* aPageDim)
return NS_OK;
}
/**
* Ignore any attempt to set an animation mode for printed images
*/
NS_IMETHODIMP
PrintContext::SetImageAnimationMode(PRUint16 aMode)
{
return NS_OK;
}
/**
* Printed images are never animated: always return kDontAnimMode
*/
NS_IMETHODIMP
PrintContext::GetImageAnimationMode(PRUint16* aModeResult)
{

View File

@ -161,12 +161,19 @@ PrintPreviewContext::SetPageDim(nsRect* aPageDim)
return NS_OK;
}
/**
* Ignore any attempt to set an animation mode for images in print
* preview
*/
NS_IMETHODIMP
PrintPreviewContext::SetImageAnimationMode(PRUint16 aMode)
{
return NS_OK;
}
/**
* Images in print preview are never animated: always return kDontAnimMode
*/
NS_IMETHODIMP
PrintPreviewContext::GetImageAnimationMode(PRUint16* aModeResult)
{