mac: Remove unused action handler
This commit is contained in:
parent
c811beb1e2
commit
ecf29f72bc
3 changed files with 0 additions and 16 deletions
|
@ -18,6 +18,4 @@
|
||||||
// CrAppControlProtocol:
|
// CrAppControlProtocol:
|
||||||
- (void)setHandlingSendEvent:(BOOL)handlingSendEvent;
|
- (void)setHandlingSendEvent:(BOOL)handlingSendEvent;
|
||||||
|
|
||||||
- (IBAction)closeAllWindows:(id)sender;
|
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
|
@ -36,10 +36,6 @@
|
||||||
andEventID:kAEGetURL];
|
andEventID:kAEGetURL];
|
||||||
}
|
}
|
||||||
|
|
||||||
- (IBAction)closeAllWindows:(id)sender {
|
|
||||||
atom::Browser::Get()->Quit();
|
|
||||||
}
|
|
||||||
|
|
||||||
- (void)handleURLEvent:(NSAppleEventDescriptor*)event
|
- (void)handleURLEvent:(NSAppleEventDescriptor*)event
|
||||||
withReplyEvent:(NSAppleEventDescriptor*)replyEvent {
|
withReplyEvent:(NSAppleEventDescriptor*)replyEvent {
|
||||||
NSString* url = [
|
NSString* url = [
|
||||||
|
|
|
@ -184,16 +184,6 @@ static const CGFloat kAtomWindowCornerRadius = 4.0;
|
||||||
return [super constrainFrameRect:frameRect toScreen:screen];
|
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 {
|
- (id)accessibilityAttributeValue:(NSString*)attribute {
|
||||||
if (![attribute isEqualToString:@"AXChildren"])
|
if (![attribute isEqualToString:@"AXChildren"])
|
||||||
return [super accessibilityAttributeValue:attribute];
|
return [super accessibilityAttributeValue:attribute];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue