diff options
Diffstat (limited to 'WebKitTools/DumpRenderTree/TestNetscapePlugIn/PluginTest.h')
-rw-r--r-- | WebKitTools/DumpRenderTree/TestNetscapePlugIn/PluginTest.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/WebKitTools/DumpRenderTree/TestNetscapePlugIn/PluginTest.h b/WebKitTools/DumpRenderTree/TestNetscapePlugIn/PluginTest.h index cbc7934..0497764 100644 --- a/WebKitTools/DumpRenderTree/TestNetscapePlugIn/PluginTest.h +++ b/WebKitTools/DumpRenderTree/TestNetscapePlugIn/PluginTest.h @@ -55,11 +55,13 @@ public: virtual ~PluginTest(); // NPP functions. + virtual NPError NPP_Destroy(NPSavedData**); virtual NPError NPP_DestroyStream(NPStream* stream, NPReason reason); virtual NPError NPP_GetValue(NPPVariable, void* value); virtual NPError NPP_SetWindow(NPP, NPWindow*); // NPN functions. + void NPN_InvalidateRect(NPRect* invalidRect); NPIdentifier NPN_GetStringIdentifier(const NPUTF8* name); NPIdentifier NPN_GetIntIdentifier(int32_t intid); NPError NPN_GetValue(NPNVariable, void* value); @@ -88,6 +90,9 @@ protected: const std::string& identifier() const { return m_identifier; } + void waitUntilDone(); + void notifyDone(); + // NPObject helper template. template<typename T> struct Object : NPObject { public: |