diff options
Diffstat (limited to 'WebKit/mac/WebCoreSupport/WebInspectorClient.mm')
-rw-r--r-- | WebKit/mac/WebCoreSupport/WebInspectorClient.mm | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/WebKit/mac/WebCoreSupport/WebInspectorClient.mm b/WebKit/mac/WebCoreSupport/WebInspectorClient.mm index 255e51e..453cd1a 100644 --- a/WebKit/mac/WebCoreSupport/WebInspectorClient.mm +++ b/WebKit/mac/WebCoreSupport/WebInspectorClient.mm @@ -45,7 +45,6 @@ #import <WebKit/DOMCore.h> #import <WebKit/DOMExtensions.h> -#import <WebKit/WebUIDelegate.h> #import <WebKitSystemInterface.h> @@ -164,6 +163,7 @@ void WebInspectorClient::updateWindowTitle() const [preferences setAuthorAndUserStylesEnabled:YES]; [preferences setJavaScriptEnabled:YES]; [preferences setAllowsAnimatedImages:YES]; + [preferences setLoadsImagesAutomatically:YES]; [preferences setPlugInsEnabled:NO]; [preferences setJavaEnabled:NO]; [preferences setUserStyleSheetEnabled:NO]; @@ -175,7 +175,6 @@ void WebInspectorClient::updateWindowTitle() const [_webView setPreferences:preferences]; [_webView setDrawsBackground:NO]; [_webView setProhibitsMainFrameScrolling:YES]; - [_webView setUIDelegate:self]; [preferences release]; @@ -490,7 +489,6 @@ void WebInspectorClient::updateWindowTitle() const } #pragma mark - -#pragma mark Animation delegate - (void)animationDidEnd:(NSAnimation*)animation { @@ -504,13 +502,6 @@ void WebInspectorClient::updateWindowTitle() const } } -#pragma mark - -#pragma mark UI delegate - -- (unsigned)webView:(WebView *)sender dragDestinationActionMaskForDraggingInfo:(id <NSDraggingInfo>)draggingInfo -{ - return WebDragDestinationActionNone; -} #pragma mark - |