- passed calls that require WebScriptDebugServer across the client interface
* Loader/WebFrameLoader.m:
(-[WebFrameLoader _finishedLoading]):
(-[WebFrameLoader documentLoader:mainReceivedCompleteError:]):
* Loader/WebFrameLoaderClient.h:
* WebView/WebFrame.m:
(-[WebFrame _dispatchDidLoadMainResourceForDocumentLoader:]):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16917
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2006-10-09 Darin Adler <darin@apple.com>
+
+ Reviewed by Maciej.
+
+ - passed calls that require WebScriptDebugServer across the client interface
+
+ * Loader/WebFrameLoader.m:
+ (-[WebFrameLoader _finishedLoading]):
+ (-[WebFrameLoader documentLoader:mainReceivedCompleteError:]):
+ * Loader/WebFrameLoaderClient.h:
+ * WebView/WebFrame.m:
+ (-[WebFrame _dispatchDidLoadMainResourceForDocumentLoader:]):
+
2006-10-08 Darin Adler <darin@apple.com>
Reviewed by Maciej.
#import "WebNSURLExtras.h"
#import "WebNSURLRequestExtras.h"
#import "WebResourcePrivate.h"
-#import "WebScriptDebugServerPrivate.h"
#import "WebViewInternal.h"
static BOOL isCaseInsensitiveEqual(NSString *a, NSString *b)
}
[[self activeDocumentLoader] setPrimaryLoadComplete:YES];
- if ([WebScriptDebugServer listenerCount])
- [[WebScriptDebugServer sharedScriptDebugServer] webView:[client webView] didLoadMainResourceForDataSource:[self activeDataSource]];
+ [client _dispatchDidLoadMainResourceForDocumentLoader:[self activeDocumentLoader]];
[self checkLoadComplete];
[bridge release];
- (void)documentLoader:(WebDocumentLoader *)loader mainReceivedCompleteError:(NSError *)error
{
[loader setPrimaryLoadComplete:YES];
- if ([WebScriptDebugServer listenerCount])
- [[WebScriptDebugServer sharedScriptDebugServer] webView:[client webView] didLoadMainResourceForDataSource:[self activeDataSource]];
+ [client _dispatchDidLoadMainResourceForDocumentLoader:[self activeDocumentLoader]];
[self checkLoadComplete];
}
- (void)_dispatchDecidePolicyForNavigationAction:(NSDictionary *)action request:(NSURLRequest *)request decisionListener:(WebPolicyDecisionListener *)decisionListener;
- (void)_dispatchUnableToImplementPolicyWithError:(NSError *)error;
+- (void)_dispatchDidLoadMainResourceForDocumentLoader:(WebDocumentLoader *)loader;
+
@end
#import "WebResourceLoadDelegate.h"
#import "WebResourcePrivate.h"
#import "WebScriptDebugDelegatePrivate.h"
+#import "WebScriptDebugServerPrivate.h"
#import "WebUIDelegate.h"
#import "WebViewInternal.h"
#import <WebKit/DOM.h>
[[[[self frameView] _scrollView] contentView] setCopiesOnScroll:YES];
}
+- (void)_dispatchDidLoadMainResourceForDocumentLoader:(WebDocumentLoader *)loader
+{
+ if ([WebScriptDebugServer listenerCount])
+ [[WebScriptDebugServer sharedScriptDebugServer] webView:[self webView]
+ didLoadMainResourceForDataSource:dataSource(loader)];
+}
+
@end