Now that we have a supported platform list of >= 10.10 we can use the `[NSStatusItem button]` instead of the hacks and tricks we use currently.
shell/browser/ui/tray_icon_cocoa.h
#ifndef SHELL_BROWSER_UI_TRAY_ICON_COCOA_H_
#define SHELL_BROWSER_UI_TRAY_ICON_COCOA_H_
#import <Cocoa/Cocoa.h>
#include <string>
#include "base/mac/scoped_nsobject.h"
#include "shell/browser/ui/tray_icon.h"
@class AtomMenuController;
@class StatusItemView;
namespace electron {
class TrayIconCocoa : public TrayIcon, public AtomMenuModel::Observer {
 public:
  TrayIconCocoa();