#ifndef CONTENT_TEST_PLUGIN_PLUGIN_EXECUTE_SCRIPT_DELETE_TEST_H_
#define CONTENT_TEST_PLUGIN_PLUGIN_EXECUTE_SCRIPT_DELETE_TEST_H_
#include "base/compiler_specific.h"
#include "content/test/plugin/plugin_test.h"
namespace NPAPIClient {
class WindowlessPluginTest : public PluginTest {
public:
WindowlessPluginTest(NPP id, NPNetscapeFuncs *host_functions);
virtual bool IsWindowless() const OVERRIDE;
virtual NPError New(uint16 mode, int16 argc, const char* argn[],
const char* argv[], NPSavedData* saved) OVERRIDE;
virtual int16 HandleEvent(void* event) OVERRIDE;
protected:
NPError ExecuteScript(NPNetscapeFuncs* browser, NPP id,
const std::string& script, NPVariant* result);
void ExecuteScriptDeleteInPaint(NPNetscapeFuncs* browser);
void ExecuteScriptResizeInPaint(NPNetscapeFuncs* browser);
void MultipleInstanceSyncCalls(NPNetscapeFuncs* browser);
void ConvertPoint(NPNetscapeFuncs* browser);
int paint_counter_;
};
}
#endif