diff options
Diffstat (limited to 'WebKit/mac/Plugins/WebPluginContainerCheck.h')
-rw-r--r-- | WebKit/mac/Plugins/WebPluginContainerCheck.h | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/WebKit/mac/Plugins/WebPluginContainerCheck.h b/WebKit/mac/Plugins/WebPluginContainerCheck.h index 1b7bbda..419be51 100644 --- a/WebKit/mac/Plugins/WebPluginContainerCheck.h +++ b/WebKit/mac/Plugins/WebPluginContainerCheck.h @@ -30,26 +30,31 @@ @class NSURLRequest; @class NSString; -@class WebPluginController; +@class WebFrame; +@class WebView; @class WebPolicyDecisionListener; +@protocol WebPluginContainerCheckController <NSObject> +- (void)_webPluginContainerCancelCheckIfAllowedToLoadRequest:(id)checkIdentifier; +- (WebFrame *)webFrame; +- (WebView *)webView; +@end + @interface WebPluginContainerCheck : NSObject { NSURLRequest *_request; NSString *_target; - WebPluginController *_controller; + id <WebPluginContainerCheckController> _controller; id _resultObject; SEL _resultSelector; + id _contextInfo; BOOL _done; WebPolicyDecisionListener *_listener; } -+ (id)checkWithRequest:(NSURLRequest *)request target:(NSString *)target resultObject:(id)obj selector:(SEL)selector controller:(WebPluginController *)controller; - -- (id)initWithRequest:(NSURLRequest *)request target:(NSString *)target resultObject:(id)obj selector:(SEL)selector controller:(WebPluginController *)controller; - ++ (id)checkWithRequest:(NSURLRequest *)request target:(NSString *)target resultObject:(id)obj selector:(SEL)selector controller:(id <WebPluginContainerCheckController>)controller contextInfo:(id)/*optional*/contextInfo; - (void)start; - - (void)cancel; +- (id)contextInfo; @end |