2 WebKitSystemInterface.h
3 Copyright (C) 2005 Apple Computer, Inc. All rights reserved.
8 #import <Cocoa/Cocoa.h>
11 WKCertificateParseResultSucceeded = 0,
12 WKCertificateParseResultFailed = 1,
13 WKCertificateParseResultPKCS7 = 2,
14 } WKCertificateParseResult;
16 CFStringRef WKCopyCFLocalizationPreferredName(CFStringRef localization);
17 CFStringRef WKSignedPublicKeyAndChallengeString(unsigned keySize, CFStringRef challenge, CFStringRef keyDescription);
18 WKCertificateParseResult WKAddCertificatesToKeychainFromData(const void *bytes, unsigned length);
20 NSString *WKGetPreferredExtensionForMIMEType(NSString *type);
21 NSArray *WKGetExtensionsForMIMEType(NSString *type);
22 NSString *WKGetMIMETypeForExtension(NSString *extension);
24 NSDate *WKGetNSURLResponseLastModifiedDate(NSURLResponse *response);
25 NSTimeInterval WKGetNSURLResponseFreshnessLifetime(NSURLResponse *response);
26 NSTimeInterval WKGetNSURLResponseCalculatedExpiration(NSURLResponse *response);
27 BOOL WKGetNSURLResponseMustRevalidate(NSURLResponse *response);
29 CFStringEncoding WKGetWebDefaultCFStringEncoding(void);
31 float WKSecondsSinceLastInputEvent();
32 CGColorSpaceRef WKCreateUncorrectedRGBColorSpace();
33 CGColorSpaceRef WKCreateUncorrectedGrayColorSpace();
34 CFStringRef WKPreferRGB32Key();
36 void WKSetNSURLConnectionDefersCallbacks(NSURLConnection *connection, BOOL defers);
37 float WKSecondsSinceLastInputEvent(void);
39 void WKShowKeyAndMain(void);
40 OSStatus WKSyncWindowWithCGAfterMove(WindowRef);
41 unsigned WKCarbonWindowMask(void);
42 void *WKGetNativeWindowFromWindowRef(WindowRef);
43 OSType WKCarbonWindowPropertyCreator(void);
44 OSType WKCarbonWindowPropertyTag(void);