diff options
Diffstat (limited to 'WebKitLibraries/WebKitSystemInterface.h')
-rw-r--r-- | WebKitLibraries/WebKitSystemInterface.h | 56 |
1 files changed, 42 insertions, 14 deletions
diff --git a/WebKitLibraries/WebKitSystemInterface.h b/WebKitLibraries/WebKitSystemInterface.h index 0aca1a7..0efa2f4 100644 --- a/WebKitLibraries/WebKitSystemInterface.h +++ b/WebKitLibraries/WebKitSystemInterface.h @@ -1,6 +1,6 @@ /* WebKitSystemInterface.h - Copyright (C) 2005, 2006, 2007, 2008 Apple Inc. All rights reserved. + Copyright (C) 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. Public header file. */ @@ -179,25 +179,39 @@ void WKGetWheelEventDeltas(NSEvent *, float *deltaX, float *deltaY, BOOL *contin BOOL WKAppVersionCheckLessThan(NSString *, int, double); +typedef enum { + WKMovieTypeUnknown, + WKMovieTypeDownload, + WKMovieTypeStoredStream, + WKMovieTypeLiveStream +} WKMovieType; + +int WKQTMovieGetType(QTMovie* movie); + +unsigned WKQTIncludeOnlyModernMediaFileTypes(void); int WKQTMovieDataRate(QTMovie* movie); float WKQTMovieMaxTimeLoaded(QTMovie* movie); +float WKQTMovieMaxTimeSeekable(QTMovie* movie); +NSString *WKQTMovieMaxTimeLoadedChangeNotification(void); void WKQTMovieViewSetDrawSynchronously(QTMovieView* view, BOOL sync); CFStringRef WKCopyFoundationCacheDirectory(void); typedef enum { WKMediaUIPartFullscreenButton = 0, - WKMediaUIPartMuteButton = 1, - WKMediaUIPartPlayButton = 2, - WKMediaUIPartSeekBackButton = 3, - WKMediaUIPartSeekForwardButton = 4, - WKMediaUIPartSlider = 5, - WKMediaUIPartSliderThumb = 6, - WKMediaUIPartUnMuteButton = 7, - WKMediaUIPartPauseButton = 8, - WKMediaUIPartTimelineContainer = 9, - WKMediaUIPartCurrentTimeDisplay = 10, - WKMediaUIPartTimeRemainingDisplay= 11 + WKMediaUIPartMuteButton, + WKMediaUIPartPlayButton, + WKMediaUIPartSeekBackButton, + WKMediaUIPartSeekForwardButton, + WKMediaUIPartSlider, + WKMediaUIPartSliderThumb, + WKMediaUIPartRewindButton, + WKMediaUIPartSeekToRealtimeButton, + WKMediaUIPartUnMuteButton, + WKMediaUIPartPauseButton, + WKMediaUIPartBackground, + WKMediaUIPartCurrentTimeDisplay, + WKMediaUIPartTimeRemainingDisplay } WKMediaUIPart; typedef enum { @@ -205,10 +219,16 @@ typedef enum { WKMediaControllerThemeQT = 2 } WKMediaControllerThemeStyle; +typedef enum { + WKMediaControllerFlagDisabled = 1 << 0, + WKMediaControllerFlagPressed = 1 << 1, + WKMediaControllerFlagDrawEndCaps = 1 << 3, +} WKMediaControllerThemeState; + BOOL WKHitTestMediaUIPart(int part, int themeStyle, CGRect bounds, CGPoint point); void WKMeasureMediaUIPart(int part, int themeStyle, CGRect *bounds, CGSize *naturalSize); -void WKDrawMediaUIPart(int part, int themeStyle, CGContextRef context, CGRect rect, BOOL active); -void WKDrawMediaSliderTrack(int themeStyle, CGContextRef context, CGRect rect, float timeLoaded, float currentTime, float duration); +void WKDrawMediaUIPart(int part, int themeStyle, CGContextRef context, CGRect rect, unsigned state); +void WKDrawMediaSliderTrack(int themeStyle, CGContextRef context, CGRect rect, float timeLoaded, float currentTime, float duration, unsigned state); #if !defined(BUILDING_ON_TIGER) && !defined(BUILDING_ON_LEOPARD) && defined(__x86_64__) mach_port_t WKInitializeRenderServer(void); @@ -227,11 +247,19 @@ void WKSoftwareCARendererRender(WKSoftwareCARendererRef, CGContextRef, CGRect); CFRunLoopSourceRef WKCreateMIGServerSource(mig_subsystem_t subsystem, mach_port_t serverPort); +NSUInteger WKGetInputPanelWindowStyle(void); + +UInt8 WKGetNSEventKeyChar(NSEvent *); + #endif @class CAPropertyAnimation; void WKSetCAAnimationValueFunction(CAPropertyAnimation*, NSString* function); +unsigned WKInitializeMaximumHTTPConnectionCountPerHost(unsigned preferredConnectionCount); + +BOOL WKIsLatchingWheelEvent(NSEvent *); + #ifdef __cplusplus } #endif |