/* WebKitSystemInterface.h Copyright (C) 2005 Apple Computer, Inc. All rights reserved. Public header file. */ #import typedef enum { WKCertificateParseResultSucceeded = 0, WKCertificateParseResultFailed = 1, WKCertificateParseResultPKCS7 = 2, } WKCertificateParseResult; CFStringRef WKCopyCFLocalizationPreferredName(CFStringRef localization); CFStringRef WKSignedPublicKeyAndChallengeString(unsigned keySize, CFStringRef challenge, CFStringRef keyDescription); WKCertificateParseResult WKAddCertificatesToKeychainFromData(const void *bytes, unsigned length); NSString *WKGetPreferredExtensionForMIMEType(NSString *type); NSArray *WKGetExtensionsForMIMEType(NSString *type); NSString *WKGetMIMETypeForExtension(NSString *extension); NSDate *WKGetNSURLResponseLastModifiedDate(NSURLResponse *response); NSTimeInterval WKGetNSURLResponseFreshnessLifetime(NSURLResponse *response); NSTimeInterval WKGetNSURLResponseCalculatedExpiration(NSURLResponse *response); BOOL WKGetNSURLResponseMustRevalidate(NSURLResponse *response); CFStringEncoding WKGetWebDefaultCFStringEncoding(void); float WKSecondsSinceLastInputEvent(); CGColorSpaceRef WKCreateUncorrectedRGBColorSpace(); CGColorSpaceRef WKCreateUncorrectedGrayColorSpace(); CFStringRef WKPreferRGB32Key(); void WKSetNSURLConnectionDefersCallbacks(NSURLConnection *connection, BOOL defers); float WKSecondsSinceLastInputEvent(void); void WKShowKeyAndMain(void); OSStatus WKSyncWindowWithCGAfterMove(WindowRef); unsigned WKCarbonWindowMask(void); void *WKGetNativeWindowFromWindowRef(WindowRef); OSType WKCarbonWindowPropertyCreator(void); OSType WKCarbonWindowPropertyTag(void);