Back to index

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

List of all members.

Public Member Functions

 nsASyncMenuActivation (nsIContent *aContent)
NS_DECL_ISUPPORTS NS_IMETHOD ReflowFinished (nsIPresShell *aShell, PRBool *aFlushFlag)

Public Attributes

nsCOMPtr< nsIContentmContent

Detailed Description

Definition at line 764 of file nsMenuPopupFrame.cpp.

Constructor & Destructor Documentation

Definition at line 767 of file nsMenuPopupFrame.cpp.

    : mContent(aContent)

Member Function Documentation

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

Implements nsIReflowCallback.

Definition at line 774 of file nsMenuPopupFrame.cpp.

    nsAutoString shouldDisplay, menuActive;
    mContent->GetAttr(kNameSpaceID_None, nsXULAtoms::menuactive, menuActive);
    if (!menuActive.EqualsLiteral("true")) {
      mContent->GetAttr(kNameSpaceID_None, nsXULAtoms::menutobedisplayed,
      if(shouldDisplay.EqualsLiteral("true")) {
        mContent->SetAttr(kNameSpaceID_None, nsXULAtoms::menuactive,
                          NS_LITERAL_STRING("true"), PR_TRUE);
        *aFlushFlag = PR_TRUE;
    return NS_OK;

Member Data Documentation

Definition at line 789 of file nsMenuPopupFrame.cpp.

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