diff options
Diffstat (limited to 'WebKit/mac/Plugins/WebBaseNetscapePluginView.h')
-rw-r--r-- | WebKit/mac/Plugins/WebBaseNetscapePluginView.h | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/WebKit/mac/Plugins/WebBaseNetscapePluginView.h b/WebKit/mac/Plugins/WebBaseNetscapePluginView.h index ec0a3df..a9fb188 100644 --- a/WebKit/mac/Plugins/WebBaseNetscapePluginView.h +++ b/WebKit/mac/Plugins/WebBaseNetscapePluginView.h @@ -30,7 +30,7 @@ #import <Cocoa/Cocoa.h> #import "WebNetscapePluginPackage.h" - +#import "WebPluginContainerCheck.h" #import <wtf/PassRefPtr.h> #import <wtf/RefPtr.h> #import <wtf/RetainPtr.h> @@ -41,6 +41,7 @@ @class WebView; namespace WebCore { + class CString; class HTMLPlugInElement; } @@ -52,6 +53,7 @@ namespace WebCore { int _mode; + BOOL _triedAndFailedToCreatePlugin; BOOL _loadManually; BOOL _shouldFireTimers; BOOL _isStarted; @@ -78,6 +80,7 @@ namespace WebCore { - (WebNetscapePluginPackage *)pluginPackage; +- (NSURL *)URLWithCString:(const char *)URLCString; - (NSMutableURLRequest *)requestWithURLCString:(const char *)URLCString; // Subclasses must override these. @@ -102,7 +105,24 @@ namespace WebCore { - (void)addWindowObservers; - (void)removeWindowObservers; + +- (BOOL)convertFromX:(double)sourceX andY:(double)sourceY space:(NPCoordinateSpace)sourceSpace + toX:(double *)destX andY:(double *)destY space:(NPCoordinateSpace)destSpace; +- (WebCore::CString)resolvedURLStringForURL:(const char*)url target:(const char*)target; + +- (void)invalidatePluginContentRect:(NSRect)rect; + @end + +namespace WebKit { +#if !defined(BUILDING_ON_TIGER) && !defined(BUILDING_ON_LEOPARD) +WebCore::CString proxiesForURL(NSURL *); +#endif + +bool getAuthenticationInfo(const char* protocolStr, const char* hostStr, int32_t port, const char* schemeStr, const char* realmStr, + WebCore::CString& username, WebCore::CString& password); +} + #endif |