зеркало из https://github.com/mozilla/pjs.git
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:
Родитель
d447e11aec
Коммит
93010a8529
|
@ -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)
|
||||
{
|
||||
|
|
Загрузка…
Ссылка в новой задаче