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

Unified Diff: webkit/plugins/npapi/plugin_instance.h

Issue 8468026: Cleanup: Remove unneeded forward declarations in webkit/plugins/. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webkit/plugins/npapi/plugin_host.h ('k') | webkit/plugins/npapi/plugin_list.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/plugins/npapi/plugin_instance.h
===================================================================
--- webkit/plugins/npapi/plugin_instance.h (revision 110200)
+++ webkit/plugins/npapi/plugin_instance.h (working copy)
@@ -33,7 +33,6 @@
class PluginHost;
class PluginStream;
class PluginStreamUrl;
-class PluginDataStream;
class WebPlugin;
class WebPluginResourceClient;
@@ -47,7 +46,7 @@
public:
// Create a new instance of a plugin. The PluginInstance
// will hold a reference to the plugin.
- PluginInstance(PluginLib *plugin, const std::string &mime_type);
+ PluginInstance(PluginLib* plugin, const std::string &mime_type);
// Activates the instance by calling NPP_New.
// This should be called after our instance is all
@@ -150,7 +149,7 @@
WebPluginResourceClient* GetRangeRequest(int id);
// Have the plugin create it's script object.
- NPObject *GetPluginScriptableObject();
+ NPObject* GetPluginScriptableObject();
// Returns the form value of this instance.
bool GetFormValue(string16* value);
@@ -169,7 +168,7 @@
// Helper that implements NPN_PluginThreadAsyncCall semantics
void PluginThreadAsyncCall(void (*func)(void *),
- void *userData);
+ void* userData);
uint32 ScheduleTimer(uint32 interval,
NPBool repeat,
@@ -188,15 +187,15 @@
// NPAPI methods for calling the Plugin Instance
//
NPError NPP_New(unsigned short, short, char *[], char *[]);
- NPError NPP_SetWindow(NPWindow *);
- NPError NPP_NewStream(NPMIMEType, NPStream *, NPBool, unsigned short *);
- NPError NPP_DestroyStream(NPStream *, NPReason);
- int NPP_WriteReady(NPStream *);
- int NPP_Write(NPStream *, int, int, void *);
- void NPP_StreamAsFile(NPStream *, const char *);
- void NPP_URLNotify(const char *, NPReason, void *);
- NPError NPP_GetValue(NPPVariable, void *);
- NPError NPP_SetValue(NPNVariable, void *);
+ NPError NPP_SetWindow(NPWindow*);
+ NPError NPP_NewStream(NPMIMEType, NPStream*, NPBool, unsigned short*);
+ NPError NPP_DestroyStream(NPStream*, NPReason);
+ int NPP_WriteReady(NPStream*);
+ int NPP_Write(NPStream*, int, int, void*);
+ void NPP_StreamAsFile(NPStream*, const char*);
+ void NPP_URLNotify(const char*, NPReason, void*);
+ NPError NPP_GetValue(NPPVariable, void*);
+ NPError NPP_SetValue(NPNVariable, void*);
short NPP_HandleEvent(void*);
void NPP_Destroy();
bool NPP_Print(NPPrint* platform_print);
@@ -258,7 +257,7 @@
#endif
~PluginInstance();
- void OnPluginThreadAsyncCall(void (*func)(void *), void *userData);
+ void OnPluginThreadAsyncCall(void (*func)(void *), void* userData);
void OnTimerCall(void (*func)(NPP id, uint32 timer_id),
NPP id, uint32 timer_id);
bool IsValidStream(const NPStream* stream);
« no previous file with comments | « webkit/plugins/npapi/plugin_host.h ('k') | webkit/plugins/npapi/plugin_list.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698