Changeset 160040 in webkit
- Timestamp:
- Dec 3, 2013, 2:32:20 PM (11 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r160036 r160040 1 2013-12-03 Dan Bernstein <mitz@apple.com> 2 3 [Cocoa] Give two load delegate methods more conventional names 4 https://bugs.webkit.org/show_bug.cgi?id=125183 5 6 Reviewed by Anders Carlsson. 7 8 * UIProcess/API/Cocoa/WKBrowsingContextController.mm: 9 (didFailProvisionalLoadWithErrorForFrame): Updated for rename. 10 (didFailLoadWithErrorForFrame): Ditto. 11 * UIProcess/API/Cocoa/WKBrowsingContextLoadDelegate.h: Renamed 12 -browsingContextControllerDidFailProvisionalLoad:withError: to 13 -browsingContextController:didFailProvisionalLoadWithError: and 14 -browsingContextControllerDidFailLoad:withError: to 15 -browsingContextController:didFailLoadWithError:. 16 1 17 2013-12-03 Anders Carlsson <andersca@apple.com> 2 18 -
trunk/Source/WebKit2/UIProcess/API/Cocoa/WKBrowsingContextController.mm
r159988 r160040 364 364 365 365 WKBrowsingContextController *browsingContext = (WKBrowsingContextController *)clientInfo; 366 if ([browsingContext.loadDelegate respondsToSelector:@selector(browsingContextController DidFailProvisionalLoad:withError:)]) {366 if ([browsingContext.loadDelegate respondsToSelector:@selector(browsingContextController:didFailProvisionalLoadWithError:)]) { 367 367 RetainPtr<NSError> nsError = adoptNS(createErrorWithRecoveryAttempter(error, frame, browsingContext)); 368 [browsingContext.loadDelegate browsingContextController DidFailProvisionalLoad:browsingContext withError:nsError.get()];368 [browsingContext.loadDelegate browsingContextController:browsingContext didFailProvisionalLoadWithError:nsError.get()]; 369 369 } 370 370 } … … 396 396 397 397 WKBrowsingContextController *browsingContext = (WKBrowsingContextController *)clientInfo; 398 if ([browsingContext.loadDelegate respondsToSelector:@selector(browsingContextController DidFailLoad:withError:)]) {398 if ([browsingContext.loadDelegate respondsToSelector:@selector(browsingContextController:didFailLoadWithError:)]) { 399 399 RetainPtr<NSError> nsError = adoptNS(createErrorWithRecoveryAttempter(error, frame, browsingContext)); 400 [browsingContext.loadDelegate browsingContextController DidFailLoad:browsingContext withError:nsError.get()];400 [browsingContext.loadDelegate browsingContextController:browsingContext didFailLoadWithError:nsError.get()]; 401 401 } 402 402 } -
trunk/Source/WebKit2/UIProcess/API/Cocoa/WKBrowsingContextLoadDelegate.h
r159874 r160040 38 38 - (void)browsingContextControllerDidReceiveServerRedirectForProvisionalLoad:(WKBrowsingContextController *)sender; 39 39 40 /* Sent if the provi onal load fails. */41 - (void)browsingContextController DidFailProvisionalLoad:(WKBrowsingContextController *)sender withError:(NSError *)error;40 /* Sent if the provisional load fails. */ 41 - (void)browsingContextController:(WKBrowsingContextController *)sender didFailProvisionalLoadWithError:(NSError *)error; 42 42 43 43 /* Sent when the load gets committed. */ … … 48 48 49 49 /* Sent if the commited load fails. */ 50 - (void)browsingContextController DidFailLoad:(WKBrowsingContextController *)sender withError:(NSError *)error;50 - (void)browsingContextController:(WKBrowsingContextController *)sender didFailLoadWithError:(NSError *)error; 51 51 52 52 - (void)browsingContextControllerDidStartProgress:(WKBrowsingContextController *)sender;
Note:
See TracChangeset
for help on using the changeset viewer.