summaryrefslogtreecommitdiffstats
path: root/third_party/npapi/bindings/nphostapi.h
diff options
context:
space:
mode:
authorstuartmorgan@chromium.org <stuartmorgan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-07 20:14:37 +0000
committerstuartmorgan@chromium.org <stuartmorgan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-07 20:14:37 +0000
commit1d04a26fafc509178af419f49ea7031855b7835e (patch)
treecc15d3e3c833492fa9cfa65c254de33abd3a3e79 /third_party/npapi/bindings/nphostapi.h
parent9274ead1c74ef0025072923f14aeaedd2598c0d6 (diff)
downloadchromium_src-1d04a26fafc509178af419f49ea7031855b7835e.zip
chromium_src-1d04a26fafc509178af419f49ea7031855b7835e.tar.gz
chromium_src-1d04a26fafc509178af419f49ea7031855b7835e.tar.bz2
Remove the obsolete JRI bits from the NPAPI headers
BUG=42645 TEST=Existing plugin tests continue to pass; nothing should change. Review URL: http://codereview.chromium.org/2011005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46732 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'third_party/npapi/bindings/nphostapi.h')
-rw-r--r--third_party/npapi/bindings/nphostapi.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/third_party/npapi/bindings/nphostapi.h b/third_party/npapi/bindings/nphostapi.h
index baa2a44..0a37987 100644
--- a/third_party/npapi/bindings/nphostapi.h
+++ b/third_party/npapi/bindings/nphostapi.h
@@ -2,8 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-// TODO: Did not implement JRIGlobalRef function yet. Not sure if this is used?
-
#ifndef _NPHOSTAPI_H_
#define _NPHOSTAPI_H_
@@ -56,7 +54,6 @@ typedef void (*NPP_URLNotifyProcPtr)(NPP instance,
const char* url,
NPReason reason,
void* notifyData);
-typedef void* JRIGlobalRef; //not using this right now
typedef NPError (*NPP_GetValueProcPtr)(NPP instance,
NPPVariable variable,
void *ret_alue);
@@ -240,7 +237,7 @@ typedef struct _NPPluginFuncs {
NPP_PrintProcPtr print;
NPP_HandleEventProcPtr event;
NPP_URLNotifyProcPtr urlnotify;
- JRIGlobalRef javaClass;
+ void* javaClass;
NPP_GetValueProcPtr getvalue;
NPP_SetValueProcPtr setvalue;
} NPPluginFuncs;