OLD | NEW |
| (Empty) |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef GPU_GPU_PLUGIN_GPU_PLUGIN_H_ | |
6 #define GPU_GPU_PLUGIN_GPU_PLUGIN_H_ | |
7 | |
8 #include "third_party/npapi/bindings/npapi.h" | |
9 #include "third_party/npapi/bindings/npruntime.h" | |
10 | |
11 typedef struct _NPPluginFuncs NPPluginFuncs; | |
12 typedef struct _NPNetscapeFuncs NPNetscapeFuncs; | |
13 | |
14 namespace gpu_plugin { | |
15 | |
16 // Declarations of NPAPI plugin entry points. | |
17 | |
18 NPError API_CALL NP_GetEntryPoints(NPPluginFuncs* funcs); | |
19 | |
20 #if defined(OS_POSIX) && !defined(OS_MACOSX) | |
21 NPError API_CALL NP_Initialize(NPNetscapeFuncs *browser_funcs, | |
22 NPPluginFuncs* plugin_funcs); | |
23 #else | |
24 NPError API_CALL NP_Initialize(NPNetscapeFuncs* browser_funcs); | |
25 #endif | |
26 | |
27 NPError API_CALL NP_Shutdown(); | |
28 | |
29 } // namespace gpu_plugin | |
30 | |
31 #endif // GPU_GPU_PLUGIN_GPU_PLUGIN_H_ | |
OLD | NEW |