diff options
-rw-r--r-- | third_party/npapi/bindings/npapi.h | 31 |
1 files changed, 30 insertions, 1 deletions
diff --git a/third_party/npapi/bindings/npapi.h b/third_party/npapi/bindings/npapi.h index e60ef7a..56853ff 100644 --- a/third_party/npapi/bindings/npapi.h +++ b/third_party/npapi/bindings/npapi.h @@ -435,7 +435,19 @@ typedef enum { * 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 @@ typedef enum { 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 @@ typedef void * NPMenu; #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) |