Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(76)

Side by Side Diff: webkit/glue/plugins/nphostapi.h

Issue 453015: Update the Pepper APIs to the latest spec for the 2D demo plugin.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/deps/reference_builds/
Patch Set: '' Created 11 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « webkit/glue/pepper/pepper.h ('k') | webkit/glue/plugins/plugin_host.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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"
12 #include "third_party/npapi/bindings/npapi.h" 11 #include "third_party/npapi/bindings/npapi.h"
12 #include "third_party/npapi/bindings/npapi_extensions.h"
13 #include "third_party/npapi/bindings/npruntime.h" 13 #include "third_party/npapi/bindings/npruntime.h"
14 14
15 #ifdef __cplusplus 15 #ifdef __cplusplus
16 extern "C" { 16 extern "C" {
17 #endif 17 #endif
18 18
19 // 19 //
20 // NPAPI NPP Function Pointers 20 // NPAPI NPP Function Pointers
21 // 21 //
22 typedef NPError (*NPP_NewProcPtr)(NPMIMEType pluginType, 22 typedef NPError (*NPP_NewProcPtr)(NPMIMEType pluginType,
(...skipping 282 matching lines...) Expand 10 before | Expand all | Expand 10 after
305 typedef NPError (API_CALL * NP_InitializeFunc)(NPNetscapeFuncs* pFuncs); 305 typedef NPError (API_CALL * NP_InitializeFunc)(NPNetscapeFuncs* pFuncs);
306 typedef NPError (API_CALL * NP_GetEntryPointsFunc)(NPPluginFuncs* pFuncs); 306 typedef NPError (API_CALL * NP_GetEntryPointsFunc)(NPPluginFuncs* pFuncs);
307 #endif 307 #endif
308 typedef NPError (API_CALL * NP_ShutdownFunc)(void); 308 typedef NPError (API_CALL * NP_ShutdownFunc)(void);
309 309
310 #ifdef __cplusplus 310 #ifdef __cplusplus
311 } // extern "C" 311 } // extern "C"
312 #endif 312 #endif
313 313
314 #endif // WEBKIT_GLUE_PLUGIN_NPHOSTAPI_H__ 314 #endif // WEBKIT_GLUE_PLUGIN_NPHOSTAPI_H__
OLDNEW
« no previous file with comments | « webkit/glue/pepper/pepper.h ('k') | webkit/glue/plugins/plugin_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698