summaryrefslogtreecommitdiffstats
path: root/webkit/glue/plugins/plugin_lib_linux.cc
diff options
context:
space:
mode:
authorjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-07 00:24:28 +0000
committerjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-07 00:24:28 +0000
commit0306b3c7e97b23a91f44121b3a798ff6fa8c243f (patch)
tree8c20f9d2ea0f1c069fabd62c38428ad202734f70 /webkit/glue/plugins/plugin_lib_linux.cc
parent1cc48f14278f4bb882d633ab4776b09478e7f668 (diff)
downloadchromium_src-0306b3c7e97b23a91f44121b3a798ff6fa8c243f.zip
chromium_src-0306b3c7e97b23a91f44121b3a798ff6fa8c243f.tar.gz
chromium_src-0306b3c7e97b23a91f44121b3a798ff6fa8c243f.tar.bz2
Implement NPN_GetValueForURL and NPN_SetValueForURL and add a stub for NPN_GetAuthenticationInfo. With these NPAPI functions there's no need to simulate being in Firefox and implement NPN_GetValue for NPNVserviceManager.
TEST=run manual test that Ken added in test\data\plugin over http Review URL: http://codereview.chromium.org/251101 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28200 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/plugins/plugin_lib_linux.cc')
-rw-r--r--webkit/glue/plugins/plugin_lib_linux.cc8
1 files changed, 7 insertions, 1 deletions
diff --git a/webkit/glue/plugins/plugin_lib_linux.cc b/webkit/glue/plugins/plugin_lib_linux.cc
index d925edc..2e196ac 100644
--- a/webkit/glue/plugins/plugin_lib_linux.cc
+++ b/webkit/glue/plugins/plugin_lib_linux.cc
@@ -14,10 +14,16 @@
// These headers must be included in this order to make the declaration gods
// happy.
#include "base/third_party/nspr/prcpucfg_linux.h"
-#include "third_party/mozilla/include/nsplugindefs.h"
namespace {
+// Copied from nsplugindefs.h instead of including the file since it has a bunch
+// of dependencies.
+enum nsPluginVariable {
+ nsPluginVariable_NameString = 1,
+ nsPluginVariable_DescriptionString = 2
+};
+
// Read the ELF header and return true if it is usable on
// the current architecture (e.g. 32-bit ELF on 32-bit build).
// Returns false on other errors as well.