OLD | NEW |
1 /* ***** BEGIN LICENSE BLOCK ***** | 1 /* ***** BEGIN LICENSE BLOCK ***** |
2 * Version: MPL 1.1/GPL 2.0/LGPL 2.1 | 2 * Version: MPL 1.1/GPL 2.0/LGPL 2.1 |
3 * | 3 * |
4 * The contents of this file are subject to the Mozilla Public License Version | 4 * The contents of this file are subject to the Mozilla Public License Version |
5 * 1.1 (the "License"); you may not use this file except in compliance with | 5 * 1.1 (the "License"); you may not use this file except in compliance with |
6 * the License. You may obtain a copy of the License at | 6 * the License. You may obtain a copy of the License at |
7 * http://www.mozilla.org/MPL/ | 7 * http://www.mozilla.org/MPL/ |
8 * | 8 * |
9 * Software distributed under the License is distributed on an "AS IS" basis, | 9 * Software distributed under the License is distributed on an "AS IS" basis, |
10 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License | 10 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License |
(...skipping 729 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
740 | 740 |
741 #ifdef OBSOLETE | 741 #ifdef OBSOLETE |
742 #define getFocusEvent (osEvt + 16) | 742 #define getFocusEvent (osEvt + 16) |
743 #define loseFocusEvent (osEvt + 17) | 743 #define loseFocusEvent (osEvt + 17) |
744 #define adjustCursorEvent (osEvt + 18) | 744 #define adjustCursorEvent (osEvt + 18) |
745 #endif | 745 #endif |
746 // END GOOGLE MODIFICATIONS | 746 // END GOOGLE MODIFICATIONS |
747 | 747 |
748 #endif /* XP_MACOSX */ | 748 #endif /* XP_MACOSX */ |
749 | 749 |
| 750 /* Stub typedefs for interfaces requiring Pepper types. */ |
| 751 typedef int NPRenderType; |
| 752 typedef struct _NPRenderContext NPRenderContext; |
| 753 |
750 #else // defined(PEPPER_APIS_ENABLED) | 754 #else // defined(PEPPER_APIS_ENABLED) |
751 typedef enum { | 755 typedef enum { |
752 NPMouseButton_None = -1, | 756 NPMouseButton_None = -1, |
753 NPMouseButton_Left = 0, | 757 NPMouseButton_Left = 0, |
754 NPMouseButton_Middle = 1, | 758 NPMouseButton_Middle = 1, |
755 NPMouseButton_Right = 2, | 759 NPMouseButton_Right = 2, |
756 } NPMouseButtons; | 760 } NPMouseButtons; |
757 | 761 |
758 typedef enum { | 762 typedef enum { |
759 NPEventType_Undefined = -1, | 763 NPEventType_Undefined = -1, |
(...skipping 301 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1061 uint32 NPN_ScheduleTimer(NPP instance, uint32 interval, NPBool repeat, void
(*timerFunc)(NPP npp, uint32 timerID)); | 1065 uint32 NPN_ScheduleTimer(NPP instance, uint32 interval, NPBool repeat, void
(*timerFunc)(NPP npp, uint32 timerID)); |
1062 void NPN_UnscheduleTimer(NPP instance, uint32 timerID); | 1066 void NPN_UnscheduleTimer(NPP instance, uint32 timerID); |
1063 NPError NPN_PopUpContextMenu(NPP instance, NPMenu* menu); | 1067 NPError NPN_PopUpContextMenu(NPP instance, NPMenu* menu); |
1064 NPBool NPN_ConvertPoint(NPP instance, double sourceX, double sourceY, NPCoo
rdinateSpace sourceSpace, double *destX, double *destY, NPCoordinateSpace destSp
ace); | 1068 NPBool NPN_ConvertPoint(NPP instance, double sourceX, double sourceY, NPCoo
rdinateSpace sourceSpace, double *destX, double *destY, NPCoordinateSpace destSp
ace); |
1065 | 1069 |
1066 #ifdef __cplusplus | 1070 #ifdef __cplusplus |
1067 } /* end extern "C" */ | 1071 } /* end extern "C" */ |
1068 #endif | 1072 #endif |
1069 | 1073 |
1070 #endif /* _NPAPI_H_ */ | 1074 #endif /* _NPAPI_H_ */ |
OLD | NEW |