mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-16 13:56:29 +00:00
Bug 1699792 - Make nsStandaloneNativeMenu not inherit from nsMenuObjectX. r=harry
Differential Revision: https://phabricator.services.mozilla.com/D109128
This commit is contained in:
parent
9badbf6ad6
commit
743d168998
@ -13,7 +13,6 @@ enum nsMenuObjectTypeX {
|
||||
eMenuBarObjectType,
|
||||
eSubmenuObjectType,
|
||||
eMenuItemObjectType,
|
||||
eStandaloneNativeMenuObjectType,
|
||||
};
|
||||
|
||||
// All menu objects subclass this.
|
||||
|
@ -11,8 +11,7 @@
|
||||
#include "nsMenuX.h"
|
||||
#include "nsIStandaloneNativeMenu.h"
|
||||
|
||||
class nsStandaloneNativeMenu : public nsMenuObjectX,
|
||||
public nsIStandaloneNativeMenu,
|
||||
class nsStandaloneNativeMenu : public nsIStandaloneNativeMenu,
|
||||
public nsMenuItemIconX::Listener {
|
||||
public:
|
||||
nsStandaloneNativeMenu();
|
||||
@ -20,11 +19,6 @@ class nsStandaloneNativeMenu : public nsMenuObjectX,
|
||||
NS_DECL_ISUPPORTS
|
||||
NS_DECL_NSISTANDALONENATIVEMENU
|
||||
|
||||
// nsMenuObjectX
|
||||
nsMenuObjectTypeX MenuObjectType() override {
|
||||
return eStandaloneNativeMenuObjectType;
|
||||
}
|
||||
|
||||
// nsMenuItemIconX::Listener
|
||||
void IconUpdated() override;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user