Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1310)

Side by Side Diff: webkit/glue/plugins/test/plugin_windowless_test.h

Issue 119052: Fix browser hang due to plugin deadlock... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 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 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_GLUE_PLUGINS_TEST_PLUGIN_EXECUTE_SCRIPT_DELETE_TEST_H 5 #ifndef WEBKIT_GLUE_PLUGINS_TEST_PLUGIN_EXECUTE_SCRIPT_DELETE_TEST_H
6 #define WEBKIT_GLUE_PLUGINS_TEST_PLUGIN_EXECUTE_SCRIPT_DELETE_TEST_H 6 #define WEBKIT_GLUE_PLUGINS_TEST_PLUGIN_EXECUTE_SCRIPT_DELETE_TEST_H
7 7
8 #include "webkit/glue/plugins/test/plugin_test.h" 8 #include "webkit/glue/plugins/test/plugin_test.h"
9 9
10 namespace NPAPIClient { 10 namespace NPAPIClient {
11 11
12 // This class contains a list of windowless plugin tests. Please add additional 12 // This class contains a list of windowless plugin tests. Please add additional
13 // tests to this class. 13 // tests to this class.
14 class WindowlessPluginTest : public PluginTest { 14 class WindowlessPluginTest : public PluginTest {
15 public: 15 public:
16 // Constructor. 16 // Constructor.
17 WindowlessPluginTest(NPP id, NPNetscapeFuncs *host_functions, 17 WindowlessPluginTest(NPP id, NPNetscapeFuncs *host_functions,
18 const std::string& test_name); 18 const std::string& test_name);
19 // NPAPI HandleEvent handler 19 // NPAPI HandleEvent handler
20 virtual int16 HandleEvent(void* event); 20 virtual int16 HandleEvent(void* event);
21 21
22 protected:
23 NPError ExecuteScript(NPNetscapeFuncs* browser, NPP id,
24 const std::string& script, NPVariant* result);
25 void ExecuteScriptDeleteInPaint(NPNetscapeFuncs* browser);
26 void MultipleInstanceSyncCalls(NPNetscapeFuncs* browser);
27
22 private: 28 private:
23 std::string test_name_; 29 std::string test_name_;
24 }; 30 };
25 31
26 } // namespace NPAPIClient 32 } // namespace NPAPIClient
27 33
28 #endif // WEBKIT_GLUE_PLUGINS_TEST_PLUGIN_EXECUTE_SCRIPT_DELETE_TEST_H 34 #endif // WEBKIT_GLUE_PLUGINS_TEST_PLUGIN_EXECUTE_SCRIPT_DELETE_TEST_H
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698