diff options
Diffstat (limited to 'WebCore/platform/PlatformMenuDescription.h')
-rw-r--r-- | WebCore/platform/PlatformMenuDescription.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/WebCore/platform/PlatformMenuDescription.h b/WebCore/platform/PlatformMenuDescription.h index c986207..5e3541a 100644 --- a/WebCore/platform/PlatformMenuDescription.h +++ b/WebCore/platform/PlatformMenuDescription.h @@ -32,8 +32,6 @@ #else class NSMutableArray; #endif -#elif PLATFORM(WIN) -typedef struct HMENU__* HMENU; #elif PLATFORM(QT) #include <qlist.h> #elif PLATFORM(GTK) @@ -46,10 +44,9 @@ class BMenu; namespace WebCore { +#if !USE(CROSS_PLATFORM_CONTEXT_MENUS) #if PLATFORM(MAC) typedef NSMutableArray* PlatformMenuDescription; -#elif PLATFORM(WIN) - typedef HMENU PlatformMenuDescription; #elif PLATFORM(QT) class ContextMenuItem; typedef const QList<ContextMenuItem>* PlatformMenuDescription; @@ -65,6 +62,7 @@ namespace WebCore { #else typedef void* PlatformMenuDescription; #endif +#endif // !USE(CROSS_PLATFORM_CONTEXT_MENUS) } // namespace |