| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef WEBKIT_PLUGINS_NPAPI_TEST_PLUGIN_EXECUTE_SCRIPT_DELETE_TEST_H_ | 5 #ifndef WEBKIT_PLUGINS_NPAPI_TEST_PLUGIN_EXECUTE_SCRIPT_DELETE_TEST_H_ |
| 6 #define WEBKIT_PLUGINS_NPAPI_TEST_PLUGIN_EXECUTE_SCRIPT_DELETE_TEST_H_ | 6 #define WEBKIT_PLUGINS_NPAPI_TEST_PLUGIN_EXECUTE_SCRIPT_DELETE_TEST_H_ |
| 7 | 7 |
| 8 #include "webkit/plugins/npapi/test/plugin_test.h" | 8 #include "webkit/plugins/npapi/test/plugin_test.h" |
| 9 | 9 |
| 10 namespace NPAPIClient { | 10 namespace NPAPIClient { |
| (...skipping 10 matching lines...) Expand all Loading... |
| 21 | 21 |
| 22 // NPAPI HandleEvent handler | 22 // NPAPI HandleEvent handler |
| 23 virtual NPError New(uint16 mode, int16 argc, const char* argn[], | 23 virtual NPError New(uint16 mode, int16 argc, const char* argn[], |
| 24 const char* argv[], NPSavedData* saved) OVERRIDE; | 24 const char* argv[], NPSavedData* saved) OVERRIDE; |
| 25 virtual int16 HandleEvent(void* event) OVERRIDE; | 25 virtual int16 HandleEvent(void* event) OVERRIDE; |
| 26 | 26 |
| 27 protected: | 27 protected: |
| 28 NPError ExecuteScript(NPNetscapeFuncs* browser, NPP id, | 28 NPError ExecuteScript(NPNetscapeFuncs* browser, NPP id, |
| 29 const std::string& script, NPVariant* result); | 29 const std::string& script, NPVariant* result); |
| 30 void ExecuteScriptDeleteInPaint(NPNetscapeFuncs* browser); | 30 void ExecuteScriptDeleteInPaint(NPNetscapeFuncs* browser); |
| 31 void ExecuteScriptResizeInPaint(NPNetscapeFuncs* browser); |
| 31 void MultipleInstanceSyncCalls(NPNetscapeFuncs* browser); | 32 void MultipleInstanceSyncCalls(NPNetscapeFuncs* browser); |
| 32 void ConvertPoint(NPNetscapeFuncs* browser); | 33 void ConvertPoint(NPNetscapeFuncs* browser); |
| 34 |
| 35 int paint_counter_; |
| 33 }; | 36 }; |
| 34 | 37 |
| 35 } // namespace NPAPIClient | 38 } // namespace NPAPIClient |
| 36 | 39 |
| 37 #endif // WEBKIT_PLUGINS_NPAPI_TEST_PLUGIN_EXECUTE_SCRIPT_DELETE_TEST_H_ | 40 #endif // WEBKIT_PLUGINS_NPAPI_TEST_PLUGIN_EXECUTE_SCRIPT_DELETE_TEST_H_ |
| OLD | NEW |