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

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

Issue 465040: Added CommandBufferClient, CommandBufferStub and some IPC messages.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
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 | « 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) 2006-2008 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 "gpu/np_utils/np_headers.h" 8 #include "third_party/npapi/bindings/npapi.h"
9 #include "third_party/npapi/bindings/npruntime.h"
9 10
10 typedef struct _NPPluginFuncs NPPluginFuncs; 11 typedef struct _NPPluginFuncs NPPluginFuncs;
11 typedef struct _NPNetscapeFuncs NPNetscapeFuncs; 12 typedef struct _NPNetscapeFuncs NPNetscapeFuncs;
12 13
13 namespace gpu_plugin { 14 namespace gpu_plugin {
14 15
15 // Declarations of NPAPI plugin entry points. 16 // Declarations of NPAPI plugin entry points.
16 17
17 NPError NP_GetEntryPoints(NPPluginFuncs* funcs); 18 NPError NP_GetEntryPoints(NPPluginFuncs* funcs);
18 19
19 #if defined(OS_LINUX) 20 #if defined(OS_LINUX)
20 NPError NP_Initialize(NPNetscapeFuncs *browser_funcs, 21 NPError NP_Initialize(NPNetscapeFuncs *browser_funcs,
21 NPPluginFuncs* plugin_funcs); 22 NPPluginFuncs* plugin_funcs);
22 #else 23 #else
23 NPError NP_Initialize(NPNetscapeFuncs* browser_funcs); 24 NPError NP_Initialize(NPNetscapeFuncs* browser_funcs);
24 #endif 25 #endif
25 26
26 NPError NP_Shutdown(); 27 NPError NP_Shutdown();
27 28
28 } // namespace gpu_plugin 29 } // namespace gpu_plugin
29 30
30 #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