summaryrefslogtreecommitdiffstats
path: root/WebCore/bridge/npapi.h
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/bridge/npapi.h')
-rw-r--r--WebCore/bridge/npapi.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/WebCore/bridge/npapi.h b/WebCore/bridge/npapi.h
index 6b8556d..48e78c0 100644
--- a/WebCore/bridge/npapi.h
+++ b/WebCore/bridge/npapi.h
@@ -528,6 +528,8 @@ typedef struct _NPPrint
#if defined(XP_MACOSX)
#ifndef NP_NO_CARBON
typedef EventRecord NPEvent;
+#else
+typedef void* NPEvent;
#endif
#elif defined(XP_SYMBIAN)
typedef QEvent NPEvent;
@@ -691,10 +693,6 @@ enum NPEventType {
NPEventType_ScrollingBeginsEvent = 1000,
NPEventType_ScrollingEndsEvent
};
-/* Obsolete versions of the above */
-#define getFocusEvent (osEvt + 16)
-#define loseFocusEvent (osEvt + 17)
-#define adjustCursorEvent (osEvt + 18)
#endif /* NP_NO_CARBON */
#endif /* XP_MACOSX */