Needs to return back the appropriate flags for loading images, naming making them come fromthe cache

Bug 150072 r=dcone sr=kin
This commit is contained in:
rods%netscape.com 2002-06-12 18:04:48 +00:00
Родитель d447e11aec
Коммит 93010a8529
1 изменённых файлов: 8 добавлений и 0 удалений

Просмотреть файл

@ -55,6 +55,7 @@ public:
// another class. Only the base class should use NS_DECL_ISUPPORTS
NS_DECL_ISUPPORTS_INHERITED
NS_IMETHOD GetImageLoadFlags(nsLoadFlags& aLoadFlags);
NS_IMETHOD GetMedium(nsIAtom** aMedium);
NS_IMETHOD IsPaginated(PRBool* aResult);
NS_IMETHOD SetPaginatedScrolling(PRBool aResult) { mCanPaginatedScroll = aResult; return NS_OK; }
@ -112,6 +113,13 @@ PrintPreviewContext::GetMedium(nsIAtom** aResult)
return NS_OK;
}
NS_IMETHODIMP
PrintPreviewContext::GetImageLoadFlags(nsLoadFlags& aLoadFlags)
{
aLoadFlags = nsIRequest::LOAD_FROM_CACHE | nsIRequest::VALIDATE_NEVER | nsIRequest::LOAD_NORMAL;
return NS_OK;
}
NS_IMETHODIMP
PrintPreviewContext::IsPaginated(PRBool* aResult)
{