webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Public Types | Public Member Functions | Static Public Member Functions | List of all members
WebCore::FloatingObject Class Reference

#include <FloatingObjects.h>

Public Types

enum  Type {
  FloatLeft = 1, FloatRight = 2, FloatLeftRight = 3, FloatLeft = 1,
  FloatRight = 2, FloatLeftRight = 3
}
 
enum  Type {
  FloatLeft = 1, FloatRight = 2, FloatLeftRight = 3, FloatLeft = 1,
  FloatRight = 2, FloatLeftRight = 3
}
 

Public Member Functions

std::unique_ptr< FloatingObjectcopyToNewContainer (LayoutSize, bool shouldPaint=false, bool isDescendant=false) const
 
std::unique_ptr< FloatingObjectcloneForNewParent () const
 
 FloatingObject (RenderBox &)
 
 FloatingObject (RenderBox &, Type, const LayoutRect &, bool shouldPaint, bool isDescendant)
 
Type type () const
 
RenderBoxrenderer () const
 
bool isPlaced () const
 
void setIsPlaced (bool placed=true)
 
LayoutUnit x () const
 
LayoutUnit maxX () const
 
LayoutUnit y () const
 
LayoutUnit maxY () const
 
LayoutUnit width () const
 
LayoutUnit height () const
 
void setX (LayoutUnit x)
 
void setY (LayoutUnit y)
 
void setWidth (LayoutUnit width)
 
void setHeight (LayoutUnit height)
 
const LayoutRectframeRect () const
 
void setFrameRect (const LayoutRect &frameRect)
 
LayoutUnit paginationStrut () const
 
void setPaginationStrut (LayoutUnit strut)
 
bool isInPlacedTree () const
 
void setIsInPlacedTree (bool value)
 
bool shouldPaint () const
 
void setShouldPaint (bool shouldPaint)
 
bool isDescendant () const
 
void setIsDescendant (bool isDescendant)
 
RootInlineBoxoriginatingLine () const
 
void setOriginatingLine (RootInlineBox *line)
 
std::unique_ptr< FloatingObjectcopyToNewContainer (LayoutSize, bool shouldPaint=false, bool isDescendant=false) const
 
std::unique_ptr< FloatingObjectcloneForNewParent () const
 
 FloatingObject (RenderBox &)
 
 FloatingObject (RenderBox &, Type, const LayoutRect &, bool shouldPaint, bool isDescendant)
 
Type type () const
 
RenderBoxrenderer () const
 
bool isPlaced () const
 
void setIsPlaced (bool placed=true)
 
LayoutUnit x () const
 
LayoutUnit maxX () const
 
LayoutUnit y () const
 
LayoutUnit maxY () const
 
LayoutUnit width () const
 
LayoutUnit height () const
 
void setX (LayoutUnit x)
 
void setY (LayoutUnit y)
 
void setWidth (LayoutUnit width)
 
void setHeight (LayoutUnit height)
 
const LayoutRectframeRect () const
 
void setFrameRect (const LayoutRect &frameRect)
 
LayoutUnit paginationStrut () const
 
void setPaginationStrut (LayoutUnit strut)
 
bool isInPlacedTree () const
 
void setIsInPlacedTree (bool value)
 
bool shouldPaint () const
 
void setShouldPaint (bool shouldPaint)
 
bool isDescendant () const
 
void setIsDescendant (bool isDescendant)
 
RootInlineBoxoriginatingLine () const
 
void setOriginatingLine (RootInlineBox *line)
 

Static Public Member Functions

static std::unique_ptr< FloatingObjectcreate (RenderBox &)
 
static std::unique_ptr< FloatingObjectcreate (RenderBox &)
 

Member Enumeration Documentation

◆ Type [1/2]

Enumerator
FloatLeft 
FloatRight 
FloatLeftRight 
FloatLeft 
FloatRight 
FloatLeftRight 

◆ Type [2/2]

