Skip to content

Commit

Permalink
Yeah, those images? They shouldn't be going anywhere.
Browse files Browse the repository at this point in the history
  • Loading branch information
bryanveloso committed Feb 19, 2012
1 parent 9feb161 commit 2e2d4f1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions AppDelegate.m
Expand Up @@ -248,6 +248,11 @@ - (NSUInteger)webView:(WebView *)webView dragDestinationActionMaskForDraggingInf
return WebDragDestinationActionNone; // We shouldn't be able to drag things into the webView.
}

- (NSUInteger)webView:(WebView *)webView dragSourceActionMaskForPoint:(NSPoint)point
{
return WebDragSourceActionNone; // We shouldn't be able to drag the artwork out of the webView.
}

- (NSArray *)webView:(WebView *)sender contextMenuItemsForElement:(NSDictionary *)element defaultMenuItems:(NSArray *)defaultMenuItems
{
return nil; // Disable the webView's contextual menu.
Expand Down

0 comments on commit 2e2d4f1

Please sign in to comment.