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" |
| 11 #include "webkit/glue/pepper/pepper.h" |
11 #include "third_party/npapi/bindings/npapi.h" | 12 #include "third_party/npapi/bindings/npapi.h" |
12 #include "third_party/npapi/bindings/npruntime.h" | 13 #include "third_party/npapi/bindings/npruntime.h" |
13 | 14 |
14 #ifdef __cplusplus | 15 #ifdef __cplusplus |
15 extern "C" { | 16 extern "C" { |
16 #endif | 17 #endif |
17 | 18 |
18 // | 19 // |
19 // NPAPI NPP Function Pointers | 20 // NPAPI NPP Function Pointers |
20 // | 21 // |
(...skipping 283 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
304 typedef NPError (API_CALL * NP_InitializeFunc)(NPNetscapeFuncs* pFuncs); | 305 typedef NPError (API_CALL * NP_InitializeFunc)(NPNetscapeFuncs* pFuncs); |
305 typedef NPError (API_CALL * NP_GetEntryPointsFunc)(NPPluginFuncs* pFuncs); | 306 typedef NPError (API_CALL * NP_GetEntryPointsFunc)(NPPluginFuncs* pFuncs); |
306 #endif | 307 #endif |
307 typedef NPError (API_CALL * NP_ShutdownFunc)(void); | 308 typedef NPError (API_CALL * NP_ShutdownFunc)(void); |
308 | 309 |
309 #ifdef __cplusplus | 310 #ifdef __cplusplus |
310 } // extern "C" | 311 } // extern "C" |
311 #endif | 312 #endif |
312 | 313 |
313 #endif // WEBKIT_GLUE_PLUGIN_NPHOSTAPI_H__ | 314 #endif // WEBKIT_GLUE_PLUGIN_NPHOSTAPI_H__ |
OLD | NEW |