Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Add a loading property to WKBrowsingContextController
https://bugs.webkit.org/show_bug.cgi?id=125256 Reviewed by Dan Bernstein. Source/WebKit2: * UIProcess/API/Cocoa/WKBrowsingContextController.h: Add loading property. * UIProcess/API/Cocoa/WKBrowsingContextConteroller.mm: Implement willChangeIsLoading and didChangeIsLoading and call the relevant KVO methods. (-[WKBrowsingContextController isLoading]): Call through to the PageLoadState. * UIProcess/PageLoadState.cpp: (WebKit::PageLoadState::reset): Use setState. (WebKit::PageLoadState::isLoading): Call isLoadingState. (WebKit::PageLoadState::didStartProvisionalLoad): Use setState. (WebKit::PageLoadState::didFailProvisionalLoad): Use setState. (WebKit::PageLoadState::didCommitLoad): Use setState. (WebKit::PageLoadState::didFinishLoad): Use setState. (WebKit::PageLoadState::didFailLoad): Use setState. (WebKit::PageLoadState::isLoadingState): Helper function for determining whether a state is a loading state or not. (WebKit::PageLoadState::setState): If setting the state will cause "isLoading" to change, call out to the observers. * UIProcess/PageLoadState.h: Tools: Bind the progress indicator visibility to the "loading" property. * MiniBrowser/mac/WK2BrowserWindowController.m: (-[WK2BrowserWindowController dealloc]): (-[WK2BrowserWindowController awakeFromNib]): (-[WK2BrowserWindowController didStartProgress]): (-[WK2BrowserWindowController didFinishProgress]): Canonical link: https://commits.webkit.org/143355@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@160129 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Anders Carlsson
committed
Dec 4, 2013
1 parent
d1bdaec
commit 5c6c149
Showing
7 changed files
with
140 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters