summaryrefslogtreecommitdiffstats
path: root/third_party/npapi
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/npapi')
-rw-r--r--third_party/npapi/bindings/npapi.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/third_party/npapi/bindings/npapi.h b/third_party/npapi/bindings/npapi.h
index 4f08e45..0b335e6 100644
--- a/third_party/npapi/bindings/npapi.h
+++ b/third_party/npapi/bindings/npapi.h
@@ -722,6 +722,7 @@ typedef struct NP_Port
* Non-standard event types that can be passed to HandleEvent
*/
/* BEGIN GOOGLE MODIFICATIONS */
+#ifndef NP_NO_CARBON
enum NPEventType {
NPEventType_GetFocusEvent = (osEvt + 16),
NPEventType_LoseFocusEvent,
@@ -737,6 +738,7 @@ enum NPEventType {
#define loseFocusEvent (osEvt + 17)
#define adjustCursorEvent (osEvt + 18)
#endif
+#endif /* NP_NO_CARBON */
/* END GOOGLE MODIFICATIONS */
#endif /* XP_MACOSX */