From 96251e55decbceb0b1a0057892f5e00fecc90c46 Mon Sep 17 00:00:00 2001 From: mst128256 Date: Fri, 17 Mar 2017 21:55:56 +0100 Subject: [PATCH] Removed commented code --- atom/browser/native_window_mac.mm | 6 ------ 1 file changed, 6 deletions(-) diff --git a/atom/browser/native_window_mac.mm b/atom/browser/native_window_mac.mm index be5d754a2467..4cd8d1d2b01e 100644 --- a/atom/browser/native_window_mac.mm +++ b/atom/browser/native_window_mac.mm @@ -1642,11 +1642,6 @@ void NativeWindowMac::UpdateDraggableRegions( UpdateDraggableRegionViews(regions); } -// void NativeWindowMac::ShowWindowButton(NSWindowButton button) { -// auto view = [window_ standardWindowButton:button]; -// [view.superview addSubview:view positioned:NSWindowAbove relativeTo:nil]; -// } - void NativeWindowMac::InstallView() { // Make sure the bottom corner is rounded for non-modal windows: http://crbug.com/396264. // But do not enable it on OS X 10.9 for transparent window, otherwise a @@ -1684,7 +1679,6 @@ void NativeWindowMac::InstallView() { // determine whether to show custom UI on hover, so we disable it here to // prevent them from doing so in a frameless app window. [[window_ standardWindowButton:NSWindowZoomButton] setEnabled:NO]; - } }