HomeSort by relevance Sort by last modified time
    Searched refs:PluginTest (Results 26 - 50 of 80) sorted by null

12 3 4

  /external/chromium_org/third_party/WebKit/Source/testing/plugin/Tests/
LogNPPSetWindow.cpp 26 #include "PluginTest.h"
32 class LogNPPSetWindow : public PluginTest {
41 : PluginTest(npp, identifier)
61 static PluginTest::Register<LogNPPSetWindow> registrar("log-npp-set-window");
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");
NPRuntimeObjectFromDestroyedPlugin.cpp 26 #include "PluginTest.h"
30 class NPRuntimeObjectFromDestroyedPlugin : public PluginTest {
33 : PluginTest(npp, identifier)
57 return pluginTest()->executeScript(&NPVARIANT_TO_STRING(args[0]), result);
67 if (propertyName != pluginTest()->NPN_GetStringIdentifier("testObject"))
70 NPObject* testObject = TestObject::create(pluginTest());
87 static PluginTest::Register<NPRuntimeObjectFromDestroyedPlugin> npRuntimeObjectFromDestroyedPlugin("npruntime-object-from-destroyed-plugin");
PluginScriptableObjectOverridesAllProperties.cpp 26 #include "PluginTest.h"
33 class PluginScriptableObjectOverridesAllProperties : public PluginTest {
36 : PluginTest(npp, identifier)
59 char* propertyString = pluginTest()->NPN_UTF8FromIdentifier(propertyName);
62 char* resultBuffer = static_cast<char*>(pluginTest()->NPN_MemAlloc(bufferLength));
83 static PluginTest::Register<PluginScriptableObjectOverridesAllProperties> pluginScriptableObjectOverridesAllProperties("plugin-scriptable-object-overrides-all-properties");
SlowNPPNew.cpp 26 #include "PluginTest.h"
32 class SlowNPPNew : public PluginTest {
35 : PluginTest(npp, identifier)
58 char* propertyString = pluginTest()->NPN_UTF8FromIdentifier(propertyName);
61 char* resultBuffer = static_cast<char*>(pluginTest()->NPN_MemAlloc(bufferLength));
87 static PluginTest::Register<SlowNPPNew> slowNPPNew("slow-npp-new");
GetURLWithJavaScriptURL.cpp 26 #include "PluginTest.h"
38 class GetURLWithJavaScriptURL : public PluginTest {
41 : PluginTest(npp, identifier)
112 static PluginTest::Register<GetURLWithJavaScriptURL> getURLWithJavaScriptURLDestroyingPlugin("get-url-with-javascript-url");
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/chromium_org/content/test/plugin/
plugin_arguments_test.h 29 class PluginArgumentsTest : public PluginTest {
34 // Initialize this PluginTest based on the arguments from NPP_New.
plugin_create_instance_in_paint.h 14 class CreateInstanceInPaintTest : public PluginTest {
plugin_delete_plugin_in_deallocate_test.h 17 class DeletePluginInDeallocateTest : public PluginTest {
plugin_delete_plugin_in_stream_test.h 14 class DeletePluginInStreamTest : public PluginTest {
plugin_new_fails_test.cc 10 : PluginTest(id, host_functions) {
plugin_new_fails_test.h 13 class NewFailsTest : public PluginTest {
plugin_private_test.h 15 class PrivateTest : public PluginTest {
19 // Initialize this PluginTest based on the arguments from NPP_New.
plugin_thread_async_call_test.h 18 class PluginThreadAsyncCallTest : public PluginTest {
plugin_windowed_test.h 14 class WindowedPluginTest : public PluginTest {
plugin_javascript_open_popup.cc 20 : PluginTest(id, host_functions),
43 : PluginTest(id, host_functions),
60 return PluginTest::SetWindow(window);
plugin_npobject_lifetime_test.h 18 class NPObjectLifetimeTest : public PluginTest {
43 class NPObjectLifetimeTestInstance2 : public PluginTest {
60 class NPObjectDeletePluginInNPN_Evaluate : public PluginTest {
plugin_request_read_test.cc 13 : PluginTest(id, host_functions),
24 return PluginTest::New(mode, argc, argn, argv, saved);
36 return PluginTest::SetWindow(window);
53 return PluginTest::NewStream(type, stream, seekable, stream_type);
60 return PluginTest::DestroyStream(stream, reason);
plugin_test.h 15 // A PluginTest represents an instance of the plugin, which in
17 class PluginTest {
20 PluginTest(NPP id, NPNetscapeFuncs *host_functions);
23 virtual ~PluginTest();
plugin_execute_stream_javascript.h 14 class ExecuteStreamJavaScript : public PluginTest {
plugin_schedule_timer_test.h 16 class ScheduleTimerTest : public PluginTest {
plugin_windowless_test.h 15 class WindowlessPluginTest : public PluginTest {
plugin_arguments_test.cc 17 : PluginTest(id, host_functions) {
61 return PluginTest::New(mode, argc, argn, argv, saved);
  /external/chromium_org/third_party/WebKit/Source/testing/plugin/
PluginTest.h 53 class PluginTest {
55 static PluginTest* create(NPP, const std::string& identifier);
56 virtual ~PluginTest();
115 static PluginTest* create(NPP npp, const std::string& identifier)
122 PluginTest(NPP npp, const std::string& identifier);
137 static NPObject* create(PluginTest* pluginTest)
139 Object* object = static_cast<Object*>(pluginTest->NPN_CreateObject(npClass()));
141 object->m_pluginTest = pluginTest;
185 return pluginTest()->NPN_GetStringIdentifier(value) == identifier
    [all...]

Completed in 206 milliseconds

12 3 4