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

Side by Side Diff: third_party/npapi/bindings/nphostapi.h

Issue 1860753002: Remove third_party/npapi (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@remove_03_content_child_npapi
Patch Set: messed up previous upload Created 4 years, 8 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
« no previous file with comments | « third_party/npapi/bindings/npfunctions.h ('k') | third_party/npapi/bindings/npruntime.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright (c) 2010 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 _NPHOSTAPI_H_
6 #define _NPHOSTAPI_H_
7
8 #include "third_party/npapi/bindings/npapi.h"
9 #include "third_party/npapi/bindings/npapi_extensions.h"
10 #include "third_party/npapi/bindings/npfunctions.h"
11 #include "third_party/npapi/bindings/npruntime.h"
12
13 // Define an OS-neutral wrapper for shared library entry points
14 #if defined(OS_WIN)
15 #define API_CALL __stdcall
16 #else
17 #define API_CALL
18 #endif
19
20 #ifdef __cplusplus
21 extern "C" {
22 #endif
23
24 //
25 // NPAPI library entry points
26 //
27 #if defined(OS_POSIX) && !defined(OS_MACOSX)
28 typedef NPError (API_CALL * NP_InitializeFunc)(NPNetscapeFuncs* pNFuncs,
29 NPPluginFuncs* pPFuncs);
30 #else
31 typedef NPError (API_CALL * NP_InitializeFunc)(NPNetscapeFuncs* pFuncs);
32 typedef NPError (API_CALL * NP_GetEntryPointsFunc)(NPPluginFuncs* pFuncs);
33 #endif
34 typedef NPError (API_CALL * NP_ShutdownFunc)(void);
35
36 #ifdef __cplusplus
37 } // extern "C"
38 #endif
39
40 #endif // _NPHOSTAPI_H_
OLDNEW
« no previous file with comments | « third_party/npapi/bindings/npfunctions.h ('k') | third_party/npapi/bindings/npruntime.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698