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

Side by Side Diff: gpu/gpu_plugin/gpu_plugin.h

Issue 367002: Added Pepper 3D render context that instantiates the GPU plugin.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 12 months 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 | « gpu/gpu.gyp ('k') | gpu/gpu_plugin/gpu_plugin.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) 2009 The Chromium Authors. All rights reserved. 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 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 #ifndef GPU_GPU_PLUGIN_GPU_PLUGIN_H_ 5 #ifndef GPU_GPU_PLUGIN_GPU_PLUGIN_H_
6 #define GPU_GPU_PLUGIN_GPU_PLUGIN_H_ 6 #define GPU_GPU_PLUGIN_GPU_PLUGIN_H_
7 7
8 #include "third_party/npapi/bindings/npapi.h" 8 #include "third_party/npapi/bindings/npapi.h"
9 #include "third_party/npapi/bindings/npruntime.h" 9 #include "third_party/npapi/bindings/npruntime.h"
10 10
11 typedef struct _NPPluginFuncs NPPluginFuncs; 11 typedef struct _NPPluginFuncs NPPluginFuncs;
12 typedef struct _NPNetscapeFuncs NPNetscapeFuncs; 12 typedef struct _NPNetscapeFuncs NPNetscapeFuncs;
13 13
14 namespace gpu_plugin { 14 namespace gpu_plugin {
15 15
16 // Declarations of NPAPI plugin entry points. 16 // Declarations of NPAPI plugin entry points.
17 17
18 NPError NP_GetEntryPoints(NPPluginFuncs* funcs); 18 NPError API_CALL NP_GetEntryPoints(NPPluginFuncs* funcs);
19 19
20 #if defined(OS_LINUX) 20 #if defined(OS_LINUX)
21 NPError NP_Initialize(NPNetscapeFuncs *browser_funcs, 21 NPError API_CALL NP_Initialize(NPNetscapeFuncs *browser_funcs,
22 NPPluginFuncs* plugin_funcs); 22 NPPluginFuncs* plugin_funcs);
23 #else 23 #else
24 NPError NP_Initialize(NPNetscapeFuncs* browser_funcs); 24 NPError API_CALL NP_Initialize(NPNetscapeFuncs* browser_funcs);
25 #endif 25 #endif
26 26
27 NPError NP_Shutdown(); 27 NPError API_CALL NP_Shutdown();
28 28
29 } // namespace gpu_plugin 29 } // namespace gpu_plugin
30 30
31 #endif // GPU_GPU_PLUGIN_GPU_PLUGIN_H_ 31 #endif // GPU_GPU_PLUGIN_GPU_PLUGIN_H_
OLDNEW
« no previous file with comments | « gpu/gpu.gyp ('k') | gpu/gpu_plugin/gpu_plugin.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698