| OLD | NEW |
| (Empty) |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef WEBKIT_GLUE_PLUGINS_TEST_PLUGIN_EXECUTE_SCRIPT_DELETE_TEST_H | |
| 6 #define WEBKIT_GLUE_PLUGINS_TEST_PLUGIN_EXECUTE_SCRIPT_DELETE_TEST_H | |
| 7 | |
| 8 #include "webkit/glue/plugins/test/plugin_test.h" | |
| 9 | |
| 10 namespace NPAPIClient { | |
| 11 | |
| 12 // This class contains a list of windowless plugin tests. Please add additional | |
| 13 // tests to this class. | |
| 14 class WindowlessPluginTest : public PluginTest { | |
| 15 public: | |
| 16 // Constructor. | |
| 17 WindowlessPluginTest(NPP id, NPNetscapeFuncs *host_functions); | |
| 18 | |
| 19 // These tests run in windowless plugin mode. | |
| 20 virtual bool IsWindowless() const { return true; } | |
| 21 | |
| 22 // NPAPI HandleEvent handler | |
| 23 virtual int16 HandleEvent(void* event); | |
| 24 | |
| 25 protected: | |
| 26 NPError ExecuteScript(NPNetscapeFuncs* browser, NPP id, | |
| 27 const std::string& script, NPVariant* result); | |
| 28 void ExecuteScriptDeleteInPaint(NPNetscapeFuncs* browser); | |
| 29 void MultipleInstanceSyncCalls(NPNetscapeFuncs* browser); | |
| 30 void ConvertPoint(NPNetscapeFuncs* browser); | |
| 31 }; | |
| 32 | |
| 33 } // namespace NPAPIClient | |
| 34 | |
| 35 #endif // WEBKIT_GLUE_PLUGINS_TEST_PLUGIN_EXECUTE_SCRIPT_DELETE_TEST_H | |
| OLD | NEW |