mirror of
https://github.com/electron/electron.git
synced 2026-01-28 00:38:35 -05:00
Bring mac code into conformance with -Wobjc-missing-property-synthesis
This commit is contained in:
@@ -25,6 +25,8 @@ const NSAutoresizingMaskOptions kDefaultAutoResizingMask =
|
||||
|
||||
@implementation DragRegionView
|
||||
|
||||
@synthesize initialLocation;
|
||||
|
||||
- (BOOL)mouseDownCanMoveWindow
|
||||
{
|
||||
return NO;
|
||||
|
||||
@@ -425,6 +425,9 @@ bool ScopedDisableResize::disable_resize_ = false;
|
||||
|
||||
@implementation AtomPreviewItem
|
||||
|
||||
@synthesize previewItemURL;
|
||||
@synthesize previewItemTitle;
|
||||
|
||||
- (id)initWithURL:(NSURL*)url title:(NSString*)title {
|
||||
self = [super init];
|
||||
if (self) {
|
||||
@@ -480,6 +483,13 @@ enum {
|
||||
|
||||
@implementation AtomNSWindow
|
||||
|
||||
@synthesize acceptsFirstMouse;
|
||||
@synthesize disableAutoHideCursor;
|
||||
@synthesize disableKeyOrMainWindow;
|
||||
@synthesize windowButtonsOffset;
|
||||
@synthesize quickLookItem;
|
||||
@synthesize vibrantView;
|
||||
|
||||
- (void)setShell:(atom::NativeWindowMac*)shell {
|
||||
shell_ = shell;
|
||||
}
|
||||
|
||||
@@ -27,6 +27,9 @@
|
||||
|
||||
@implementation PopUpButtonHandler
|
||||
|
||||
@synthesize savePanel;
|
||||
@synthesize fileTypesList;
|
||||
|
||||
- (instancetype)initWithPanel:(NSSavePanel*)panel
|
||||
andTypesList:(NSArray*)typesList {
|
||||
self = [super init];
|
||||
|
||||
Reference in New Issue
Block a user