Remove context menus.

This commit is contained in:
Corey Johnson 2011-09-26 13:45:49 -07:00
parent 537b6c3fda
commit 807c1926cf

View File

@ -35,6 +35,8 @@
- (void)windowDidLoad {
[super windowDidLoad];
[webView setUIDelegate:self];
[self setShouldCascadeWindows:YES];
[self setWindowFrameAutosaveName:@"atomWindow"];
@ -66,4 +68,11 @@
return [jscocoa toBool:returnValue];
}
// WebUIDelegate Protocol
- (NSArray *)webView:(WebView *)sender contextMenuItemsForElement:(NSDictionary *)element defaultMenuItems:(NSArray *)defaultMenuItems {
NSLog(@"WHAT!");
return [NSArray array];
}
@end