mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-31 22:25:30 +00:00
Revised image loader API slightly
This commit is contained in:
parent
a5ddf1f970
commit
12ecea6824
@ -43,6 +43,8 @@ public:
|
||||
|
||||
nsIImage* GetImage();
|
||||
|
||||
nsresult SetURL(const nsString& aURLSpec);
|
||||
|
||||
nsresult LoadImage(nsIPresContext* aPresContext,
|
||||
nsIFrame* aForFrame,
|
||||
PRBool aNeedSizeUpdate,
|
||||
@ -57,6 +59,7 @@ protected:
|
||||
nsIFrameImageLoader* mImageLoader;
|
||||
PRPackedBool mLoadImageFailed;
|
||||
PRPackedBool mLoadBrokenImageFailed;
|
||||
nsString* mURLSpec;
|
||||
};
|
||||
|
||||
#endif /* nsHTMLImage_h___ */
|
||||
|
Loading…
Reference in New Issue
Block a user