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

Issue 1073003: Added a test for pepper3d. It ensures that we can successfully load a pepper ... (Closed)

Created:
10 years, 9 months ago by alokp
Modified:
9 years, 6 months ago
CC:
chromium-reviews, darin-cc_chromium.org, dpranke+watch_chromium.org, pam+watch_chromium.org, jam, Paweł Hajdan Jr.
Visibility:
Public.

Description

Added a test for pepper3d. It ensures that we can successfully load a pepper 3d plugin and render. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=42793

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 20

Patch Set 3 : '' #

Patch Set 4 : '' #

Patch Set 5 : '' #

Patch Set 6 : '' #

Patch Set 7 : '' #

Patch Set 8 : '' #

Total comments: 6

Patch Set 9 : '' #

Patch Set 10 : '' #

Patch Set 11 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+615 lines, -185 lines) Patch
M build/all.gyp View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/chrome_tests.gypi View 4 5 6 3 chunks +2 lines, -6 lines 0 comments Download
A chrome/test/data/pepper/pepper_3d.html View 1 chunk +13 lines, -0 lines 0 comments Download
M chrome/test/ui/npapi_test_helper.h View 1 2 3 2 chunks +7 lines, -7 lines 0 comments Download
M chrome/test/ui/npapi_test_helper.cc View 1 2 3 4 5 2 chunks +5 lines, -12 lines 0 comments Download
M chrome/test/ui/npapi_uitest.cc View 1 2 3 1 chunk +4 lines, -4 lines 0 comments Download
A chrome/test/ui/pepper_uitest.cc View 4 1 chunk +42 lines, -0 lines 0 comments Download
M webkit/glue/plugins/test/npapi_test.rc View 2 3 1 chunk +7 lines, -7 lines 0 comments Download
M webkit/glue/plugins/test/plugin_client.cc View 1 2 3 3 chunks +14 lines, -119 lines 0 comments Download
M webkit/glue/plugins/test/plugin_create_instance_in_paint.cc View 9 1 chunk +3 lines, -0 lines 0 comments Download
M webkit/glue/plugins/test/plugin_delete_plugin_in_stream_test.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M webkit/glue/plugins/test/plugin_get_javascript_url2_test.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M webkit/glue/plugins/test/plugin_get_javascript_url_test.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M webkit/glue/plugins/test/plugin_geturl_test.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M webkit/glue/plugins/test/plugin_javascript_open_popup.cc View 9 2 chunks +7 lines, -1 line 0 comments Download
M webkit/glue/plugins/test/plugin_npobject_lifetime_test.cc View 9 3 chunks +9 lines, -0 lines 0 comments Download
M webkit/glue/plugins/test/plugin_npobject_proxy_test.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M webkit/glue/plugins/test/plugin_test.h View 1 chunk +3 lines, -0 lines 0 comments Download
A webkit/glue/plugins/test/plugin_test_factory.h View 4 5 6 7 8 1 chunk +22 lines, -0 lines 0 comments Download
A webkit/glue/plugins/test/plugin_test_factory.cc View 4 5 6 7 8 9 10 1 chunk +97 lines, -0 lines 0 comments Download
M webkit/glue/plugins/test/plugin_window_size_test.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M webkit/glue/plugins/test/plugin_windowed_test.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M webkit/glue/plugins/test/plugin_windowless_test.h View 2 chunks +5 lines, -5 lines 0 comments Download
M webkit/glue/plugins/test/plugin_windowless_test.cc View 4 5 6 7 8 2 chunks +8 lines, -9 lines 0 comments Download
M webkit/glue/plugins/test/resource.h View 2 3 1 chunk +3 lines, -6 lines 0 comments Download
A webkit/tools/pepper_test_plugin/pepper_3d_test.h View 1 chunk +56 lines, -0 lines 0 comments Download
A webkit/tools/pepper_test_plugin/pepper_3d_test.cc View 4 5 6 7 8 1 chunk +198 lines, -0 lines 0 comments Download
A webkit/tools/pepper_test_plugin/pepper_test_factory.cc View 4 5 6 7 8 9 10 1 chunk +23 lines, -0 lines 0 comments Download
A webkit/tools/pepper_test_plugin/pepper_test_plugin.cc View 1 chunk +25 lines, -0 lines 0 comments Download
M webkit/tools/test_shell/test_shell.gypi View 1 2 3 4 5 6 7 4 chunks +41 lines, -8 lines 0 comments Download

Messages

