Changeset 1911
- Timestamp:
- 08/23/02 14:25:20 (6 years ago)
- Location:
- trunk/WebKit
- Files:
-
- 4 modified
-
ChangeLog (modified) (1 diff)
-
ChangeLog-2002-12-03 (modified) (1 diff)
-
WebView.subproj/WebFrame.m (modified) (1 diff)
-
WebView.subproj/WebFramePrivate.m (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebKit/ChangeLog
r1902 r1911 1 2002-08-23 Darin Adler <darin@apple.com> 2 3 * WebView.subproj/WebFrame.m: (-[WebFrame reset]): Remove unneeded call to _reset. 4 5 * WebView.subproj/WebFramePrivate.m: (-[WebFrame _setDataSource:]): Add code that 6 removes the KHTML stuff from the frame when switching to another type of view. 7 It would be better to do this at some other level, but without this code, we end 8 up leaving the entire KHTMLView behind when we switch to a non-HTML page. 9 1 10 2002-08-22 Richard Williamson (Local) <rjw@apple.com> 2 11 -
trunk/WebKit/ChangeLog-2002-12-03
r1902 r1911 1 2002-08-23 Darin Adler <darin@apple.com> 2 3 * WebView.subproj/WebFrame.m: (-[WebFrame reset]): Remove unneeded call to _reset. 4 5 * WebView.subproj/WebFramePrivate.m: (-[WebFrame _setDataSource:]): Add code that 6 removes the KHTML stuff from the frame when switching to another type of view. 7 It would be better to do this at some other level, but without this code, we end 8 up leaving the entire KHTMLView behind when we switch to a non-HTML page. 9 1 10 2002-08-22 Richard Williamson (Local) <rjw@apple.com> 2 11 -
trunk/WebKit/WebView.subproj/WebFrame.m
r1880 r1911 218 218 { 219 219 [_private setDataSource: nil]; 220 if ([[self webView] isDocumentHTML]) {221 WebHTMLView *htmlView = (WebHTMLView *)[[self webView] documentView];222 [htmlView _reset];223 }224 220 [_private setWebView: nil]; 225 221 -
trunk/WebKit/WebView.subproj/WebFramePrivate.m
r1882 r1911 129 129 - (void)_setDataSource: (WebDataSource *)ds 130 130 { 131 if ([_private->dataSource isDocumentHTML] && ![ds isDocumentHTML]) { 132 [[self _bridge] removeFromFrame]; 133 } 134 131 135 [_private setDataSource: ds]; 132 136 [ds _setController: [self controller]]; … … 409 413 410 414 if ([ds isDocumentHTML]) { 411 [[ ds_bridge] end];415 [[self _bridge] end]; 412 416 } 413 417