| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 // TODO: Did not implement JRIGlobalRef function yet. Not sure if this is used
? | 5 // TODO: Did not implement JRIGlobalRef function yet. Not sure if this is used
? |
| 6 | 6 |
| 7 #ifndef WEBKIT_GLUE_PLUGIN_NPHOSTAPI_H__ | 7 #ifndef WEBKIT_GLUE_PLUGIN_NPHOSTAPI_H__ |
| 8 #define WEBKIT_GLUE_PLUGIN_NPHOSTAPI_H__ | 8 #define WEBKIT_GLUE_PLUGIN_NPHOSTAPI_H__ |
| 9 | 9 |
| 10 #include "base/port.h" | 10 #include "base/port.h" |
| (...skipping 248 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 259 NPN_PushPopupsEnabledStateProcPtr pushpopupsenabledstate; | 259 NPN_PushPopupsEnabledStateProcPtr pushpopupsenabledstate; |
| 260 NPN_PopPopupsEnabledStateProcPtr poppopupsenabledstate; | 260 NPN_PopPopupsEnabledStateProcPtr poppopupsenabledstate; |
| 261 NPN_EnumerateProcPtr enumerate; | 261 NPN_EnumerateProcPtr enumerate; |
| 262 NPN_PluginThreadAsyncCallProcPtr pluginthreadasynccall; | 262 NPN_PluginThreadAsyncCallProcPtr pluginthreadasynccall; |
| 263 NPN_ConstructProcPtr construct; | 263 NPN_ConstructProcPtr construct; |
| 264 } NPNetscapeFuncs; | 264 } NPNetscapeFuncs; |
| 265 | 265 |
| 266 // | 266 // |
| 267 // NPAPI library entry points | 267 // NPAPI library entry points |
| 268 // | 268 // |
| 269 #if defined(OS_LINUX) | 269 #if defined(OS_LINUX) || defined(OS_FREEBSD) |
| 270 typedef NPError (API_CALL * NP_InitializeFunc)(NPNetscapeFuncs* pNFuncs, | 270 typedef NPError (API_CALL * NP_InitializeFunc)(NPNetscapeFuncs* pNFuncs, |
| 271 NPPluginFuncs* pPFuncs); | 271 NPPluginFuncs* pPFuncs); |
| 272 #else | 272 #else |
| 273 typedef NPError (API_CALL * NP_InitializeFunc)(NPNetscapeFuncs* pFuncs); | 273 typedef NPError (API_CALL * NP_InitializeFunc)(NPNetscapeFuncs* pFuncs); |
| 274 typedef NPError (API_CALL * NP_GetEntryPointsFunc)(NPPluginFuncs* pFuncs); | 274 typedef NPError (API_CALL * NP_GetEntryPointsFunc)(NPPluginFuncs* pFuncs); |
| 275 #endif | 275 #endif |
| 276 typedef NPError (API_CALL * NP_ShutdownFunc)(void); | 276 typedef NPError (API_CALL * NP_ShutdownFunc)(void); |
| 277 | 277 |
| 278 #ifdef __cplusplus | 278 #ifdef __cplusplus |
| 279 } // extern "C" | 279 } // extern "C" |
| 280 #endif | 280 #endif |
| 281 | 281 |
| 282 #endif // WEBKIT_GLUE_PLUGIN_NPHOSTAPI_H__ | 282 #endif // WEBKIT_GLUE_PLUGIN_NPHOSTAPI_H__ |
| OLD | NEW |