mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-08-25 04:57:03 +00:00
CPWebView isLoading method.
This commit is contained in:
+13
-1
@@ -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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user