Well, I checked the WebView.h, and didn't find the estimateProgress method and the three associated notifications.
Then I searched them in the chrome's whole solution, didn't get any clue too..... 2009/9/28 John Sullivan <[email protected]> > The Chrome and Safari teams have chosen not to display approximate > progress bars for user interface design reasons. > > You can implement a progress bar for a WebKit-based browser by using the > -estimatedProgress method in WebView.h and the associated > notifications WebViewProgressStartedNotification, > WebViewProgressEstimateChangedNotification, > and WebViewProgressFinishedNotification. > > Note that any such progress bar (in any web browser, WebKit-based or not) > is only an approximation, because as a page loads resources, it might > discover additional resources that need to be loaded, so the page cannot > know in advance how much more there is to load. > > John > > On Sep 28, 2009, at 12:14 AM, Jickae Davis wrote: > > I'm wonderring why Chrome and Safari don't add a progress bar which > indicates the progress of loading a html page. > I took a look at all the ViewMsg and ViewHostMsg in Chrome's src, and > didn't find anything related. > So, is that unimpossible to create such a progress bar? > > If it's not so hard, how to achieve that? > _______________________________________________ > webkit-dev mailing list > [email protected] > http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev > > >
_______________________________________________ webkit-dev mailing list [email protected] http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

