diff --git a/AppKit/CPWebView.j b/AppKit/CPWebView.j index 86a2ff921..6d33d9f8f 100644 --- a/AppKit/CPWebView.j +++ b/AppKit/CPWebView.j @@ -37,7 +37,10 @@ CPWebViewProgressStartedNotification = "CPWebViewProgressStartedNotif CPWebViewProgressFinishedNotification = "CPWebViewProgressFinishedNotification"; /*! - Automatically choose between AppKit (Cappuccino style) scrollbars and native scrollbars. In this mode AppKit scrollbars are always used except when the web view is loaded with a URL which does not appear to pass the same origin policy. + Automatically choose between AppKit (Cappuccino style) scrollbars and + native scrollbars. In this mode AppKit scrollbars are always used except + when the web view is loaded with a URL which does not appear to pass the + same origin policy. */ CPWebViewScrollAuto = 0; /*! @@ -522,6 +525,15 @@ CPWebViewAppKitScrollMaxPollCount = 3; [_frameLoadDelegate webView:self didFinishLoadForFrame:nil]; // FIXME: give this a frame somehow? } +/*! + Returns whether the web view is loading. Note: due to browser limitations + this value is not particularly reliable. +*/ +- (BOOL)isLoading +{ + return _isLoading; +} + /*! Returns the URL of the main frame.