HomeSort by relevance Sort by last modified time
    Searched refs:pluginTest (Results 1 - 9 of 9) sorted by null

  /external/webkit/Tools/DumpRenderTree/TestNetscapePlugIn/Tests/
NPRuntimeObjectFromDestroyedPlugin.cpp 26 #include "PluginTest.h"
30 class NPRuntimeObjectFromDestroyedPlugin : public PluginTest {
33 : PluginTest(npp, identifier)
46 return propertyName == pluginTest()->NPN_GetStringIdentifier("testObject");
51 if (propertyName != pluginTest()->NPN_GetStringIdentifier("testObject"))
54 NPObject* testObject = TestObject::create(pluginTest());
71 static PluginTest::Register<NPRuntimeObjectFromDestroyedPlugin> npRuntimeObjectFromDestroyedPlugin("npruntime-object-from-destroyed-plugin");
NPRuntimeRemoveProperty.cpp 26 #include "PluginTest.h"
31 class NPRuntimeRemoveProperty : public PluginTest {
34 : PluginTest(npp, identifier)
43 return methodName == pluginTest()->NPN_GetStringIdentifier("testRemoveProperty");
48 assert(methodName == pluginTest()->NPN_GetStringIdentifier("testRemoveProperty"));
64 propertyName = pluginTest()->NPN_GetStringIdentifier(propertyNameString.c_str());
67 propertyName = pluginTest()->NPN_GetIntIdentifier(number);
70 pluginTest()->NPN_RemoveProperty(NPVARIANT_TO_OBJECT(arguments[0]), propertyName);
89 static PluginTest::Register<NPRuntimeRemoveProperty> npRuntimeRemoveProperty("npruntime-remove-property");
NPDeallocateCalledBeforeNPShutdown.cpp 26 #include "PluginTest.h"
32 class NPDeallocateCalledBeforeNPShutdown : public PluginTest {
35 : PluginTest(npp, identifier)
55 return propertyName == pluginTest()->NPN_GetStringIdentifier("testObject");
60 if (propertyName != pluginTest()->NPN_GetStringIdentifier("testObject"))
63 NPObject* testObject = TestObject::create(pluginTest());
93 static PluginTest::Register<NPDeallocateCalledBeforeNPShutdown> npRuntimeObjectFromDestroyedPlugin("np-deallocate-called-before-np-shutdown");
NPPSetWindowCalledDuringDestruction.cpp 26 #include "PluginTest.h"
34 class NPPSetWindowCalledDuringDestruction : public PluginTest {
55 static PluginTest::Register<NPPSetWindowCalledDuringDestruction> registrar("npp-set-window-called-during-destruction");
58 : PluginTest(npp, identifier)
117 return methodName == pluginTest()->NPN_GetStringIdentifier("setWillBeDestroyed");
122 assert(identifier == pluginTest()->NPN_GetStringIdentifier("setWillBeDestroyed"));
123 static_cast<NPPSetWindowCalledDuringDestruction*>(pluginTest())->setWillBeDestroyed();
  /external/webkit/Tools/DumpRenderTree/TestNetscapePlugIn/
PluginObject.h 42 class PluginTest;
50 PluginTest* pluginTest;
PluginTest.h 52 class PluginTest {
54 static PluginTest* create(NPP, const std::string& identifier);
55 virtual ~PluginTest();
95 static PluginTest* create(NPP npp, const std::string& identifier)
102 PluginTest(NPP npp, const std::string& identifier);
115 static NPObject* create(PluginTest* pluginTest)
117 Object* object = static_cast<Object*>(pluginTest->NPN_CreateObject(npClass()));
119 object->m_pluginTest = pluginTest;
164 PluginTest* pluginTest() const { return m_pluginTest;
    [all...]
main.cpp 28 #include "PluginTest.h"
126 PluginTest::NP_Shutdown();
285 obj->pluginTest = PluginTest::create(instance, testIdentifier);
287 if (!obj->pluginTest) {
300 return obj->pluginTest->NPP_New(pluginType, mode, argc, argn, argv, saved);
338 obj->pluginTest->NPP_Destroy(save);
371 return obj->pluginTest->NPP_SetWindow(instance, window);
433 return obj->pluginTest->NPP_DestroyStream(stream, reason);
701 if (obj->pluginTest->NPP_HandleEvent(event) == 1
    [all...]
PluginObject.cpp 30 #include "PluginTest.h"
    [all...]
  /external/webkit/Tools/DumpRenderTree/unix/TestNetscapePlugin/
TestNetscapePlugin.cpp 30 #include "PluginTest.h"
105 obj->pluginTest = PluginTest::create(instance, testIdentifier);
107 return obj->pluginTest->NPP_New(mimetype, mode, argc, argn, argv, savedData);
138 obj->pluginTest->NPP_Destroy(save);
168 return obj->pluginTest->NPP_SetWindow(instance, window);
236 return obj->pluginTest->NPP_DestroyStream(stream, reason);
334 // First, check if the PluginTest object supports getting this value.
335 if (obj && obj->pluginTest->NPP_GetValue(variable, value) == NPERR_NO_ERROR)

Completed in 560 milliseconds