webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
WebCore::ImageLoader Class Referenceabstract

#include <ImageLoader.h>

Inheritance diagram for WebCore::ImageLoader:
WebCore::CachedImageClient WebCore::CachedImageClient WebCore::CachedResourceClient WebCore::CachedResourceClient WebCore::CachedResourceClient WebCore::CachedResourceClient WebCore::HTMLImageLoader WebCore::HTMLImageLoader WebCore::SVGImageLoader

Public Member Functions

virtual ~ImageLoader ()
 
void updateFromElement ()
 
void updateFromElementIgnoringPreviousError ()
 
void elementDidMoveToNewDocument ()
 
Elementelement ()
 
const Elementelement () const
 
bool imageComplete () const
 
CachedImageimage () const
 
void clearImage ()
 
void setLoadManually (bool loadManually)
 
bool hasPendingBeforeLoadEvent () const
 
bool hasPendingActivity () const
 
void dispatchPendingEvent (ImageEventSender *)
 
virtual ~ImageLoader ()
 
void updateFromElement ()
 
void updateFromElementIgnoringPreviousError ()
 
void elementDidMoveToNewDocument ()
 
Elementelement ()
 
const Elementelement () const
 
bool imageComplete () const
 
CachedImageimage () const
 
void clearImage ()
 
void setLoadManually (bool loadManually)
 
bool hasPendingBeforeLoadEvent () const
 
bool hasPendingActivity () const
 
void dispatchPendingEvent (ImageEventSender *)
 
- Public Member Functions inherited from WebCore::CachedImageClient
virtual ~CachedImageClient ()
 
CachedResourceClientType resourceClientType () const override
 
virtual void imageChanged (CachedImage *, const IntRect *=nullptr)
 
virtual void newImageAnimationFrameAvailable (CachedImage &image)
 
virtual ~CachedImageClient ()
 
CachedResourceClientType resourceClientType () const override
 
virtual void imageChanged (CachedImage *, const IntRect *=nullptr)
 
virtual void newImageAnimationFrameAvailable (CachedImage &image)
 
- Public Member Functions inherited from WebCore::CachedResourceClient
virtual ~CachedResourceClient ()
 
virtual void deprecatedDidReceiveCachedResource (CachedResource &)
 
virtual bool isXMLHttpRequest () const
 
virtual ~CachedResourceClient ()
 
virtual void deprecatedDidReceiveCachedResource (CachedResource &)
 
virtual bool isXMLHttpRequest () const
 

Static Public Member Functions

static void dispatchPendingBeforeLoadEvents ()
 
static void dispatchPendingLoadEvents ()
 
static void dispatchPendingErrorEvents ()
 
static void dispatchPendingBeforeLoadEvents ()
 
static void dispatchPendingLoadEvents ()
 
static void dispatchPendingErrorEvents ()
 
- Static Public Member Functions inherited from WebCore::CachedImageClient
static CachedResourceClientType expectedType ()
 
static CachedResourceClientType expectedType ()
 
- Static Public Member Functions inherited from WebCore::CachedResourceClient
static CachedResourceClientType expectedType ()
 
static CachedResourceClientType expectedType ()
 

Protected Member Functions

 ImageLoader (Element &)
 
void notifyFinished (CachedResource &) override
 
 ImageLoader (Element &)
 
void notifyFinished (CachedResource &) override
 
- Protected Member Functions inherited from WebCore::CachedResourceClient
 CachedResourceClient ()
 
 CachedResourceClient ()
 

Additional Inherited Members

- Public Types inherited from WebCore::CachedResourceClient
enum  CachedResourceClientType {
  BaseResourceType, ImageType, FontType, StyleSheetType,
  SVGDocumentType, RawResourceType, BaseResourceType, ImageType,
  FontType, StyleSheetType, SVGDocumentType, RawResourceType
}
 
enum  CachedResourceClientType {
  BaseResourceType, ImageType, FontType, StyleSheetType,
  SVGDocumentType, RawResourceType, BaseResourceType, ImageType,
  FontType, StyleSheetType, SVGDocumentType, RawResourceType
}
 

Constructor & Destructor Documentation

◆ ~ImageLoader() [1/2]

WebCore::ImageLoader::~ImageLoader ( )
virtual

◆ ImageLoader() [1/2]

WebCore::ImageLoader::ImageLoader ( Element element)
explicitprotected

◆ ~ImageLoader() [2/2]