Enumerator
FloatLeft 
FloatRight 
FloatLeftRight 
FloatLeft 
FloatRight 
FloatLeftRight 

Constructor & Destructor Documentation

◆ FloatingObject() [1/4]

WebCore::FloatingObject::FloatingObject ( RenderBox renderer)
explicit

◆ FloatingObject() [2/4]

WebCore::FloatingObject::FloatingObject ( RenderBox renderer,
Type  type,
const LayoutRect frameRect,
bool  shouldPaint,
bool  isDescendant 
)

◆ FloatingObject() [3/4]

WebCore::FloatingObject::FloatingObject ( RenderBox )
explicit

◆ FloatingObject() [4/4]

WebCore::FloatingObject::FloatingObject ( RenderBox ,
Type  ,
const LayoutRect ,
bool  shouldPaint,
bool  isDescendant 
)

Member Function Documentation

◆ cloneForNewParent() [1/2]

std::unique_ptr< FloatingObject > WebCore::FloatingObject::cloneForNewParent ( ) const

◆ cloneForNewParent() [2/2]

std::unique_ptr<FloatingObject> WebCore::FloatingObject::cloneForNewParent ( ) const

◆ copyToNewContainer() [1/2]

std::unique_ptr< FloatingObject > WebCore::FloatingObject::copyToNewContainer ( LayoutSize  offset,
bool  shouldPaint = false,
bool  isDescendant = false 
) const

◆ copyToNewContainer() [2/2]

std::unique_ptr<FloatingObject> WebCore::FloatingObject::copyToNewContainer ( LayoutSize  ,
bool  shouldPaint = false,
bool  isDescendant = false 
) const

◆ create() [1/2]

std::unique_ptr< FloatingObject > WebCore::FloatingObject::create ( RenderBox renderer)
static

◆ create() [2/2]

static std::unique_ptr<FloatingObject> WebCore::FloatingObject::create ( RenderBox )
static

◆ frameRect() [1/2]

const LayoutRect& WebCore::FloatingObject::frameRect ( ) const
inline

◆ frameRect() [2/2]

const LayoutRect& WebCore::FloatingObject::frameRect ( ) const
inline

◆ height() [1/2]

LayoutUnit WebCore::FloatingObject::height ( ) const
inline

◆ height() [2/2]

LayoutUnit WebCore::FloatingObject::height ( ) const
inline

◆ isDescendant() [1/2]

bool WebCore::FloatingObject::isDescendant ( ) const
inline

◆ isDescendant() [2/2]

bool WebCore::FloatingObject::isDescendant ( ) const
inline

◆ isInPlacedTree() [1/2]

bool WebCore::FloatingObject::isInPlacedTree ( ) const
inline

◆ isInPlacedTree() [2/2]

bool WebCore::FloatingObject::isInPlacedTree ( ) const
inline

◆ isPlaced() [1/2]

bool WebCore::FloatingObject::isPlaced ( ) const
inline

◆ isPlaced() [2/2]

bool WebCore::FloatingObject::isPlaced ( ) const
inline

◆ maxX() [1/2]

LayoutUnit WebCore::FloatingObject::maxX ( ) const
inline

◆ maxX() [2/2]

LayoutUnit WebCore::FloatingObject::maxX ( ) const
inline

◆ maxY() [1/2]

LayoutUnit WebCore::FloatingObject::maxY ( ) const
inline

◆ maxY() [2/2]

LayoutUnit WebCore::FloatingObject::maxY ( ) const
inline

◆ originatingLine() [1/2]

RootInlineBox* WebCore::FloatingObject::originatingLine ( ) const
inline

◆ originatingLine() [2/2]

RootInlineBox* WebCore::FloatingObject::originatingLine ( ) const
inline

◆ paginationStrut() [1/2]

LayoutUnit WebCore::FloatingObject::paginationStrut ( ) const
inline

◆ paginationStrut() [2/2]

LayoutUnit WebCore::FloatingObject::paginationStrut ( ) const
inline

◆ renderer() [1/2]

