| 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 291 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 302 NPN_GetAuthenticationInfoPtr getauthenticationinfo; | 302 NPN_GetAuthenticationInfoPtr getauthenticationinfo; |
| 303 NPN_ScheduleTimerPtr scheduletimer; | 303 NPN_ScheduleTimerPtr scheduletimer; |
| 304 NPN_UnscheduleTimerPtr unscheduletimer; | 304 NPN_UnscheduleTimerPtr unscheduletimer; |
| 305 NPN_PopUpContextMenuPtr popupcontextmenu; | 305 NPN_PopUpContextMenuPtr popupcontextmenu; |
| 306 NPN_ConvertPointPtr convertpoint; | 306 NPN_ConvertPointPtr convertpoint; |
| 307 } NPNetscapeFuncs; | 307 } NPNetscapeFuncs; |
| 308 | 308 |
| 309 // | 309 // |
| 310 // NPAPI library entry points | 310 // NPAPI library entry points |
| 311 // | 311 // |
| 312 #if defined(OS_LINUX) || defined(OS_FREEBSD) | 312 #if defined(OS_POSIX) && !defined(OS_MACOSX) |
| 313 typedef NPError (API_CALL * NP_InitializeFunc)(NPNetscapeFuncs* pNFuncs, | 313 typedef NPError (API_CALL * NP_InitializeFunc)(NPNetscapeFuncs* pNFuncs, |
| 314 NPPluginFuncs* pPFuncs); | 314 NPPluginFuncs* pPFuncs); |
| 315 #else | 315 #else |
| 316 typedef NPError (API_CALL * NP_InitializeFunc)(NPNetscapeFuncs* pFuncs); | 316 typedef NPError (API_CALL * NP_InitializeFunc)(NPNetscapeFuncs* pFuncs); |
| 317 typedef NPError (API_CALL * NP_GetEntryPointsFunc)(NPPluginFuncs* pFuncs); | 317 typedef NPError (API_CALL * NP_GetEntryPointsFunc)(NPPluginFuncs* pFuncs); |
| 318 #endif | 318 #endif |
| 319 typedef NPError (API_CALL * NP_ShutdownFunc)(void); | 319 typedef NPError (API_CALL * NP_ShutdownFunc)(void); |
| 320 | 320 |
| 321 #ifdef __cplusplus | 321 #ifdef __cplusplus |
| 322 } // extern "C" | 322 } // extern "C" |
| 323 #endif | 323 #endif |
| 324 | 324 |
| 325 #endif // WEBKIT_GLUE_PLUGIN_NPHOSTAPI_H__ | 325 #endif // WEBKIT_GLUE_PLUGIN_NPHOSTAPI_H__ |
| OLD | NEW |