virtual WebCore::ImageLoader::~ImageLoader ( )
virtual

◆ ImageLoader() [2/2]

WebCore::ImageLoader::ImageLoader ( Element )
explicitprotected

Member Function Documentation

◆ clearImage() [1/2]

void WebCore::ImageLoader::clearImage ( )

◆ clearImage() [2/2]

void WebCore::ImageLoader::clearImage ( )

◆ dispatchPendingBeforeLoadEvents() [1/2]

void WebCore::ImageLoader::dispatchPendingBeforeLoadEvents ( )
static

◆ dispatchPendingBeforeLoadEvents() [2/2]

static void WebCore::ImageLoader::dispatchPendingBeforeLoadEvents ( )
static

◆ dispatchPendingErrorEvents() [1/2]

void WebCore::ImageLoader::dispatchPendingErrorEvents ( )
static

◆ dispatchPendingErrorEvents() [2/2]

static void WebCore::ImageLoader::dispatchPendingErrorEvents ( )
static

◆ dispatchPendingEvent() [1/2]

void WebCore::ImageLoader::dispatchPendingEvent ( ImageEventSender eventSender)

◆ dispatchPendingEvent() [2/2]

void WebCore::ImageLoader::dispatchPendingEvent ( ImageEventSender )

◆ dispatchPendingLoadEvents() [1/2]

void WebCore::ImageLoader::dispatchPendingLoadEvents ( )
static

◆ dispatchPendingLoadEvents() [2/2]

static void WebCore::ImageLoader::dispatchPendingLoadEvents ( )
static

◆ element() [1/4]

Element& WebCore::ImageLoader::element ( )
inline

◆ element() [2/4]

Element& WebCore::ImageLoader::element ( )
inline

◆ element() [3/4]

const Element& WebCore::ImageLoader::element ( ) const
inline

◆ element() [4/4]

const Element& WebCore::ImageLoader::element ( ) const
inline

◆ elementDidMoveToNewDocument() [1/2]

void WebCore::ImageLoader::elementDidMoveToNewDocument ( )

◆ elementDidMoveToNewDocument() [2/2]

void WebCore::ImageLoader::elementDidMoveToNewDocument ( )

◆ hasPendingActivity() [1/2]

bool WebCore::ImageLoader::hasPendingActivity ( ) const
inline

◆ hasPendingActivity() [2/2]

bool WebCore::ImageLoader::hasPendingActivity ( ) const
inline

◆ hasPendingBeforeLoadEvent() [1/2]

bool WebCore::ImageLoader::hasPendingBeforeLoadEvent ( ) const
inline

◆ hasPendingBeforeLoadEvent() [2/2]

bool WebCore::ImageLoader::hasPendingBeforeLoadEvent ( ) const
inline

◆ image() [1/2]

CachedImage* WebCore::ImageLoader::image ( ) const
inline

◆ image() [2/2]

CachedImage* WebCore::ImageLoader::image ( ) const
inline

◆ imageComplete() [1/2]

bool WebCore::ImageLoader::imageComplete ( ) const
inline

◆ imageComplete() [2/2]

bool WebCore::ImageLoader::imageComplete ( ) const
inline

◆ notifyFinished() [1/2]

void WebCore::ImageLoader::notifyFinished ( CachedResource resource)
overrideprotectedvirtual

Reimplemented from WebCore::CachedResourceClient.

Reimplemented in WebCore::HTMLImageLoader.

◆ notifyFinished() [2/2]

void WebCore::ImageLoader::notifyFinished ( CachedResource )
overrideprotectedvirtual

Reimplemented from WebCore::CachedResourceClient.

◆ setLoadManually() [1/2]

void WebCore::ImageLoader::setLoadManually ( bool  loadManually)
inline

◆ setLoadManually() [2/2]

void WebCore::ImageLoader::setLoadManually ( bool  loadManually)
inline

◆ updateFromElement() [1/2]

void WebCore::ImageLoader::updateFromElement ( )

◆ updateFromElement() [2/2]

void WebCore::ImageLoader::updateFromElement ( )

◆ updateFromElementIgnoringPreviousError() [1/2]

void WebCore::ImageLoader::updateFromElementIgnoringPreviousError ( )

◆ updateFromElementIgnoringPreviousError() [2/2]

void WebCore::ImageLoader::updateFromElementIgnoringPreviousError ( )

The documentation for this class was generated from the following files: