| 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 472 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 483 } NPDrawingModel; | 483 } NPDrawingModel; |
| 484 | 484 |
| 485 /* | 485 /* |
| 486 * The event model for a Mac OS X plugin. These are the possible values for the
NPNVpluginEventModel variable. | 486 * The event model for a Mac OS X plugin. These are the possible values for the
NPNVpluginEventModel variable. |
| 487 */ | 487 */ |
| 488 | 488 |
| 489 typedef enum { | 489 typedef enum { |
| 490 #ifndef NP_NO_CARBON | 490 #ifndef NP_NO_CARBON |
| 491 NPEventModelCarbon = 0, | 491 NPEventModelCarbon = 0, |
| 492 #endif | 492 #endif |
| 493 NPEventModelCocoa = 1, | 493 NPEventModelCocoa = 1 |
| 494 } NPEventModel; | 494 } NPEventModel; |
| 495 | 495 |
| 496 typedef enum { | 496 typedef enum { |
| 497 NPCocoaEventDrawRect = 1, | 497 NPCocoaEventDrawRect = 1, |
| 498 NPCocoaEventMouseDown, | 498 NPCocoaEventMouseDown, |
| 499 NPCocoaEventMouseUp, | 499 NPCocoaEventMouseUp, |
| 500 NPCocoaEventMouseMoved, | 500 NPCocoaEventMouseMoved, |
| 501 NPCocoaEventMouseEntered, | 501 NPCocoaEventMouseEntered, |
| 502 NPCocoaEventMouseExited, | 502 NPCocoaEventMouseExited, |
| 503 NPCocoaEventMouseDragged, | 503 NPCocoaEventMouseDragged, |
| (...skipping 424 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)); | 928 uint32 NPN_ScheduleTimer(NPP instance, uint32 interval, NPBool repeat, void
(*timerFunc)(NPP npp, uint32 timerID)); |
| 929 void NPN_UnscheduleTimer(NPP instance, uint32 timerID); | 929 void NPN_UnscheduleTimer(NPP instance, uint32 timerID); |
| 930 NPError NPN_PopUpContextMenu(NPP instance, NPMenu* menu); | 930 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); | 931 NPBool NPN_ConvertPoint(NPP instance, double sourceX, double sourceY, NPCoo
rdinateSpace sourceSpace, double *destX, double *destY, NPCoordinateSpace destSp
ace); |
| 932 | 932 |
| 933 #ifdef __cplusplus | 933 #ifdef __cplusplus |
| 934 } /* end extern "C" */ | 934 } /* end extern "C" */ |
| 935 #endif | 935 #endif |
| 936 | 936 |
| 937 #endif /* _NPAPI_H_ */ | 937 #endif /* _NPAPI_H_ */ |
| OLD | NEW |