Back to index

lightning-sunbird  0.9+nobinonly
Classes | Functions | Variables
nsGenConImageContent.cpp File Reference
#include "nsContentCreatorFunctions.h"
#include "nsXMLElement.h"
#include "nsImageLoadingContent.h"
#include "imgIRequest.h"

Go to the source code of this file.

Classes

class  nsGenConImageContent
 A fake content node class so that the image frame for p:before { content: url(foo.gif); } can have a content node that knows about image loading but can take an imgIRequest that's already been loaded from the style system. More...

Functions

 NS_IMPL_ISUPPORTS_INHERITED3 (nsGenConImageContent, nsXMLElement, nsIImageLoadingContent, imgIDecoderObserver, imgIDecoderObserver_MOZILLA_1_8_BRANCH) nsresult NS_NewGenConImageContent(nsIContent **aResult
 if (!it) return NS_ERROR_OUT_OF_MEMORY
 if (NS_FAILED(rv)) NS_RELEASE(*aResult)

Variables

nsINodeInfoaNodeInfo
nsINodeInfo imgIRequest
*aImageRequest
nsGenConImageContent
it = new nsGenConImageContent(aNodeInfo)
NS_ADDREFaResult
nsresult rv = it->Init(aImageRequest)

Function Documentation

if ( it)

Definition at line 669 of file mapi32.cpp.

  {
    return(MAPI_E_INSUFFICIENT_MEMORY);
  }
if ( NS_FAILED(rv )

Variable Documentation

Definition at line 78 of file nsGenConImageContent.cpp.

Definition at line 84 of file nsGenConImageContent.cpp.

Definition at line 81 of file nsGenConImageContent.cpp.

const char *aPath nsresult rv = it->Init(aImageRequest)

Definition at line 85 of file nsGenConImageContent.cpp.