Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Public Attributes
nsASyncMenuGeneration Class Reference
Inheritance diagram for nsASyncMenuGeneration:
Inheritance graph
Collaboration diagram for nsASyncMenuGeneration:
Collaboration graph

List of all members.

Public Member Functions

 nsASyncMenuGeneration (nsIFrame *aFrame)
NS_DECL_ISUPPORTS NS_IMETHOD ReflowFinished (nsIPresShell *aShell, PRBool *aFlushFlag)

Public Attributes

nsWeakFrame mWeakFrame
nsCOMPtr< nsIDocumentmDocument

Detailed Description

Definition at line 2079 of file nsMenuFrame.cpp.

Constructor & Destructor Documentation

Definition at line 2082 of file nsMenuFrame.cpp.

    : mWeakFrame(aFrame)
    nsIContent* content = aFrame ? aFrame->GetContent() : nsnull;
    mDocument = content ? content->GetCurrentDoc() : nsnull;
    if (mDocument) {

Here is the call graph for this function:

Member Function Documentation

NS_DECL_ISUPPORTS NS_IMETHOD nsASyncMenuGeneration::ReflowFinished ( nsIPresShell aShell,
PRBool aFlushFlag 
) [inline, virtual]

Implements nsIReflowCallback.

Definition at line 2094 of file nsMenuFrame.cpp.

    nsIFrame* frame = mWeakFrame.GetFrame();
    if (frame) {
      PRBool collapsed = PR_FALSE;
      nsBoxLayoutState state(frame->GetPresContext());
      frame->IsCollapsed(state, collapsed);
      if (!collapsed) {
        nsIMenuFrame* imenu = nsnull;
        CallQueryInterface(frame, &imenu);
        if (imenu) {
          *aFlushFlag = PR_TRUE;
    if (mDocument) {
    return NS_OK;

Here is the call graph for this function:

Member Data Documentation

Definition at line 2116 of file nsMenuFrame.cpp.

Definition at line 2115 of file nsMenuFrame.cpp.

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