Public Member Functions

nsFrameManager Class Reference

Frame manager interface. More...

#include <nsFrameManager.h>

Inheritance diagram for nsFrameManager:
Collaboration diagram for nsFrameManager:

List of all members.

Public Member Functions

 nsFrameManager ()
 ~nsFrameManager ()
void * operator new (size_t aSize, nsIPresShell *aHost)
nsresult Init (nsIPresShell *aPresShell, nsStyleSet *aStyleSet)
void Destroy ()
nsIFrame * GetRootFrame ()
void SetRootFrame (nsIFrame *aRootFrame)
nsIFrame * GetCanvasFrame ()
nsPlaceholderFrame * GetPlaceholderFrameFor (nsIFrame *aFrame)
nsresult RegisterPlaceholderFrame (nsPlaceholderFrame *aPlaceholderFrame)
void UnregisterPlaceholderFrame (nsPlaceholderFrame *aPlaceholderFrame)
void ClearPlaceholderFrameMap ()
nsStyleContextGetUndisplayedContent (nsIContent *aContent)
void SetUndisplayedContent (nsIContent *aContent, nsStyleContext *aStyleContext)
void ChangeUndisplayedContent (nsIContent *aContent, nsStyleContext *aStyleContext)
void ClearUndisplayedContentIn (nsIContent *aContent, nsIContent *aParentContent)
void ClearAllUndisplayedContentIn (nsIContent *aParentContent)
void ClearUndisplayedContentMap ()
nsresult AppendFrames (nsIFrame *aParentFrame, nsIAtom *aListName, nsFrameList &aFrameList)
nsresult InsertFrames (nsIFrame *aParentFrame, nsIAtom *aListName, nsIFrame *aPrevFrame, nsFrameList &aFrameList)
nsresult RemoveFrame (nsIAtom *aListName, nsIFrame *aOldFrame)
void NotifyDestroyingFrame (nsIFrame *aFrame)
nsresult ReParentStyleContext (nsIFrame *aFrame)
void ComputeStyleChangeFor (nsIFrame *aFrame, nsStyleChangeList *aChangeList, nsChangeHint aMinChange)
nsReStyleHint HasAttributeDependentStyle (nsIContent *aContent, nsIAtom *aAttribute, PRInt32 aModType, PRBool aAttrHasChanged)
void CaptureFrameState (nsIFrame *aFrame, nsILayoutHistoryState *aState)
void RestoreFrameState (nsIFrame *aFrame, nsILayoutHistoryState *aState)
void CaptureFrameStateFor (nsIFrame *aFrame, nsILayoutHistoryState *aState, nsIStatefulFrame::SpecialStateID aID=nsIStatefulFrame::eNoID)
void RestoreFrameStateFor (nsIFrame *aFrame, nsILayoutHistoryState *aState, nsIStatefulFrame::SpecialStateID aID=nsIStatefulFrame::eNoID)
nsIPresShell * GetPresShell () const
nsPresContextGetPresContext () const

Detailed Description

Frame manager interface.

The frame manager serves two purposes: provides a service for mapping from content to frame and from out-of-flow frame to placeholder frame. handles structural modifications to the frame model. If the frame model lock can be acquired, then the changes are processed immediately; otherwise, they're queued and processed later.

Do not add virtual methods to this class, or bryner will punish you.


Constructor & Destructor Documentation

nsFrameManager::nsFrameManager (  ) 
nsFrameManager::~nsFrameManager (  ) 

Member Function Documentation

nsresult nsFrameManager::AppendFrames ( nsIFrame *  aParentFrame,
nsIAtom aListName,
nsFrameList aFrameList 
) [inline]
void nsFrameManager::CaptureFrameState ( nsIFrame *  aFrame,
nsILayoutHistoryState *  aState 
)
void nsFrameManager::CaptureFrameStateFor ( nsIFrame *  aFrame,
nsILayoutHistoryState *  aState,
nsIStatefulFrame::SpecialStateID  aID = nsIStatefulFrame::eNoID 
)
void nsFrameManager::ChangeUndisplayedContent ( nsIContent *  aContent,
nsStyleContext aStyleContext 
)
void nsFrameManager::ClearAllUndisplayedContentIn ( nsIContent *  aParentContent  ) 
void nsFrameManager::ClearPlaceholderFrameMap (  ) 
void nsFrameManager::ClearUndisplayedContentIn ( nsIContent *  aContent,
nsIContent *  aParentContent 
)
void nsFrameManager::ClearUndisplayedContentMap (  ) 
void nsFrameManager::ComputeStyleChangeFor ( nsIFrame *  aFrame,
nsStyleChangeList aChangeList,
nsChangeHint  aMinChange 
)
void nsFrameManager::Destroy (  ) 
nsIFrame* nsFrameManager::GetCanvasFrame (  ) 
nsPlaceholderFrame* nsFrameManager::GetPlaceholderFrameFor ( nsIFrame *  aFrame  ) 
nsPresContext* nsFrameManager::GetPresContext (  )  const [inline]
nsIPresShell* nsFrameManager::GetPresShell (  )  const [inline]
nsIFrame* nsFrameManager::GetRootFrame (  )  [inline]
nsStyleContext* nsFrameManager::GetUndisplayedContent ( nsIContent *  aContent  ) 
nsReStyleHint nsFrameManager::HasAttributeDependentStyle ( nsIContent *  aContent,
nsIAtom aAttribute,
PRInt32  aModType,
PRBool  aAttrHasChanged 
)
nsresult nsFrameManager::Init ( nsIPresShell *  aPresShell,
nsStyleSet aStyleSet 
)
nsresult nsFrameManager::InsertFrames ( nsIFrame *  aParentFrame,
nsIAtom aListName,
nsIFrame *  aPrevFrame,
nsFrameList aFrameList 
)
void nsFrameManager::NotifyDestroyingFrame ( nsIFrame *  aFrame  ) 
void* nsFrameManager::operator new ( size_t  aSize,
nsIPresShell *  aHost 
) [inline]
nsresult nsFrameManager::RegisterPlaceholderFrame ( nsPlaceholderFrame *  aPlaceholderFrame  ) 
nsresult nsFrameManager::RemoveFrame ( nsIAtom aListName,
nsIFrame *  aOldFrame 
)
nsresult nsFrameManager::ReParentStyleContext ( nsIFrame *  aFrame  ) 
void nsFrameManager::RestoreFrameState ( nsIFrame *  aFrame,
nsILayoutHistoryState *  aState 
)
void nsFrameManager::RestoreFrameStateFor ( nsIFrame *  aFrame,
nsILayoutHistoryState *  aState,
nsIStatefulFrame::SpecialStateID  aID = nsIStatefulFrame::eNoID 
)
void nsFrameManager::SetRootFrame ( nsIFrame *  aRootFrame  )  [inline]
void nsFrameManager::SetUndisplayedContent ( nsIContent *  aContent,
nsStyleContext aStyleContext 
)
void nsFrameManager::UnregisterPlaceholderFrame ( nsPlaceholderFrame *  aPlaceholderFrame  ) 

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