webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Protected Member Functions | List of all members
WindowedPluginTest Class Referenceabstract

#include <WindowedPluginTest.h>

Inheritance diagram for WindowedPluginTest:
PluginTest DrawsGradient NPNInvalidateRectInvalidatesWindow WindowGeometryTest DumpWindowRect WindowRegionIsSetToClipRect

Protected Member Functions

 WindowedPluginTest (NPP, const std::string &identifier)
 
HWND window () const
 
HWND testHarnessWindow () const
 
virtual LRESULT wndProc (UINT message, WPARAM, LPARAM, bool &handled)=0
 
virtual NPError NPP_SetWindow (NPP, NPWindow *)
 
- Protected Member Functions inherited from PluginTest
 PluginTest (NPP npp, const std::string &identifier)
 
const std::stringidentifier () const
 
void waitUntilDone ()
 
void notifyDone ()
 

Additional Inherited Members

- Public Member Functions inherited from PluginTest
virtual ~PluginTest ()
 
virtual NPError NPP_New (NPMIMEType pluginType, uint16_t mode, int16_t argc, char *argn[], char *argv[], NPSavedData *saved)
 
virtual NPError NPP_Destroy (NPSavedData **)
 
virtual NPError NPP_SetWindow (NPWindow *)
 
virtual NPError NPP_NewStream (NPMIMEType, NPStream *, NPBool seekable, uint16_t *stype)
 
virtual NPError NPP_DestroyStream (NPStream *, NPReason)
 
virtual int32_t NPP_WriteReady (NPStream *)
 
virtual int32_t NPP_Write (NPStream *, int32_t offset, int32_t len, void *buffer)
 
virtual int16_t NPP_HandleEvent (void *event)
 
virtual bool NPP_URLNotify (const char *url, NPReason, void *notifyData)
 
virtual void NPP_URLRedirectNotify (const char *url, int32_t status, void *notifyData)
 
virtual NPError NPP_GetValue (NPPVariable, void *value)
 
virtual NPError NPP_SetValue (NPNVariable, void *value)
 
NPError NPN_GetURL (const char *url, const char *target)
 
NPError NPN_GetURLNotify (const char *url, const char *target, void *notifyData)
 
NPError NPN_PostURLNotify (const char *url, const char *target, uint32_t len, const char *buf, NPBool file, void *notifyData)
 
NPError NPN_GetValue (NPNVariable, void *value)
 
void NPN_InvalidateRect (NPRect *invalidRect)
 
bool NPN_Invoke (NPObject *, NPIdentifier methodName, const NPVariant *args, uint32_t argCount, NPVariant *result)
 
voidNPN_MemAlloc (uint32_t size)
 
NPIdentifier NPN_GetStringIdentifier (const NPUTF8 *name)
 
NPIdentifier NPN_GetIntIdentifier (int32_t intid)
 
bool NPN_IdentifierIsString (NPIdentifier)
 
NPUTF8NPN_UTF8FromIdentifier (NPIdentifier)
 
int32_t NPN_IntFromIdentifier (NPIdentifier)
 
NPObjectNPN_CreateObject (NPClass *)
 
NPObjectNPN_RetainObject (NPObject *)
 
void NPN_ReleaseObject (NPObject *)
 
bool NPN_RemoveProperty (NPObject *, NPIdentifier propertyName)
 
void NPN_ReleaseVariantValue (NPVariant *)
 
void NPN_URLRedirectResponse (void *notifyData, NPBool allow)
 
bool executeScript (const NPString *, NPVariant *result)
 
void executeScript (const char *)
 
void log (const char *format,...)
 
void registerNPShutdownFunction (void(*)())
 
- Static Public Member Functions inherited from PluginTest
static PluginTestcreate (NPP, const std::string &identifier)
 
static void NP_Shutdown ()
 
static void indicateTestFailure ()
 
- Static Protected Member Functions inherited from PluginTest
static NPNetscapeFuncsnetscapeFuncs ()
 
- Protected Attributes inherited from PluginTest
NPP m_npp
 

Constructor & Destructor Documentation

◆ WindowedPluginTest()

WindowedPluginTest::WindowedPluginTest ( NPP  npp,
const std::string identifier 
)
protected

Member Function Documentation

◆ NPP_SetWindow()

NPError WindowedPluginTest::NPP_SetWindow ( NPP  instance,
NPWindow window 
)
protectedvirtual

◆ testHarnessWindow()

HWND WindowedPluginTest::testHarnessWindow ( ) const
protected

◆ window()

HWND WindowedPluginTest::window ( ) const
inlineprotected

◆ wndProc()

virtual LRESULT WindowedPluginTest::wndProc ( UINT  message,
WPARAM  ,
LPARAM  ,
bool &  handled 
)
protectedpure virtual

The documentation for this class was generated from the following files: