Commit 79f09b6e authored by darin's avatar darin
Browse files

top level:

        * Tests/WebFoundationC/ifurlhandlec-test.c:
        (run): Remove begin and cancel testing.

WebKit:

	Remove empty handleDidBeginLoading and handleDidCancelLoading
	methods, now that they will never be called.

        * Misc.subproj/WebIconLoader.m:
        * Plugins.subproj/WebPluginStream.m:
        * WebCoreSupport.subproj/WebSubresourceClient.m:
        * WebView.subproj/WebMainResourceClient.m:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@1997 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 9b40a5ef
2002-09-08 Darin Adler <darin@apple.com>
Remove empty handleDidBeginLoading and handleDidCancelLoading
methods, now that they will never be called.
* Misc.subproj/WebIconLoader.m:
* Plugins.subproj/WebPluginStream.m:
* WebCoreSupport.subproj/WebSubresourceClient.m:
* WebView.subproj/WebMainResourceClient.m:
2002-09-08 Darin Adler <darin@apple.com>
Forgot to save out files from the editor in my last change.
......
2002-09-08 Darin Adler <darin@apple.com>
Remove empty handleDidBeginLoading and handleDidCancelLoading
methods, now that they will never be called.
* Misc.subproj/WebIconLoader.m:
* Plugins.subproj/WebPluginStream.m:
* WebCoreSupport.subproj/WebSubresourceClient.m:
* WebView.subproj/WebMainResourceClient.m:
2002-09-08 Darin Adler <darin@apple.com>
Forgot to save out files from the editor in my last change.
......
......@@ -109,14 +109,6 @@ - (NSString *)handleWillUseUserAgent:(WebResourceHandle *)handle forURL:(NSURL *
return nil;
}
- (void)handleDidBeginLoading:(WebResourceHandle *)sender
{
}
- (void)handleDidCancelLoading:(WebResourceHandle *)sender
{
}
- (void)handleDidFinishLoading:(WebResourceHandle *)sender
{
NSImage *icon = [[NSImage alloc] initWithData:_private->resourceData];
......
......@@ -274,10 +274,6 @@ - (NSString *)handleWillUseUserAgent:(WebResourceHandle *)handle forURL:(NSURL *
return [[view webController] userAgentForURL:theURL];
}
- (void)handleDidBeginLoading:(WebResourceHandle *)handle
{
}
- (void)handleDidReceiveData:(WebResourceHandle *)handle data:(NSData *)data
{
ASSERT(resource == handle);
......@@ -307,10 +303,6 @@ - (void)handleDidFinishLoading:(WebResourceHandle *)handle
resource = nil;
}
- (void)handleDidCancelLoading:(WebResourceHandle *)handle
{
}
- (void)cancel
{
if (resource == nil) {
......
......@@ -105,10 +105,6 @@ - (NSString *)handleWillUseUserAgent:(WebResourceHandle *)h forURL:(NSURL *)URL
return [[dataSource controller] userAgentForURL:URL];
}
- (void)handleDidBeginLoading:(WebResourceHandle *)h
{
}
- (void)handleDidReceiveData:(WebResourceHandle *)h data:(NSData *)data
{
ASSERT(handle == h);
......@@ -118,10 +114,6 @@ - (void)handleDidReceiveData:(WebResourceHandle *)h data:(NSData *)data
[loader addData:data];
}
- (void)handleDidCancelLoading:(WebResourceHandle *)h
{
}
- (void)handleDidFinishLoading:(WebResourceHandle *)h
{
ASSERT(handle == h);
......
......@@ -105,10 +105,6 @@ - (NSString *)handleWillUseUserAgent:(WebResourceHandle *)h forURL:(NSURL *)URL
return [[dataSource controller] userAgentForURL:URL];
}
- (void)handleDidBeginLoading:(WebResourceHandle *)h
{
}
- (void)handleDidReceiveData:(WebResourceHandle *)h data:(NSData *)data
{
ASSERT(handle == h);
......@@ -118,10 +114,6 @@ - (void)handleDidReceiveData:(WebResourceHandle *)h data:(NSData *)data
[loader addData:data];
}
- (void)handleDidCancelLoading:(WebResourceHandle *)h
{
}
- (void)handleDidFinishLoading:(WebResourceHandle *)h
{
ASSERT(handle == h);
......
......@@ -115,10 +115,6 @@ - (NSString *)handleWillUseUserAgent:(WebResourceHandle *)handle forURL:(NSURL *
return [[dataSource controller] userAgentForURL:URL];
}
- (void)handleDidBeginLoading:(WebResourceHandle *)handle
{
}
- (void)didCancelWithHandle:(WebResourceHandle *)handle
{
if (currentURL == nil) {
......@@ -140,10 +136,6 @@ - (void)didCancelWithHandle:(WebResourceHandle *)handle
[self didStopLoading];
}
- (void)handleDidCancelLoading:(WebResourceHandle *)handle
{
}
- (void)handleDidFinishLoading:(WebResourceHandle *)handle
{
WEBKITDEBUGLEVEL(WEBKIT_LOG_LOADING, "URL = %s", DEBUG_OBJECT([handle URL]));
......
......@@ -115,10 +115,6 @@ - (NSString *)handleWillUseUserAgent:(WebResourceHandle *)handle forURL:(NSURL *
return [[dataSource controller] userAgentForURL:URL];
}
- (void)handleDidBeginLoading:(WebResourceHandle *)handle
{
}
- (void)didCancelWithHandle:(WebResourceHandle *)handle
{
if (currentURL == nil) {
......@@ -140,10 +136,6 @@ - (void)didCancelWithHandle:(WebResourceHandle *)handle
[self didStopLoading];
}
- (void)handleDidCancelLoading:(WebResourceHandle *)handle
{
}
- (void)handleDidFinishLoading:(WebResourceHandle *)handle
{
WEBKITDEBUGLEVEL(WEBKIT_LOG_LOADING, "URL = %s", DEBUG_OBJECT([handle URL]));
......
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