diff options
Diffstat (limited to 'WebKit/mac/WebView/WebUIDelegatePrivate.h')
-rw-r--r-- | WebKit/mac/WebView/WebUIDelegatePrivate.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/WebKit/mac/WebView/WebUIDelegatePrivate.h b/WebKit/mac/WebView/WebUIDelegatePrivate.h index bb4d780..8e67963 100644 --- a/WebKit/mac/WebView/WebUIDelegatePrivate.h +++ b/WebKit/mac/WebView/WebUIDelegatePrivate.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2005, 2006, 2007, 2008 Apple Inc. All rights reserved. + * Copyright (C) 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions @@ -74,6 +74,7 @@ enum { WebMenuItemTagTextDirectionRightToLeft, WebMenuItemTagBaseApplication = 10000 }; +@class WebGeolocation; @class WebSecurityOrigin; @interface NSObject (WebUIDelegatePrivate) @@ -109,5 +110,7 @@ enum { - (BOOL)webView:(WebView *)sender shouldReplaceUploadFile:(NSString *)path usingGeneratedFilename:(NSString **)filename; - (NSString *)webView:(WebView *)sender generateReplacementFile:(NSString *)path; - + +- (BOOL)webView:(WebView *)sender frame:(WebFrame *)frame requestGeolocationPermission:(WebGeolocation *)geolocation securityOrigin:(WebSecurityOrigin *)origin; + @end |