OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 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 | 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 #include <algorithm> | 5 #include <algorithm> |
6 #include <string> | 6 #include <string> |
7 | 7 |
8 #include "third_party/npapi/bindings/npapi.h" | 8 #include "third_party/npapi/bindings/npapi.h" |
9 #include "third_party/npapi/bindings/nphostapi.h" | 9 #include "third_party/npapi/bindings/nphostapi.h" |
10 | 10 |
(...skipping 21 matching lines...) Expand all Loading... |
32 | 32 |
33 #if defined(OS_POSIX) && !defined(OS_MACOSX) | 33 #if defined(OS_POSIX) && !defined(OS_MACOSX) |
34 NPError API_CALL NP_Initialize(NPNetscapeFuncs* funcs, NPPluginFuncs* p_funcs); | 34 NPError API_CALL NP_Initialize(NPNetscapeFuncs* funcs, NPPluginFuncs* p_funcs); |
35 #else | 35 #else |
36 NPError API_CALL NP_GetEntryPoints(NPPluginFuncs* funcs); | 36 NPError API_CALL NP_GetEntryPoints(NPPluginFuncs* funcs); |
37 NPError API_CALL NP_Initialize(NPNetscapeFuncs* funcs); | 37 NPError API_CALL NP_Initialize(NPNetscapeFuncs* funcs); |
38 #endif | 38 #endif |
39 NPError API_CALL NP_Shutdown(void); | 39 NPError API_CALL NP_Shutdown(void); |
40 | 40 |
41 } // default_plugin | 41 } // default_plugin |
OLD | NEW |