diff --git a/atom/browser/mac/atom_application.h b/atom/browser/mac/atom_application.h index a41802087722..9fafb054b09a 100644 --- a/atom/browser/mac/atom_application.h +++ b/atom/browser/mac/atom_application.h @@ -18,6 +18,4 @@ // CrAppControlProtocol: - (void)setHandlingSendEvent:(BOOL)handlingSendEvent; -- (IBAction)closeAllWindows:(id)sender; - @end diff --git a/atom/browser/mac/atom_application.mm b/atom/browser/mac/atom_application.mm index b8377181359c..9eaabc410bda 100644 --- a/atom/browser/mac/atom_application.mm +++ b/atom/browser/mac/atom_application.mm @@ -36,10 +36,6 @@ andEventID:kAEGetURL]; } -- (IBAction)closeAllWindows:(id)sender { - atom::Browser::Get()->Quit(); -} - - (void)handleURLEvent:(NSAppleEventDescriptor*)event withReplyEvent:(NSAppleEventDescriptor*)replyEvent { NSString* url = [ diff --git a/atom/browser/native_window_mac.mm b/atom/browser/native_window_mac.mm index 24825da63e17..946b2a41cdd4 100644 --- a/atom/browser/native_window_mac.mm +++ b/atom/browser/native_window_mac.mm @@ -184,16 +184,6 @@ static const CGFloat kAtomWindowCornerRadius = 4.0; return [super constrainFrameRect:frameRect toScreen:screen]; } -- (IBAction)reload:(id)sender { - content::WebContents* web_contents = shell_->GetWebContents(); - content::NavigationController::LoadURLParams params(web_contents->GetURL()); - web_contents->GetController().LoadURLWithParams(params); -} - -- (IBAction)showDevTools:(id)sender { - shell_->OpenDevTools(true); -} - - (id)accessibilityAttributeValue:(NSString*)attribute { if (![attribute isEqualToString:@"AXChildren"]) return [super accessibilityAttributeValue:attribute];