Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(371)

Side by Side Diff: third_party/npapi/bindings/npapi.h

Issue 342079: A few small changes to make npapi header files useful in the... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | third_party/npapi/bindings/npruntime.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 28 matching lines...) Expand all
39 * Netscape client plug-in API spec 39 * Netscape client plug-in API spec
40 */ 40 */
41 41
42 42
43 #ifndef _NPAPI_H_ 43 #ifndef _NPAPI_H_
44 #define _NPAPI_H_ 44 #define _NPAPI_H_
45 45
46 46
47 /* BEGIN GOOGLE MODIFICATIONS */ 47 /* BEGIN GOOGLE MODIFICATIONS */
48 48
49 #ifdef __native_client__
50 #include <stdint.h>
51 #else
49 #include "base/basictypes.h" 52 #include "base/basictypes.h"
53 #endif /* __native_client__ */
50 54
51 /* END GOOGLE MODIFICATIONS */ 55 /* END GOOGLE MODIFICATIONS */
52 56
53 #ifdef INCLUDE_JAVA 57 #ifdef INCLUDE_JAVA
54 #include "jri.h" /* Java Runtime Interface */ 58 #include "jri.h" /* Java Runtime Interface */
55 #else 59 #else
56 #define jref void * 60 #define jref void *
57 #define JRIEnv void 61 #define JRIEnv void
58 #endif 62 #endif
59 63
(...skipping 315 matching lines...) Expand 10 before | Expand all | Expand 10 after
375 NPPVformValue = 16, /* Not implemented in WebKit */ 379 NPPVformValue = 16, /* Not implemented in WebKit */
376 380
377 NPPVpluginUrlRequestsDisplayedBool = 17, /* Not implemented in WebKit */ 381 NPPVpluginUrlRequestsDisplayedBool = 17, /* Not implemented in WebKit */
378 382
379 /* Checks if the plugin is interested in receiving the http body of 383 /* Checks if the plugin is interested in receiving the http body of
380 * failed http requests (http status != 200). 384 * failed http requests (http status != 200).
381 */ 385 */
382 NPPVpluginWantsAllNetworkStreams = 18, 386 NPPVpluginWantsAllNetworkStreams = 18,
383 387
384 /* Checks to see if the plug-in would like the browser to load the "src" attri bute. */ 388 /* Checks to see if the plug-in would like the browser to load the "src" attri bute. */
385 NPPVpluginCancelSrcStream = 20, 389 NPPVpluginCancelSrcStream = 20
386 390
387 #ifdef XP_MACOSX 391 #ifdef XP_MACOSX
388 /* Used for negotiating drawing models */ 392 /* Used for negotiating drawing models */
389 NPPVpluginDrawingModel = 1000, 393 , NPPVpluginDrawingModel = 1000,
390 /* Used for negotiating event models */ 394 /* Used for negotiating event models */
391 NPPVpluginEventModel = 1001, 395 NPPVpluginEventModel = 1001,
392 /* In the NPDrawingModelCoreAnimation drawing model, the browser asks the plug -in for a Core Animation layer. */ 396 /* In the NPDrawingModelCoreAnimation drawing model, the browser asks the plug -in for a Core Animation layer. */
393 NPPVpluginCoreAnimationLayer = 1003 397 NPPVpluginCoreAnimationLayer = 1003
394 #endif 398 #endif
395 } NPPVariable; 399 } NPPVariable;
396 400
397 /* 401 /*
398 * List of variable names for which NPN_GetValue is implemented by Mozilla 402 * List of variable names for which NPN_GetValue is implemented by Mozilla
399 */ 403 */
(...skipping 524 matching lines...) Expand 10 before | Expand all | Expand 10 after
924 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));
925 void NPN_UnscheduleTimer(NPP instance, uint32 timerID); 929 void NPN_UnscheduleTimer(NPP instance, uint32 timerID);
926 NPError NPN_PopUpContextMenu(NPP instance, NPMenu* menu); 930 NPError NPN_PopUpContextMenu(NPP instance, NPMenu* menu);
927 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);
928 932
929 #ifdef __cplusplus 933 #ifdef __cplusplus
930 } /* end extern "C" */ 934 } /* end extern "C" */
931 #endif 935 #endif
932 936
933 #endif /* _NPAPI_H_ */ 937 #endif /* _NPAPI_H_ */
OLDNEW
« no previous file with comments | « no previous file | third_party/npapi/bindings/npruntime.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698