diff options
Diffstat (limited to 'WebKit/mac/WebView/WebViewPrivate.h')
-rw-r--r-- | WebKit/mac/WebView/WebViewPrivate.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/WebKit/mac/WebView/WebViewPrivate.h b/WebKit/mac/WebView/WebViewPrivate.h index 0622d4c..4d1145e 100644 --- a/WebKit/mac/WebView/WebViewPrivate.h +++ b/WebKit/mac/WebView/WebViewPrivate.h @@ -43,6 +43,7 @@ @class NSError; @class WebFrame; +@class WebGeolocationPosition; @class WebInspector; @class WebPreferences; @class WebScriptWorld; @@ -66,6 +67,7 @@ extern NSString *WebElementIsContentEditableKey; // NSNumber indicating whether // other WebElementDictionary keys extern NSString *WebElementLinkIsLiveKey; // NSNumber of BOOL indictating whether the link is live or not +extern NSString *WebElementIsInScrollBarKey; // One of the subviews of the WebView entered compositing mode. extern NSString *_WebViewDidStartAcceleratedCompositingNotification; @@ -507,6 +509,8 @@ Could be worth adding to the API. */ - (void)setCSSAnimationsSuspended:(BOOL)suspended; ++ (void)_setDomainRelaxationForbidden:(BOOL)forbidden forURLScheme:(NSString *)scheme; + @end @interface WebView (WebViewPrintingPrivate) @@ -573,6 +577,20 @@ Could be worth adding to the API. - (BOOL)_selectionIsAll; @end +@protocol WebGeolocationProvider <NSObject> +- (void)registerWebView:(WebView *)webView; +- (void)unregisterWebView:(WebView *)webView; +- (WebGeolocationPosition *)lastPosition; +@end + +@interface WebView (WebViewGeolocation) +- (void)_setGeolocationProvider:(id<WebGeolocationProvider>)locationProvider; +- (id<WebGeolocationProvider>)_geolocationProvider; + +- (void)_geolocationDidChangePosition:(WebGeolocationPosition *)position; +- (void)_geolocationDidFailWithError:(NSError *)error; +@end + @interface NSObject (WebFrameLoadDelegatePrivate) - (void)webView:(WebView *)sender didFirstLayoutInFrame:(WebFrame *)frame; |