diff options
Diffstat (limited to 'WebCore/platform/mac')
-rw-r--r-- | WebCore/platform/mac/PopupMenuMac.h | 4 | ||||
-rw-r--r-- | WebCore/platform/mac/PurgeableBufferMac.cpp | 2 | ||||
-rw-r--r-- | WebCore/platform/mac/WebCoreSystemInterface.h | 1 | ||||
-rw-r--r-- | WebCore/platform/mac/WebCoreSystemInterface.mm | 1 |
4 files changed, 7 insertions, 1 deletions
diff --git a/WebCore/platform/mac/PopupMenuMac.h b/WebCore/platform/mac/PopupMenuMac.h index e969fff..8e21913 100644 --- a/WebCore/platform/mac/PopupMenuMac.h +++ b/WebCore/platform/mac/PopupMenuMac.h @@ -26,7 +26,11 @@ #include <wtf/RefCounted.h> #include <wtf/RetainPtr.h> +#ifdef __OBJC__ +@class NSPopUpButtonCell; +#else class NSPopUpButtonCell; +#endif namespace WebCore { diff --git a/WebCore/platform/mac/PurgeableBufferMac.cpp b/WebCore/platform/mac/PurgeableBufferMac.cpp index ce00494..54de4ed 100644 --- a/WebCore/platform/mac/PurgeableBufferMac.cpp +++ b/WebCore/platform/mac/PurgeableBufferMac.cpp @@ -25,7 +25,7 @@ #include "config.h" -#ifndef BUILDING_ON_TIGER +#if ENABLE(PURGEABLE_MEMORY) #include "PurgeableBuffer.h" diff --git a/WebCore/platform/mac/WebCoreSystemInterface.h b/WebCore/platform/mac/WebCoreSystemInterface.h index 1f14311..0cc7fd5 100644 --- a/WebCore/platform/mac/WebCoreSystemInterface.h +++ b/WebCore/platform/mac/WebCoreSystemInterface.h @@ -121,6 +121,7 @@ extern BOOL (*wkMediaControllerThemeAvailable)(int themeStyle); extern void (*wkPopupMenu)(NSMenu*, NSPoint location, float width, NSView*, int selectedItem, NSFont*); extern unsigned (*wkQTIncludeOnlyModernMediaFileTypes)(void); extern int (*wkQTMovieDataRate)(QTMovie*); +extern void (*wkQTMovieDisableComponent)(uint32_t[5]); extern float (*wkQTMovieMaxTimeLoaded)(QTMovie*); extern NSString *(*wkQTMovieMaxTimeLoadedChangeNotification)(void); extern float (*wkQTMovieMaxTimeSeekable)(QTMovie*); diff --git a/WebCore/platform/mac/WebCoreSystemInterface.mm b/WebCore/platform/mac/WebCoreSystemInterface.mm index 2a06f15..309a8fb 100644 --- a/WebCore/platform/mac/WebCoreSystemInterface.mm +++ b/WebCore/platform/mac/WebCoreSystemInterface.mm @@ -56,6 +56,7 @@ void (*wkGetWheelEventDeltas)(NSEvent*, float* deltaX, float* deltaY, BOOL* cont void (*wkPopupMenu)(NSMenu*, NSPoint location, float width, NSView*, int selectedItem, NSFont*); unsigned (*wkQTIncludeOnlyModernMediaFileTypes)(void); int (*wkQTMovieDataRate)(QTMovie*); +void (*wkQTMovieDisableComponent)(uint32_t[5]); float (*wkQTMovieMaxTimeLoaded)(QTMovie*); NSString *(*wkQTMovieMaxTimeLoadedChangeNotification)(void); float (*wkQTMovieMaxTimeSeekable)(QTMovie*); |