RenderBox& WebCore::FloatingObject::renderer ( ) const
inline

◆ renderer() [2/2]

RenderBox& WebCore::FloatingObject::renderer ( ) const
inline

◆ setFrameRect() [1/2]

void WebCore::FloatingObject::setFrameRect ( const LayoutRect frameRect)
inline

◆ setFrameRect() [2/2]

void WebCore::FloatingObject::setFrameRect ( const LayoutRect frameRect)
inline

◆ setHeight() [1/2]

void WebCore::FloatingObject::setHeight ( LayoutUnit  height)
inline

◆ setHeight() [2/2]

void WebCore::FloatingObject::setHeight ( LayoutUnit  height)
inline

◆ setIsDescendant() [1/2]

void WebCore::FloatingObject::setIsDescendant ( bool  isDescendant)
inline

◆ setIsDescendant() [2/2]

void WebCore::FloatingObject::setIsDescendant ( bool  isDescendant)
inline

◆ setIsInPlacedTree() [1/2]

void WebCore::FloatingObject::setIsInPlacedTree ( bool  value)
inline

◆ setIsInPlacedTree() [2/2]

void WebCore::FloatingObject::setIsInPlacedTree ( bool  value)
inline

◆ setIsPlaced() [1/2]

void WebCore::FloatingObject::setIsPlaced ( bool  placed = true)
inline

◆ setIsPlaced() [2/2]

void WebCore::FloatingObject::setIsPlaced ( bool  placed = true)
inline

◆ setOriginatingLine() [1/2]

void WebCore::FloatingObject::setOriginatingLine ( RootInlineBox line)
inline

◆ setOriginatingLine() [2/2]

void WebCore::FloatingObject::setOriginatingLine ( RootInlineBox line)
inline

◆ setPaginationStrut() [1/2]

void WebCore::FloatingObject::setPaginationStrut ( LayoutUnit  strut)
inline

◆ setPaginationStrut() [2/2]

void WebCore::FloatingObject::setPaginationStrut ( LayoutUnit  strut)
inline

◆ setShouldPaint() [1/2]

void WebCore::FloatingObject::setShouldPaint ( bool  shouldPaint)
inline

◆ setShouldPaint() [2/2]

void WebCore::FloatingObject::setShouldPaint ( bool  shouldPaint)
inline

◆ setWidth() [1/2]

void WebCore::FloatingObject::setWidth ( LayoutUnit  width)
inline

◆ setWidth() [2/2]

void WebCore::FloatingObject::setWidth ( LayoutUnit  width)
inline

◆ setX() [1/2]

void WebCore::FloatingObject::setX ( LayoutUnit  x)
inline

◆ setX() [2/2]

void WebCore::FloatingObject::setX ( LayoutUnit  x)
inline

◆ setY() [1/2]

void WebCore::FloatingObject::setY ( LayoutUnit  y)
inline

◆ setY() [2/2]

void WebCore::FloatingObject::setY ( LayoutUnit  y)
inline

◆ shouldPaint() [1/2]

bool WebCore::FloatingObject::shouldPaint ( ) const
inline

◆ shouldPaint() [2/2]

bool WebCore::FloatingObject::shouldPaint ( ) const
inline

◆ type() [1/2]

Type WebCore::FloatingObject::type ( ) const
inline

◆ type() [2/2]

Type WebCore::FloatingObject::type ( ) const
inline

◆ width() [1/2]

LayoutUnit WebCore::FloatingObject::width ( ) const
inline

◆ width() [2/2]

LayoutUnit WebCore::FloatingObject::width ( ) const
inline

◆ x() [1/2]

LayoutUnit WebCore::FloatingObject::x ( ) const
inline

◆ x() [2/2]

LayoutUnit WebCore::FloatingObject::x ( ) const
inline

◆ y() [1/2]

LayoutUnit WebCore::FloatingObject::y ( ) const
inline

◆ y() [2/2]

LayoutUnit WebCore::FloatingObject::y ( ) const
inline

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