diff options
author | eroman@chromium.org <eroman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-17 21:43:52 +0000 |
---|---|---|
committer | eroman@chromium.org <eroman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-17 21:43:52 +0000 |
commit | cd3c2291bbb3f49d1523214ca127a784d7c7456c (patch) | |
tree | 9af4d370e600b7c768462d596ef7dad2b435143f /third_party | |
parent | eb855d86a3eeaa1b6fc4940d2eb303a927dd8e6f (diff) | |
download | chromium_src-cd3c2291bbb3f49d1523214ca127a784d7c7456c.zip chromium_src-cd3c2291bbb3f49d1523214ca127a784d7c7456c.tar.gz chromium_src-cd3c2291bbb3f49d1523214ca127a784d7c7456c.tar.bz2 |
Add some definitions to npapi/bindings/npapi.h.
I don't quite understand what all the different versions of npapi.h are about, but this is the minium hackery to get webkit building again.
BUG=https://bugs.webkit.org/show_bug.cgi?id=27385
TBR=evan,jam
Review URL: http://codereview.chromium.org/159029
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21011 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'third_party')
-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) |