| Index: third_party/npapi/bindings/npapi.h
|
| ===================================================================
|
| --- third_party/npapi/bindings/npapi.h (revision 20983)
|
| +++ third_party/npapi/bindings/npapi.h (working copy)
|
| @@ -435,7 +435,19 @@
|
| * NPN_MemAlloc() to allocate memory for the string data. Introduced
|
| * in Mozilla 1.8b2 (NPAPI minor version 15).
|
| */
|
| - NPPVformValue = 16
|
| + NPPVformValue = 16,
|
| +
|
| +// BEGIN MODIFICATIONS (copied from WebKit/WebCore/bridge/npapi.h)
|
| + NPPVpluginUrlRequestsDisplayedBool = 17, /* Not implemented in WebKit */
|
| +
|
| + /* Checks if the plugin is interested in receiving the http body of
|
| + * failed http requests (http status != 200).
|
| + */
|
| + NPPVpluginWantsAllNetworkStreams = 18,
|
| +
|
| + /* Checks to see if the plug-in would like the browser to load the "src" attribute. */
|
| + NPPVpluginCancelSrcStream = 20,
|
| +// END MODIFICATIONS
|
| #ifdef XP_MACOSX
|
| /* Used for negotiating drawing models */
|
| , NPPVpluginDrawingModel = 1000
|
| @@ -488,6 +500,13 @@
|
| NPNVGtk2
|
| } NPNToolkitType;
|
|
|
| +// BEGIN MODIFICATIONS (copied from WebKit/WebCore/bridge/npapi.h)
|
| +typedef enum {
|
| + NPNURLVCookie = 501,
|
| + NPNURLVProxy
|
| +} NPNURLVariable;
|
| +// END MODIFICATIONS
|
| +
|
| /*
|
| * The type of a NPWindow - it specifies the type of the data structure
|
| * returned in the window field.
|
| @@ -547,6 +566,16 @@
|
| #endif
|
| // END GOOGLE MODIFICATIONS
|
|
|
| +// BEGIN MODIFICATIONS (copied from WebKit/WebCore/bridge/npapi.h)
|
| +typedef enum {
|
| + NPCoordinateSpacePlugin = 1,
|
| + NPCoordinateSpaceWindow,
|
| + NPCoordinateSpaceFlippedWindow,
|
| + NPCoordinateSpaceScreen,
|
| + NPCoordinateSpaceFlippedScreen
|
| +} NPCoordinateSpace;
|
| +// END MODIFICATIONS
|
| +
|
| #ifdef XP_MACOSX
|
| typedef EventRecord NPEvent;
|
| #elif defined(XP_WIN)
|
|
|