refactor: add ARC scaffolding for macOS (#38621)
This commit is contained in:
parent
0294debc31
commit
9a9d8ae5ea
5 changed files with 43 additions and 23 deletions
|
@ -9,10 +9,7 @@
|
|||
|
||||
#import "shell/browser/ui/cocoa/electron_menu_controller.h"
|
||||
|
||||
@interface ElectronApplicationDelegate : NSObject <NSApplicationDelegate> {
|
||||
@private
|
||||
base::scoped_nsobject<ElectronMenuController> menu_controller_;
|
||||
}
|
||||
@interface ElectronApplicationDelegate : NSObject <NSApplicationDelegate>
|
||||
|
||||
// Sets the menu that will be returned in "applicationDockMenu:".
|
||||
- (void)setApplicationDockMenu:(electron::ElectronMenuModel*)model;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue