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

Side by Side Diff: webkit/plugins/npapi/test/plugin_test_factory.cc

Issue 10855141: Fix race condition with windowless plugin buffers. The problem, which is already fixed for Mac, is … (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix linux Created 8 years, 4 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) 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 #include "webkit/plugins/npapi/test/plugin_test_factory.h" 5 #include "webkit/plugins/npapi/test/plugin_test_factory.h"
6 6
7 #include "webkit/plugins/npapi/test/plugin_arguments_test.h" 7 #include "webkit/plugins/npapi/test/plugin_arguments_test.h"
8 #include "webkit/plugins/npapi/test/plugin_delete_plugin_in_stream_test.h" 8 #include "webkit/plugins/npapi/test/plugin_delete_plugin_in_stream_test.h"
9 #include "webkit/plugins/npapi/test/plugin_delete_plugin_in_deallocate_test.h" 9 #include "webkit/plugins/npapi/test/plugin_delete_plugin_in_deallocate_test.h"
10 #include "webkit/plugins/npapi/test/plugin_get_javascript_url_test.h" 10 #include "webkit/plugins/npapi/test/plugin_get_javascript_url_test.h"
(...skipping 25 matching lines...) Expand all
36 new_test = new PluginArgumentsTest(instance, host_functions); 36 new_test = new PluginArgumentsTest(instance, host_functions);
37 } else if (test_name == "geturl" || test_name == "geturl_404_response" || 37 } else if (test_name == "geturl" || test_name == "geturl_404_response" ||
38 test_name == "geturl_fail_write" || 38 test_name == "geturl_fail_write" ||
39 test_name == "plugin_referrer_test" || 39 test_name == "plugin_referrer_test" ||
40 test_name == "geturlredirectnotify") { 40 test_name == "geturlredirectnotify") {
41 new_test = new PluginGetURLTest(instance, host_functions); 41 new_test = new PluginGetURLTest(instance, host_functions);
42 } else if (test_name == "npobject_identity") { 42 } else if (test_name == "npobject_identity") {
43 new_test = new NPObjectIdentityTest(instance, host_functions); 43 new_test = new NPObjectIdentityTest(instance, host_functions);
44 } else if (test_name == "npobject_proxy") { 44 } else if (test_name == "npobject_proxy") {
45 new_test = new NPObjectProxyTest(instance, host_functions); 45 new_test = new NPObjectProxyTest(instance, host_functions);
46 } else if (test_name == "invoke_js_function_on_create" 46 } else if (test_name == "invoke_js_function_on_create" ||
47 test_name == "resize_during_paint"
47 #if defined(OS_WIN) || defined(OS_MACOSX) 48 #if defined(OS_WIN) || defined(OS_MACOSX)
48 // TODO(port): plugin_windowless_test.*. 49 // TODO(port): plugin_windowless_test.*.
49 || test_name == "execute_script_delete_in_paint" || 50 || test_name == "execute_script_delete_in_paint" ||
50 test_name == "execute_script_delete_in_mouse_up" || 51 test_name == "execute_script_delete_in_mouse_up" ||
51 test_name == "delete_frame_test" || 52 test_name == "delete_frame_test" ||
52 test_name == "multiple_instances_sync_calls" || 53 test_name == "multiple_instances_sync_calls" ||
53 test_name == "no_hang_if_init_crashes" || 54 test_name == "no_hang_if_init_crashes" ||
54 test_name == "convert_point" 55 test_name == "convert_point"
55 #endif 56 #endif
56 ) { 57 ) {
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 // "plugin" is the name for plugin documents. 103 // "plugin" is the name for plugin documents.
103 new_test = new PluginSetupTest(instance, host_functions); 104 new_test = new PluginSetupTest(instance, host_functions);
104 } else if (test_name == "delete_plugin_in_deallocate_test") { 105 } else if (test_name == "delete_plugin_in_deallocate_test") {
105 new_test = new DeletePluginInDeallocateTest(instance, host_functions); 106 new_test = new DeletePluginInDeallocateTest(instance, host_functions);
106 } 107 }
107 108
108 return new_test; 109 return new_test;
109 } 110 }
110 111
111 } // namespace NPAPIClient 112 } // namespace NPAPIClient
OLDNEW
« no previous file with comments | « webkit/plugins/npapi/test/plugin_test.h ('k') | webkit/plugins/npapi/test/plugin_windowless_test.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698