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

Side by Side Diff: trunk/src/content/test/plugin/plugin_test_factory.cc

Issue 63013002: Revert 233297 "Fix windowed NPAPI plugins covering up dialogs on..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 1 month 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 "content/test/plugin/plugin_test_factory.h" 5 #include "content/test/plugin/plugin_test_factory.h"
6 6
7 #include "content/test/plugin/plugin_arguments_test.h" 7 #include "content/test/plugin/plugin_arguments_test.h"
8 #include "content/test/plugin/plugin_delete_plugin_in_stream_test.h" 8 #include "content/test/plugin/plugin_delete_plugin_in_stream_test.h"
9 #include "content/test/plugin/plugin_delete_plugin_in_deallocate_test.h" 9 #include "content/test/plugin/plugin_delete_plugin_in_deallocate_test.h"
10 #include "content/test/plugin/plugin_get_javascript_url_test.h" 10 #include "content/test/plugin/plugin_get_javascript_url_test.h"
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 new_test = new PluginThreadAsyncCallTest(instance, host_functions); 90 new_test = new PluginThreadAsyncCallTest(instance, host_functions);
91 } else if (test_name == "private") { 91 } else if (test_name == "private") {
92 new_test = new PrivateTest(instance, host_functions); 92 new_test = new PrivateTest(instance, host_functions);
93 } else if (test_name == "schedule_timer") { 93 } else if (test_name == "schedule_timer") {
94 new_test = new ScheduleTimerTest(instance, host_functions); 94 new_test = new ScheduleTimerTest(instance, host_functions);
95 #if defined(OS_WIN) 95 #if defined(OS_WIN)
96 // TODO(port): plugin_windowed_test.*. 96 // TODO(port): plugin_windowed_test.*.
97 } else if (test_name == "hidden_plugin" || 97 } else if (test_name == "hidden_plugin" ||
98 test_name == "create_instance_in_paint" || 98 test_name == "create_instance_in_paint" ||
99 test_name == "alert_in_window_message" || 99 test_name == "alert_in_window_message" ||
100 test_name == "ensure_scripting_works_in_destroy" || 100 test_name == "ensure_scripting_works_in_destroy") {
101 test_name == "set_title_in_paint") {
102 new_test = new WindowedPluginTest(instance, host_functions); 101 new_test = new WindowedPluginTest(instance, host_functions);
103 #endif 102 #endif
104 } else if (test_name == "setup") { 103 } else if (test_name == "setup") {
105 // "plugin" is the name for plugin documents. 104 // "plugin" is the name for plugin documents.
106 new_test = new PluginSetupTest(instance, host_functions); 105 new_test = new PluginSetupTest(instance, host_functions);
107 } else if (test_name == "delete_plugin_in_deallocate_test") { 106 } else if (test_name == "delete_plugin_in_deallocate_test") {
108 new_test = new DeletePluginInDeallocateTest(instance, host_functions); 107 new_test = new DeletePluginInDeallocateTest(instance, host_functions);
109 } else if (test_name == "plugin_request_read_single_range") { 108 } else if (test_name == "plugin_request_read_single_range") {
110 new_test = new PluginRequestReadTest(instance, host_functions); 109 new_test = new PluginRequestReadTest(instance, host_functions);
111 } 110 }
112 111
113 return new_test; 112 return new_test;
114 } 113 }
115 114
116 } // namespace NPAPIClient 115 } // namespace NPAPIClient
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698