Commit 274265e3 authored by beidson's avatar beidson
Browse files

Reviewed by Kevin (Sarge)

        <rdar://problem/5217124> - Re-add mistakenly removed SPI

        * WebView/WebView.mm:
        (-[WebView handleAuthenticationForResource:challenge:fromDataSource:]):
        * WebView/WebViewPrivate.h:



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@21627 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 16885ff7
2007-05-21 Brady Eidson <beidson@apple.com>
Reviewed by Kevin (Sarge)
<rdar://problem/5217124> - Re-add mistakenly removed SPI
* WebView/WebView.mm:
(-[WebView handleAuthenticationForResource:challenge:fromDataSource:]):
* WebView/WebViewPrivate.h:
2007-05-21 Anders Carlsson <andersca@apple.com>
 
Reviewed by Ada.
......
......@@ -76,13 +76,13 @@
#import "WebNSURLRequestExtras.h"
#import "WebNSUserDefaultsExtras.h"
#import "WebNSViewExtras.h"
#import "WebPanelAuthenticationHandler.h"
#import "WebPasteboardHelper.h"
#import "WebPDFView.h"
#import "WebPluginDatabase.h"
#import "WebPolicyDelegate.h"
#import "WebPreferenceKeysPrivate.h"
#import "WebPreferencesPrivate.h"
#import "WebResourceLoadDelegate.h"
#import "WebScriptDebugDelegatePrivate.h"
#import "WebScriptDebugServerPrivate.h"
#import "WebUIDelegate.h"
......@@ -1498,6 +1498,12 @@ WebFrameLoadDelegateImplementationCache WebViewGetFrameLoadDelegateImplementatio
return _private->page->setDefersLoading(defer);
}
- (void)handleAuthenticationForResource:(id)identifier challenge:(NSURLAuthenticationChallenge *)challenge fromDataSource:(WebDataSource *)dataSource
{
NSWindow *window = [self hostWindow] ? [self hostWindow] : [self window];
[[WebPanelAuthenticationHandler sharedHandler] startAuthentication:challenge window:window];
}
@end
@implementation _WebSafeForwarder
......
......@@ -398,6 +398,9 @@ Could be worth adding to the API.
- (BOOL)defersCallbacks; // called by QuickTime plug-in
- (void)setDefersCallbacks:(BOOL)defer; // called by QuickTime plug-in
// Re-adding this for the third time - please see <rdar://problem/5217124> for details
- (void)handleAuthenticationForResource:(id)identifier challenge:(NSURLAuthenticationChallenge *)challenge fromDataSource:(WebDataSource *)dataSource;
@end
@interface WebView (WebViewPrintingPrivate)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment