| OLD | NEW |
| (Empty) |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef CHROME_FRAME_CHROME_FRAME_NPAPI_ENTRYPOINTS_H_ | |
| 6 #define CHROME_FRAME_CHROME_FRAME_NPAPI_ENTRYPOINTS_H_ | |
| 7 | |
| 8 #include "chrome_frame/np_browser_functions.h" | |
| 9 | |
| 10 namespace chrome_frame { | |
| 11 | |
| 12 NPError NPP_New(NPMIMEType plugin_type, NPP instance, uint16 mode, int16 argc, | |
| 13 char* argn[], char* argv[], NPSavedData* saved); | |
| 14 | |
| 15 NPError NPP_Destroy(NPP instance, NPSavedData** save); | |
| 16 | |
| 17 NPError NPP_SetWindow(NPP instance, NPWindow* window_info); | |
| 18 | |
| 19 NPError NPP_NewStream(NPP instance, NPMIMEType type, NPStream* stream, | |
| 20 NPBool seekable, uint16* stream_type); | |
| 21 | |
| 22 NPError NPP_DestroyStream(NPP instance, NPStream* stream, NPReason reason); | |
| 23 | |
| 24 NPError NPP_GetValue(NPP instance, NPPVariable variable, void* value); | |
| 25 | |
| 26 NPError NPP_SetValue(NPP instance, NPNVariable variable, void* value); | |
| 27 | |
| 28 int32 NPP_WriteReady(NPP instance, NPStream* stream); | |
| 29 | |
| 30 int32 NPP_Write(NPP instance, NPStream* stream, int32 offset, int32 len, | |
| 31 void* buffer); | |
| 32 void NPP_URLNotify(NPP instance, const char* url, NPReason reason, | |
| 33 void* notifyData); | |
| 34 | |
| 35 void NPP_Print(NPP instance, NPPrint* print_info); | |
| 36 void NPP_URLRedirectNotify(NPP instance, const char* url, int status, | |
| 37 void* notify_data); | |
| 38 } // namespace chrome_frame | |
| 39 | |
| 40 #endif // CHROME_FRAME_CHROME_FRAME_NPAPI_ENTRYPOINTS_H_ | |
| OLD | NEW |