diff options
author | Steve Block <steveblock@google.com> | 2011-05-25 19:08:45 +0100 |
---|---|---|
committer | Steve Block <steveblock@google.com> | 2011-06-08 13:51:31 +0100 |
commit | 2bde8e466a4451c7319e3a072d118917957d6554 (patch) | |
tree | 28f4a1b869a513e565c7760d0e6a06e7cf1fe95a /WebKitLibraries/WebKitSystemInterface.h | |
parent | 6939c99b71d9372d14a0c74a772108052e8c48c8 (diff) | |
download | external_webkit-2bde8e466a4451c7319e3a072d118917957d6554.zip external_webkit-2bde8e466a4451c7319e3a072d118917957d6554.tar.gz external_webkit-2bde8e466a4451c7319e3a072d118917957d6554.tar.bz2 |
Merge WebKit at r82507: Initial merge by git
Change-Id: I60ce9d780725b58b45e54165733a8ffee23b683e
Diffstat (limited to 'WebKitLibraries/WebKitSystemInterface.h')
-rw-r--r-- | WebKitLibraries/WebKitSystemInterface.h | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/WebKitLibraries/WebKitSystemInterface.h b/WebKitLibraries/WebKitSystemInterface.h index 4d6703c..3f3c049 100644 --- a/WebKitLibraries/WebKitSystemInterface.h +++ b/WebKitLibraries/WebKitSystemInterface.h @@ -15,6 +15,8 @@ extern "C" { #endif +typedef struct _CFURLResponse* CFURLResponseRef; + typedef enum { WKCertificateParseResultSucceeded = 0, WKCertificateParseResultFailed = 1, @@ -70,6 +72,7 @@ void WKAdvanceDefaultButtonPulseAnimation(NSButtonCell *button); NSString *WKMouseMovedNotification(void); NSString *WKWindowWillOrderOnScreenNotification(void); +NSString *WKWindowWillOrderOffScreenNotification(void); void WKSetNSWindowShouldPostEventNotifications(NSWindow *window, BOOL post); CFTypeID WKGetAXTextMarkerTypeID(void); @@ -239,7 +242,7 @@ NSURLRequest *WKCopyRequestWithStorageSession(CFURLStorageSessionRef, NSURLReque NSCachedURLResponse *WKCachedResponseForRequest(CFURLStorageSessionRef, NSURLRequest*); typedef struct OpaqueCFHTTPCookieStorage* CFHTTPCookieStorageRef; -CFHTTPCookieStorageRef WKCreatePrivateInMemoryHTTPCookieStorage(CFURLStorageSessionRef); +CFHTTPCookieStorageRef WKCopyHTTPCookieStorage(CFURLStorageSessionRef); unsigned WKGetHTTPCookieAcceptPolicy(CFHTTPCookieStorageRef); NSArray *WKHTTPCookiesForURL(CFHTTPCookieStorageRef, NSURL *); void WKSetHTTPCookiesForURL(CFHTTPCookieStorageRef, NSArray *, NSURL *, NSURL *); @@ -386,6 +389,12 @@ CFIndex WKGetHyphenationLocationBeforeIndex(CFStringRef string, CFIndex index); CFArrayRef WKCFURLCacheCopyAllHostNamesInPersistentStore(void); void WKCFURLCacheDeleteHostNamesInPersistentStore(CFArrayRef hostArray); +CFStringRef WKGetCFURLResponseMIMEType(CFURLResponseRef); +CFURLRef WKGetCFURLResponseURL(CFURLResponseRef); +CFHTTPMessageRef WKGetCFURLResponseHTTPResponse(CFURLResponseRef); +CFStringRef WKCopyCFURLResponseSuggestedFilename(CFURLResponseRef); +void WKSetCFURLResponseMIMEType(CFURLResponseRef, CFStringRef mimeType); + #if !defined(BUILDING_ON_TIGER) && !defined(BUILDING_ON_LEOPARD) && !defined(BUILDING_ON_SNOW_LEOPARD) typedef enum { WKSandboxExtensionTypeReadOnly, @@ -404,10 +413,13 @@ const char* WKSandboxExtensionGetSerializedFormat(WKSandboxExtensionRef sandboxE WKSandboxExtensionRef WKSandboxExtensionCreateFromSerializedFormat(const char* serializationFormat, size_t length); typedef struct __WKScrollbarPainter *WKScrollbarPainterRef; +typedef struct __WKScrollbarPainterController *WKScrollbarPainterControllerRef; + WKScrollbarPainterRef WKMakeScrollbarPainter(int controlSize, bool isHorizontal); WKScrollbarPainterRef WKMakeScrollbarReplacementPainter(WKScrollbarPainterRef oldPainter, int newStyle, int controlSize, bool isHorizontal); void WKScrollbarPainterSetDelegate(WKScrollbarPainterRef, id scrollbarPainterDelegate); void WKScrollbarPainterPaint(WKScrollbarPainterRef, bool enabled, double value, CGFloat proportion, CGRect frameRect); +void WKScrollbarPainterForceFlashScrollers(WKScrollbarPainterControllerRef); int WKScrollbarThickness(int controlSize); int WKScrollbarMinimumThumbLength(WKScrollbarPainterRef); int WKScrollbarMinimumTotalLengthNeededForThumb(WKScrollbarPainterRef); @@ -418,7 +430,6 @@ void WKSetScrollbarPainterTrackAlpha(WKScrollbarPainterRef, CGFloat); bool WKScrollbarPainterIsHorizontal(WKScrollbarPainterRef); void WKScrollbarPainterSetOverlayState(WKScrollbarPainterRef, int overlayScrollerState); -typedef struct __WKScrollbarPainterController *WKScrollbarPainterControllerRef; WKScrollbarPainterControllerRef WKMakeScrollbarPainterController(id painterControllerDelegate); void WKSetPainterForPainterController(WKScrollbarPainterControllerRef, WKScrollbarPainterRef, bool isHorizontal); WKScrollbarPainterRef WKVerticalScrollbarPainterForController(WKScrollbarPainterControllerRef); |