]> khamidou — GitHub mirrors - electron.git/commitdiff
mac: Remove unused action handler
authorCheng Zhao <zcbenz@gmail.com>
Sat, 25 Apr 2015 12:41:12 +0000 (20:41 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Sat, 25 Apr 2015 12:41:12 +0000 (20:41 +0800)
atom/browser/mac/atom_application.h
atom/browser/mac/atom_application.mm
atom/browser/native_window_mac.mm

index a41802087722aaf42237c94af1414d779ccbf297..9fafb054b09abce8b3ef6a4af1f778c80d919f3d 100644 (file)
@@ -18,6 +18,4 @@
 // CrAppControlProtocol:
 - (void)setHandlingSendEvent:(BOOL)handlingSendEvent;
 
-- (IBAction)closeAllWindows:(id)sender;
-
 @end
index b8377181359ceccc42d714feb4f411a0a4912336..9eaabc410bdaef7f18ab146e71bc7aed0288e5a5 100644 (file)
            andEventID:kAEGetURL];
 }
 
-- (IBAction)closeAllWindows:(id)sender {
-  atom::Browser::Get()->Quit();
-}
-
 - (void)handleURLEvent:(NSAppleEventDescriptor*)event
         withReplyEvent:(NSAppleEventDescriptor*)replyEvent {
   NSString* url = [
index 24825da63e1733a57fdf12f50b47c474649ccf54..946b2a41cdd43eb68f7b19775df4a242a6c8bd34 100644 (file)
@@ -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];