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

Side by Side Diff: third_party/WebKit/WebCore/bridge/npapi.h

Issue 21184: WebKit merge 40722:40785 (part 1) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 11 years, 10 months 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
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 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 101
102 #ifdef XP_WIN 102 #ifdef XP_WIN
103 #include <windows.h> 103 #include <windows.h>
104 #endif 104 #endif
105 105
106 /*----------------------------------------------------------------------*/ 106 /*----------------------------------------------------------------------*/
107 /* Plugin Version Constants */ 107 /* Plugin Version Constants */
108 /*----------------------------------------------------------------------*/ 108 /*----------------------------------------------------------------------*/
109 109
110 #define NP_VERSION_MAJOR 0 110 #define NP_VERSION_MAJOR 0
111 #define NP_VERSION_MINOR 23 111 #define NP_VERSION_MINOR 24
112 112
113 /*----------------------------------------------------------------------*/ 113 /*----------------------------------------------------------------------*/
114 /* Definition of Basic Types */ 114 /* Definition of Basic Types */
115 /*----------------------------------------------------------------------*/ 115 /*----------------------------------------------------------------------*/
116 116
117 #ifndef _UINT16 117 #ifndef _UINT16
118 #define _UINT16 118 #define _UINT16
119 typedef unsigned short uint16; 119 typedef unsigned short uint16;
120 #endif 120 #endif
121 121
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after
336 336
337 NPPVpluginUrlRequestsDisplayedBool = 17, /* Not implemented in WebKit */ 337 NPPVpluginUrlRequestsDisplayedBool = 17, /* Not implemented in WebKit */
338 338
339 /* Checks if the plugin is interested in receiving the http body of 339 /* Checks if the plugin is interested in receiving the http body of
340 * failed http requests (http status != 200). 340 * failed http requests (http status != 200).
341 */ 341 */
342 NPPVpluginWantsAllNetworkStreams = 18, 342 NPPVpluginWantsAllNetworkStreams = 18,
343 343
344 NPPVpluginPrivateModeBool = 19, 344 NPPVpluginPrivateModeBool = 19,
345 345
346 /* Checks to see if the plug-in would like the browser to load the "src" att ribute. */
347 NPPVpluginCancelSrcStream = 20,
348
346 #ifdef XP_MACOSX 349 #ifdef XP_MACOSX
347 /* Used for negotiating drawing models */ 350 /* Used for negotiating drawing models */
348 NPPVpluginDrawingModel = 1000, 351 NPPVpluginDrawingModel = 1000,
349 /* Used for negotiating event models */ 352 /* Used for negotiating event models */
350 NPPVpluginEventModel = 1001, 353 NPPVpluginEventModel = 1001,
351 /* The plug-in text input vtable */ 354 /* The plug-in text input vtable */
352 NPPVpluginTextInputFuncs = 1002, 355 NPPVpluginTextInputFuncs = 1002,
353 /* In the NPDrawingModelCoreAnimation drawing model, the browser asks the pl ug-in for a Core Animation layer. */ 356 /* In the NPDrawingModelCoreAnimation drawing model, the browser asks the pl ug-in for a Core Animation layer. */
354 NPPVpluginCoreAnimationLayer = 1003 357 NPPVpluginCoreAnimationLayer = 1003
355 #endif 358 #endif
(...skipping 374 matching lines...) Expand 10 before | Expand all | Expand 10 after
730 #define NPVERS_HAS_NPRUNTIME_SCRIPTING 14 733 #define NPVERS_HAS_NPRUNTIME_SCRIPTING 14
731 #define NPVERS_HAS_FORM_VALUES 15 /* Not implemented in WebKit; see bug 13061 */ 734 #define NPVERS_HAS_FORM_VALUES 15 /* Not implemented in WebKit; see bug 13061 */
732 #define NPVERS_HAS_POPUPS_ENABLED_STATE 16 /* Not implemented in WebKit */ 735 #define NPVERS_HAS_POPUPS_ENABLED_STATE 16 /* Not implemented in WebKit */
733 #define NPVERS_HAS_RESPONSE_HEADERS 17 736 #define NPVERS_HAS_RESPONSE_HEADERS 17
734 #define NPVERS_HAS_NPOBJECT_ENUM 18 737 #define NPVERS_HAS_NPOBJECT_ENUM 18
735 #define NPVERS_HAS_PLUGIN_THREAD_ASYNC_CALL 19 738 #define NPVERS_HAS_PLUGIN_THREAD_ASYNC_CALL 19
736 #define NPVERS_HAS_ALL_NETWORK_STREAMS 20 739 #define NPVERS_HAS_ALL_NETWORK_STREAMS 20
737 #define NPVERS_HAS_URL_AND_AUTH_INFO 21 740 #define NPVERS_HAS_URL_AND_AUTH_INFO 21
738 #define NPVERS_HAS_PRIVATE_MODE 22 741 #define NPVERS_HAS_PRIVATE_MODE 22
739 #define NPVERS_MACOSX_HAS_EVENT_MODELS 23 742 #define NPVERS_MACOSX_HAS_EVENT_MODELS 23
740 743 #define NPVERS_HAS_CANCEL_SRC_STREAM 24
741 744
742 /*----------------------------------------------------------------------*/ 745 /*----------------------------------------------------------------------*/
743 /* Function Prototypes */ 746 /* Function Prototypes */
744 /*----------------------------------------------------------------------*/ 747 /*----------------------------------------------------------------------*/
745 748
746 #if defined(_WINDOWS) && !defined(WIN32) 749 #if defined(_WINDOWS) && !defined(WIN32)
747 #define NP_LOADDS _loadds 750 #define NP_LOADDS _loadds
748 #else 751 #else
749 #define NP_LOADDS 752 #define NP_LOADDS
750 #endif 753 #endif
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
832 void NPN_PluginThreadAsyncCall(NPP instance, void (*func) (void *), void *userData); 835 void NPN_PluginThreadAsyncCall(NPP instance, void (*func) (void *), void *userData);
833 uint32 NPN_ScheduleTimer(NPP instance, uint32 interval, NPBool repeat, void (*timerFunc)(NPP npp, uint32 timerID)); 836 uint32 NPN_ScheduleTimer(NPP instance, uint32 interval, NPBool repeat, void (*timerFunc)(NPP npp, uint32 timerID));
834 void NPN_UnscheduleTimer(NPP instance, uint32 timerID); 837 void NPN_UnscheduleTimer(NPP instance, uint32 timerID);
835 NPError NPN_PopUpContextMenu(NPP instance, NPMenu* menu); 838 NPError NPN_PopUpContextMenu(NPP instance, NPMenu* menu);
836 839
837 #ifdef __cplusplus 840 #ifdef __cplusplus
838 } /* end extern "C" */ 841 } /* end extern "C" */
839 #endif 842 #endif
840 843
841 #endif /* _NPAPI_H_ */ 844 #endif /* _NPAPI_H_ */
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698