Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Public Attributes
ScrollReflowState Struct Reference

HTML scrolling implementation. More...

Collaboration diagram for ScrollReflowState:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 ScrollReflowState (nsIScrollableFrame *aFrame, const nsHTMLReflowState &aState, nsHTMLReflowMetrics &aMetrics)

Public Attributes

const nsHTMLReflowStatemReflowState
nsBoxLayoutState mBoxState
nsGfxScrollFrameInner::ScrollbarStyles mStyles
nsReflowReason mNewReason
nsMargin mComputedBorder
nsRect mScrollPortRect
nsSize mInsideBorderSize
nscoord mAscent
nscoord mMaxElementWidth
nscoord mMaximumWidth
PRPackedBool mShowHScrollbar
PRPackedBool mShowVScrollbar

Detailed Description

HTML scrolling implementation.

We rely on the fact that if height is 'auto', changing the height of the element does not require reflowing the contents.

All other things being equal, we prefer layouts with fewer scrollbars showing.

Definition at line 257 of file nsGfxScrollFrame.cpp.


Constructor & Destructor Documentation

Definition at line 282 of file nsGfxScrollFrame.cpp.

                                                                                    :
    mReflowState(aState),
    mBoxState(aState.frame->GetPresContext(), aState, aMetrics),
    mStyles(aFrame->GetScrollbarStyles()) {
  }

Member Data Documentation

Definition at line 270 of file nsGfxScrollFrame.cpp.

Definition at line 259 of file nsGfxScrollFrame.cpp.

Definition at line 262 of file nsGfxScrollFrame.cpp.

Definition at line 268 of file nsGfxScrollFrame.cpp.

Definition at line 273 of file nsGfxScrollFrame.cpp.

Definition at line 276 of file nsGfxScrollFrame.cpp.

Definition at line 261 of file nsGfxScrollFrame.cpp.

Definition at line 258 of file nsGfxScrollFrame.cpp.

Definition at line 266 of file nsGfxScrollFrame.cpp.

Definition at line 278 of file nsGfxScrollFrame.cpp.

Definition at line 280 of file nsGfxScrollFrame.cpp.

Definition at line 260 of file nsGfxScrollFrame.cpp.


The documentation for this struct was generated from the following file: