webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | Static Public Member Functions | List of all members
WebKit::ViewSnapshot Class Reference

#include <ViewSnapshotStore.h>

Inheritance diagram for WebKit::ViewSnapshot:
WTF::RefCounted< ViewSnapshot > WTF::RefCountedBase WTF::RefCountedBase WTF::RefCountedBase

Public Member Functions

 ~ViewSnapshot ()
 
void clearImage ()
 
bool hasImage () const
 
id asLayerContents ()
 
RetainPtr< CGImageRefasImageForTesting ()
 
void setRenderTreeSize (uint64_t renderTreeSize)
 
uint64_t renderTreeSize () const
 
void setBackgroundColor (WebCore::Color color)
 
WebCore::Color backgroundColor () const
 
void setDeviceScaleFactor (float deviceScaleFactor)
 
float deviceScaleFactor () const
 
WebCore::IntSize size () const
 
size_t imageSizeInBytes () const
 
- Public Member Functions inherited from WTF::RefCounted< ViewSnapshot >
void deref () const
 
void deref () const
 
void deref () const
 
- Public Member Functions inherited from WTF::RefCountedBase
void ref () const
 
bool hasOneRef () const
 
unsigned refCount () const
 
void relaxAdoptionRequirement ()
 
void ref () const
 
bool hasOneRef () const
 
unsigned refCount () const
 
void relaxAdoptionRequirement ()
 
void ref () const
 
bool hasOneRef () const
 
unsigned refCount () const
 
void relaxAdoptionRequirement ()
 

Static Public Member Functions

static Ref< ViewSnapshotcreate (uint32_t slotID, WebCore::IntSize, size_t imageSizeInBytes)
 

Additional Inherited Members

- Protected Member Functions inherited from WTF::RefCounted< ViewSnapshot >
 RefCounted ()
 
 RefCounted ()
 
 RefCounted ()
 
 ~RefCounted ()
 
 ~RefCounted ()
 
 ~RefCounted ()
 
- Protected Member Functions inherited from WTF::RefCountedBase
 RefCountedBase ()
 
 ~RefCountedBase ()
 
bool derefBase () const
 
bool deletionHasBegun () const
 
 RefCountedBase ()
 
 ~RefCountedBase ()
 
bool derefBase () const
 
bool deletionHasBegun () const
 
 RefCountedBase ()
 
 ~RefCountedBase ()
 
bool derefBase () const
 
bool deletionHasBegun () const
 

Constructor & Destructor Documentation

◆ ~ViewSnapshot()

WebKit::ViewSnapshot::~ViewSnapshot ( )

Member Function Documentation

◆ asImageForTesting()

RetainPtr< CGImageRef > WebKit::ViewSnapshot::asImageForTesting ( )

◆ asLayerContents()

id WebKit::ViewSnapshot::asLayerContents ( )

◆ backgroundColor()

WebCore::Color WebKit::ViewSnapshot::backgroundColor ( ) const
inline

◆ clearImage()

void WebKit::ViewSnapshot::clearImage ( )

◆ create()

Ref< ViewSnapshot > WebKit::ViewSnapshot::create ( uint32_t  slotID,
WebCore::IntSize  size,
size_t  imageSizeInBytes 
)
static

◆ deviceScaleFactor()

float WebKit::ViewSnapshot::deviceScaleFactor ( ) const
inline

◆ hasImage()

bool WebKit::ViewSnapshot::hasImage ( ) const

◆ imageSizeInBytes()

size_t WebKit::ViewSnapshot::imageSizeInBytes ( ) const
inline

◆ renderTreeSize()

uint64_t WebKit::ViewSnapshot::renderTreeSize ( ) const
inline

◆ setBackgroundColor()

void WebKit::ViewSnapshot::setBackgroundColor ( WebCore::Color  color)
inline

◆ setDeviceScaleFactor()

void WebKit::ViewSnapshot::setDeviceScaleFactor ( float  deviceScaleFactor)
inline

◆ setRenderTreeSize()

void WebKit::ViewSnapshot::setRenderTreeSize ( uint64_t  renderTreeSize)
inline

◆ size()

WebCore::IntSize WebKit::ViewSnapshot::size ( ) const
inline

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