| 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 723 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 734 | 734 |
| 735 #ifdef OBSOLETE | 735 #ifdef OBSOLETE |
| 736 #define getFocusEvent (osEvt + 16) | 736 #define getFocusEvent (osEvt + 16) |
| 737 #define loseFocusEvent (osEvt + 17) | 737 #define loseFocusEvent (osEvt + 17) |
| 738 #define adjustCursorEvent (osEvt + 18) | 738 #define adjustCursorEvent (osEvt + 18) |
| 739 #endif | 739 #endif |
| 740 /* END GOOGLE MODIFICATIONS */ | 740 /* END GOOGLE MODIFICATIONS */ |
| 741 | 741 |
| 742 #endif /* XP_MACOSX */ | 742 #endif /* XP_MACOSX */ |
| 743 | 743 |
| 744 #if !defined(PEPPER_APIS_ENABLED) | |
| 745 /* Stub typedefs for interfaces requiring Pepper types. */ | |
| 746 typedef int NPRenderType; | |
| 747 typedef struct _NPRenderContext NPRenderContext; | |
| 748 typedef struct _NPPepperExtensions NPPepperExtensions; | |
| 749 #endif /* defined(PEPPER_APIS_ENABLED) */ | |
| 750 | |
| 751 /* | 744 /* |
| 752 * Values for mode passed to NPP_New: | 745 * Values for mode passed to NPP_New: |
| 753 */ | 746 */ |
| 754 #define NP_EMBED 1 | 747 #define NP_EMBED 1 |
| 755 #define NP_FULL 2 | 748 #define NP_FULL 2 |
| 756 | 749 |
| 757 /* | 750 /* |
| 758 * Values for stream type passed to NPP_NewStream: | 751 * Values for stream type passed to NPP_NewStream: |
| 759 */ | 752 */ |
| 760 #define NP_NORMAL 1 | 753 #define NP_NORMAL 1 |
| (...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 928 uint32 NPN_ScheduleTimer(NPP instance, uint32 interval, NPBool repeat, void
(*timerFunc)(NPP npp, uint32 timerID)); | 921 uint32 NPN_ScheduleTimer(NPP instance, uint32 interval, NPBool repeat, void
(*timerFunc)(NPP npp, uint32 timerID)); |
| 929 void NPN_UnscheduleTimer(NPP instance, uint32 timerID); | 922 void NPN_UnscheduleTimer(NPP instance, uint32 timerID); |
| 930 NPError NPN_PopUpContextMenu(NPP instance, NPMenu* menu); | 923 NPError NPN_PopUpContextMenu(NPP instance, NPMenu* menu); |
| 931 NPBool NPN_ConvertPoint(NPP instance, double sourceX, double sourceY, NPCoo
rdinateSpace sourceSpace, double *destX, double *destY, NPCoordinateSpace destSp
ace); | 924 NPBool NPN_ConvertPoint(NPP instance, double sourceX, double sourceY, NPCoo
rdinateSpace sourceSpace, double *destX, double *destY, NPCoordinateSpace destSp
ace); |
| 932 | 925 |
| 933 #ifdef __cplusplus | 926 #ifdef __cplusplus |
| 934 } /* end extern "C" */ | 927 } /* end extern "C" */ |
| 935 #endif | 928 #endif |
| 936 | 929 |
| 937 #endif /* _NPAPI_H_ */ | 930 #endif /* _NPAPI_H_ */ |
| OLD | NEW |