diff options
author | apatrick@chromium.org <apatrick@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-04 00:56:36 +0000 |
---|---|---|
committer | apatrick@chromium.org <apatrick@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-04 00:56:36 +0000 |
commit | 8ef4d59eff51761c3d2243fb813d088eb2511989 (patch) | |
tree | 0a0398e3523a218eee7501710baf2348bd864172 /gpu/gpu_plugin/gpu_plugin.h | |
parent | 0b537a44c49a3ce217d7e21befd84224d089d588 (diff) | |
download | chromium_src-8ef4d59eff51761c3d2243fb813d088eb2511989.zip chromium_src-8ef4d59eff51761c3d2243fb813d088eb2511989.tar.gz chromium_src-8ef4d59eff51761c3d2243fb813d088eb2511989.tar.bz2 |
Complete the revert of r76825 attempted in r76845.
Drover did not add the deleted gpu_plugin directory.
TEST=none
BUG=none
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76846 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gpu/gpu_plugin/gpu_plugin.h')
-rw-r--r-- | gpu/gpu_plugin/gpu_plugin.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/gpu/gpu_plugin/gpu_plugin.h b/gpu/gpu_plugin/gpu_plugin.h new file mode 100644 index 0000000..05c98a9 --- /dev/null +++ b/gpu/gpu_plugin/gpu_plugin.h @@ -0,0 +1,31 @@ +// Copyright (c) 2009 The Chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +#ifndef GPU_GPU_PLUGIN_GPU_PLUGIN_H_ +#define GPU_GPU_PLUGIN_GPU_PLUGIN_H_ + +#include "third_party/npapi/bindings/npapi.h" +#include "third_party/npapi/bindings/npruntime.h" + +typedef struct _NPPluginFuncs NPPluginFuncs; +typedef struct _NPNetscapeFuncs NPNetscapeFuncs; + +namespace gpu_plugin { + +// Declarations of NPAPI plugin entry points. + +NPError API_CALL NP_GetEntryPoints(NPPluginFuncs* funcs); + +#if defined(OS_POSIX) && !defined(OS_MACOSX) +NPError API_CALL NP_Initialize(NPNetscapeFuncs *browser_funcs, + NPPluginFuncs* plugin_funcs); +#else +NPError API_CALL NP_Initialize(NPNetscapeFuncs* browser_funcs); +#endif + +NPError API_CALL NP_Shutdown(); + +} // namespace gpu_plugin + +#endif // GPU_GPU_PLUGIN_GPU_PLUGIN_H_ |