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

Issue 2729004: Move npapi_layout_test_plugin target to webkit_support to use it from... (Closed)

Created:
10 years, 6 months ago by tkent
Modified:
9 years, 7 months ago
Reviewers:
tony
CC:
chromium-reviews, darin-cc_chromium.org, dpranke+watch_chromium.org, pam+watch_chromium.org
Visibility:
Public.

Description

Move npapi_layout_test_plugin target to webkit_support to use it from WebKit DumpRenderTree. The following code change affects only WebKit DumpRenderTree. * webkit_support.cc - WebPluginImplWithPageDelegate passes a plugin path and MIME type to WebPluginImpl. - CreateWebPlugin checks a MIME type. This is the same logic as test_shell. * test_webplugin_page_delegate.h Creates and returns a WebPluginDelegateImpl instance. BUG=none TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=49372

Patch Set 1 : '' #

Total comments: 4

Patch Set 2 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+131 lines, -88 lines) Patch
M build/all.gyp View 1 chunk +1 line, -1 line 0 comments Download
M chrome/chrome_tests.gypi View 1 chunk +1 line, -1 line 0 comments Download
M webkit/support/test_webplugin_page_delegate.h View 2 chunks +6 lines, -1 line 0 comments Download
M webkit/support/webkit_support.cc View 1 3 chunks +20 lines, -3 lines 0 comments Download
M webkit/support/webkit_support.gyp View 1 1 chunk +3 lines, -0 lines 0 comments Download
A webkit/tools/npapi_layout_test_plugin/npapi_layout_test_plugin.gypi View 1 1 chunk +99 lines, -0 lines 0 comments Download
M webkit/tools/test_shell/test_shell.gypi View 2 chunks +1 line, -82 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
tkent
Note: I'd like to use the npapi_layout_test_plugin for now instead of TestNetscapePlugIn i n WebKitTree ...
10 years, 6 months ago (2010-06-10 01:09:02 UTC) #1
tony
On 2010/06/10 01:09:02, Kent Tamura wrote: > Note: I'd like to use the npapi_layout_test_plugin for ...
10 years, 6 months ago (2010-06-10 01:11:19 UTC) #2
tkent
On 2010/06/10 01:11:19, tony wrote: > What type of build issues? It should work on ...
10 years, 6 months ago (2010-06-10 01:31:31 UTC) #3
tony
Isn't it better to just focus our efforts on using the upstream plugin? I would ...
10 years, 6 months ago (2010-06-10 02:01:41 UTC) #4
tkent
On 2010/06/10 02:01:41, tony wrote: > Isn't it better to just focus our efforts on ...
10 years, 6 months ago (2010-06-10 03:34:59 UTC) #5
tony
You convinced me with the "finding regressions when changing to the upstream plugin" argument. LGTM. ...
10 years, 6 months ago (2010-06-10 04:15:45 UTC) #6
tkent
10 years, 6 months ago (2010-06-10 04:37:43 UTC) #7
Thanks.  I'll commit after confirming try server results.

http://codereview.chromium.org/2729004/diff/4001/1011
File webkit/support/webkit_support.cc (right):

http://codereview.chromium.org/2729004/diff/4001/1011#newcode151
webkit/support/webkit_support.cc:151: const bool allow_wildcard = true;
On 2010/06/10 04:15:46, tony wrote:
> Nit: variable should be named kAllowWildcard since it's const.

Done.

http://codereview.chromium.org/2729004/diff/4001/1013
File webkit/support/webkit_support.gypi (right):

http://codereview.chromium.org/2729004/diff/4001/1013#newcode19
webkit/support/webkit_support.gypi:19: 'npapi_layout_test_plugin',
Oh, it isn't needed.  Removed.

Powered by Google App Engine
This is Rietveld 408576698