Total messages: 19 (0 generated)
alokp
http://codereview.chromium.org/1073003/diff/8001/9008 File chrome/test/ui/npapi_test_helper.h (right): http://codereview.chromium.org/1073003/diff/8001/9008#newcode10 chrome/test/ui/npapi_test_helper.h:10: // Helper class for NPAPI plugin UI tests. I ...
10 years, 9 months ago (2010-03-22 23:18:04 UTC) #1
apatrick
http://codereview.chromium.org/1073003/diff/8001/9002 File webkit/glue/plugins/test/plugin_client.cc (right): http://codereview.chromium.org/1073003/diff/8001/9002#newcode117 webkit/glue/plugins/test/plugin_client.cc:117: // generic test factory. Bravo, sir! http://codereview.chromium.org/1073003/diff/8001/9003 File webkit/glue/plugins/test/plugin_pepper_3d_test.cc ...
10 years, 9 months ago (2010-03-23 00:50:23 UTC) #2
greggman
LGTM from my part after Al's comments.
10 years, 9 months ago (2010-03-23 02:13:53 UTC) #3
David Springer
I did not notice any mac-specific files in this CL, such as an Info.plist. Would ...
10 years, 9 months ago (2010-03-23 05:19:13 UTC) #4
brettw
Darin & Dimitri: at least one of you guys should comment on whether we should ...
10 years, 9 months ago (2010-03-23 05:21:37 UTC) #5
brettw
I talked with Dimitri and it sounds like we shouldn't be adding this to the ...
10 years, 9 months ago (2010-03-23 16:18:04 UTC) #6
alokp
My reasoning for adding it to npapi-test-plugin was that pepper is an extension to npapi ...
10 years, 9 months ago (2010-03-23 16:38:09 UTC) #7
alokp
Dave: Provided it is ok to add these tests to npapi_test_plugin, my plan is to ...
10 years, 9 months ago (2010-03-23 16:59:11 UTC) #8
apatrick
LGTM for style. I defer the webkit integration issues to others. http://codereview.chromium.org/1073003/diff/8001/9003 File webkit/glue/plugins/test/plugin_pepper_3d_test.cc (right): ...
10 years, 9 months ago (2010-03-23 17:12:41 UTC) #9
alokp
http://codereview.chromium.org/1073003/diff/8001/9003 File webkit/glue/plugins/test/plugin_pepper_3d_test.cc (right): http://codereview.chromium.org/1073003/diff/8001/9003#newcode9 webkit/glue/plugins/test/plugin_pepper_3d_test.cc:9: } // namepsace On 2010/03/23 17:12:41, apatrick wrote: > ...
10 years, 9 months ago (2010-03-23 17:16:29 UTC) #10
David Springer
On 2010/03/23 17:16:29, alokp wrote: > http://codereview.chromium.org/1073003/diff/8001/9003 > File webkit/glue/plugins/test/plugin_pepper_3d_test.cc (right): > > http://codereview.chromium.org/1073003/diff/8001/9003#newcode9 > ...
10 years, 9 months ago (2010-03-23 19:17:35 UTC) #11
alokp
Not that I know of.
10 years, 9 months ago (2010-03-23 20:49:09 UTC) #12
brettw
On Tue, Mar 23, 2010 at 9:37 AM, Alok Priyadarshi <alokp@chromium.org> wrote: > My reasoning ...
10 years, 9 months ago (2010-03-24 16:27:19 UTC) #13
alokp
Hi Brett, If you already do not know how TestObject works, then please don't bother. ...
10 years, 9 months ago (2010-03-24 17:03:51 UTC) #14
brettw
On Wed, Mar 24, 2010 at 10:03 AM, <alokp@chromium.org> wrote: > Hi Brett, > If ...
10 years, 9 months ago (2010-03-24 17:11:12 UTC) #15
alokp
I have separated out pepper-specific stuff from npapi. I created a npapi_test_common library to abstract ...
10 years, 9 months ago (2010-03-25 20:23:16 UTC) #16
brettw
LGTM http://codereview.chromium.org/1073003/diff/57002/83013 File webkit/glue/plugins/test/plugin_test_factory.h (right): http://codereview.chromium.org/1073003/diff/57002/83013#newcode20 webkit/glue/plugins/test/plugin_test_factory.h:20: } // namespace NPAPIClient Two spaces before end-of-line ...
10 years, 9 months ago (2010-03-25 21:59:57 UTC) #17
alokp
I had to add a couple more files to the CL because a few npapi ...
10 years, 9 months ago (2010-03-25 22:35:40 UTC) #18
brettw
10 years, 9 months ago (2010-03-25 22:38:02 UTC) #19
On Thu, Mar 25, 2010 at 3:35 PM,  <alokp@chromium.org> wrote:
> I had to add a couple more files to the CL because a few npapi tests were
> failing. If you look into NPP_SetWindow in plugin_client.cc, I removed a
> guard
> against (pNPWindow->window == NULL) so that pepper plugins which are
> windowless
> receive SetWindow call. This broke a couple of tests that were not handling
> NULL
> window properly.

Okay, sounds good, thanks.

Brett

Powered by Google App Engine
This is Rietveld 408576698