bug 73262, r=pinkerton, sr=sfraser/jst, add ptr for xul document
git-svn-id: svn://10.0.0.236/trunk@91241 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -39,6 +39,7 @@
|
||||
extern nsWeakPtr gMacMenubar;
|
||||
|
||||
class nsIWidget;
|
||||
class nsIDocument;
|
||||
|
||||
|
||||
namespace MenuHelpers
|
||||
@@ -170,6 +171,7 @@ protected:
|
||||
PRBool mIsMenuBarAdded;
|
||||
|
||||
nsWeakPtr mWebShellWeakRef; // weak ref to webshell
|
||||
nsIDocument * mDocument; // pointer to doc
|
||||
|
||||
// Mac Specific
|
||||
Handle mMacMBarHandle;
|
||||
|
||||
@@ -39,6 +39,7 @@
|
||||
extern nsWeakPtr gMacMenubarX;
|
||||
|
||||
class nsIWidget;
|
||||
class nsIDocument;
|
||||
|
||||
namespace MenuHelpersX
|
||||
{
|
||||
@@ -168,6 +169,7 @@ protected:
|
||||
PRBool mIsMenuBarAdded;
|
||||
|
||||
nsWeakPtr mWebShellWeakRef; // weak ref to webshell
|
||||
nsIDocument* mDocument; // pointer to document
|
||||
|
||||
MenuRef mRootMenu; // root menu, representing entire menu bar.
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user