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

Issue 178953003: Mojo container example for hosting Pepper plugins (Closed)

Created:
6 years, 10 months ago by yzshen1
Modified:
6 years, 9 months ago
CC:
chromium-reviews, Aaron Boodman, viettrungluu+watch_chromium.org, ben+mojo_chromium.org, abarth-chromium
Visibility:
Public.

Description

Currently it automatically loads pepper_spinning_cube_demo and only supports those APIs that needed by it. BUG=None TEST=None Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=258773

Patch Set 1 #

Patch Set 2 : PluginModule, PluginInstance #

Patch Set 3 : reuse files from ppapi/shared_impl #

Patch Set 4 : add ppb_opengles2 impl stub. #

Patch Set 5 : add an empty resource creation API. #

Patch Set 6 : hook up PPB_View. #

Patch Set 7 : add a ppb_graphics_3d impl stub. #

Patch Set 8 : add ppb_instance impl stub; trying to support message loop #

Patch Set 9 : move classes into their own files #

Patch Set 10 : hook up PPB/PPP_Graphics3D #

Patch Set 11 : hook up PPB_OpenGLES2 #

Patch Set 12 : it works! #

Patch Set 13 : #

Patch Set 14 : clean up plugin #

Patch Set 15 : cleanup #

Total comments: 7

Patch Set 16 : changes according to reviewers' comments. #

Patch Set 17 : sync and rebase #

Total comments: 24

Patch Set 18 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2659 lines, -646 lines) Patch
A + mojo/examples/pepper_container_app/DEPS View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +3 lines, -0 lines 0 comments Download
A mojo/examples/pepper_container_app/graphics_3d_resource.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +74 lines, -0 lines 0 comments Download
A mojo/examples/pepper_container_app/graphics_3d_resource.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +170 lines, -0 lines 0 comments Download
A mojo/examples/pepper_container_app/interface_list.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +37 lines, -0 lines 0 comments Download
A mojo/examples/pepper_container_app/interface_list.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +50 lines, -0 lines 0 comments Download
A mojo/examples/pepper_container_app/mojo_ppapi_globals.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +90 lines, -0 lines 0 comments Download
A mojo/examples/pepper_container_app/mojo_ppapi_globals.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +183 lines, -0 lines 0 comments Download
A mojo/examples/pepper_container_app/pepper_container_app.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +134 lines, -0 lines 0 comments Download
A mojo/examples/pepper_container_app/plugin_instance.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +167 lines, -0 lines 0 comments Download
A mojo/examples/pepper_container_app/plugin_instance.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +378 lines, -0 lines 0 comments Download
A mojo/examples/pepper_container_app/plugin_module.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +61 lines, -0 lines 0 comments Download
A mojo/examples/pepper_container_app/plugin_module.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +111 lines, -0 lines 0 comments Download
A mojo/examples/pepper_container_app/ppb_core_thunk.cc View 1 2 3 4 5 6 7 8 1 chunk +64 lines, -0 lines 0 comments Download
A + mojo/examples/pepper_container_app/ppb_opengles2_thunk.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 93 chunks +316 lines, -558 lines 0 comments Download
A + mojo/examples/pepper_container_app/resource_creation_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +17 lines, -39 lines 0 comments Download
A mojo/examples/pepper_container_app/resource_creation_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +393 lines, -0 lines 0 comments Download
A mojo/examples/pepper_container_app/thunk.h View 1 2 3 4 5 6 7 8 1 chunk +20 lines, -0 lines 0 comments Download
A mojo/examples/pepper_container_app/type_converters.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +67 lines, -0 lines 0 comments Download
M mojo/mojo.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +1 line, -0 lines 0 comments Download
M mojo/mojo_examples.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +91 lines, -0 lines 0 comments Download
A ppapi/examples/gles2_spinning_cube/gles2_spinning_cube.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +150 lines, -0 lines 0 comments Download
A ppapi/examples/gles2_spinning_cube/gles2_spinning_cube.html View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +18 lines, -0 lines 0 comments Download
A + ppapi/examples/gles2_spinning_cube/spinning_cube.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +11 lines, -14 lines 0 comments Download
A + ppapi/examples/gles2_spinning_cube/spinning_cube.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 4 chunks +37 lines, -35 lines 0 comments Download
M ppapi/ppapi_tests.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +16 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
yzshen1
Hi, Trung. Would you please take a look? Thanks! https://codereview.chromium.org/178953003/diff/280001/mojo/examples/pepper_container_app/pepper_spinning_cube_demo/spinning_cube.h File mojo/examples/pepper_container_app/pepper_spinning_cube_demo/spinning_cube.h (right): https://codereview.chromium.org/178953003/diff/280001/mojo/examples/pepper_container_app/pepper_spinning_cube_demo/spinning_cube.h#newcode13 mojo/examples/pepper_container_app/pepper_spinning_cube_demo/spinning_cube.h:13: ...
6 years, 9 months ago (2014-03-20 22:28:56 UTC) #1
viettrungluu
(I'm still looking at everything else.) https://codereview.chromium.org/178953003/diff/280001/mojo/examples/pepper_container_app/pepper_spinning_cube_demo/pepper_spinning_cube_demo.cc File mojo/examples/pepper_container_app/pepper_spinning_cube_demo/pepper_spinning_cube_demo.cc (right): https://codereview.chromium.org/178953003/diff/280001/mojo/examples/pepper_container_app/pepper_spinning_cube_demo/pepper_spinning_cube_demo.cc#newcode1 mojo/examples/pepper_container_app/pepper_spinning_cube_demo/pepper_spinning_cube_demo.cc:1: // Copyright 2014 ...
6 years, 9 months ago (2014-03-20 22:50:31 UTC) #2
darin (slow to review)
I wonder if it wouldn't be possible to generalize the existing spinning_cube.{h,cc} library so that ...
6 years, 9 months ago (2014-03-20 23:01:07 UTC) #3
darin (slow to review)
On 2014/03/20 23:01:07, darin wrote: > I wonder if it wouldn't be possible to generalize ...
6 years, 9 months ago (2014-03-20 23:18:12 UTC) #4
darin (slow to review)
LGTM, very cool! https://codereview.chromium.org/178953003/diff/280001/mojo/examples/pepper_container_app/graphics_3d_resource.cc File mojo/examples/pepper_container_app/graphics_3d_resource.cc (right): https://codereview.chromium.org/178953003/diff/280001/mojo/examples/pepper_container_app/graphics_3d_resource.cc#newcode159 mojo/examples/pepper_container_app/graphics_3d_resource.cc:159: // Do nothing. probably worth adding ...
6 years, 9 months ago (2014-03-20 23:29:35 UTC) #5
yzshen1
Thanks Trung and Darin! Please take another look. https://codereview.chromium.org/178953003/diff/280001/mojo/examples/pepper_container_app/graphics_3d_resource.cc File mojo/examples/pepper_container_app/graphics_3d_resource.cc (right): https://codereview.chromium.org/178953003/diff/280001/mojo/examples/pepper_container_app/graphics_3d_resource.cc#newcode159 mojo/examples/pepper_container_app/graphics_3d_resource.cc:159: // ...
6 years, 9 months ago (2014-03-21 03:21:59 UTC) #6
viettrungluu
LGTM w/nits & comments. https://codereview.chromium.org/178953003/diff/320001/mojo/examples/pepper_container_app/interface_list.cc File mojo/examples/pepper_container_app/interface_list.cc (right): https://codereview.chromium.org/178953003/diff/320001/mojo/examples/pepper_container_app/interface_list.cc#newcode49 mojo/examples/pepper_container_app/interface_list.cc:49: void InterfaceList::AddBrowserInterface(const char* name, I ...
6 years, 9 months ago (2014-03-21 04:19:59 UTC) #7
yzshen1
Thanks, Trung! https://codereview.chromium.org/178953003/diff/320001/mojo/examples/pepper_container_app/interface_list.cc File mojo/examples/pepper_container_app/interface_list.cc (right): https://codereview.chromium.org/178953003/diff/320001/mojo/examples/pepper_container_app/interface_list.cc#newcode49 mojo/examples/pepper_container_app/interface_list.cc:49: void InterfaceList::AddBrowserInterface(const char* name, On 2014/03/21 04:20:00, ...
6 years, 9 months ago (2014-03-21 17:52:08 UTC) #8
yzshen1
The CQ bit was checked by yzshen@chromium.org
6 years, 9 months ago (2014-03-21 22:29:13 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yzshen@chromium.org/178953003/340001
6 years, 9 months ago (2014-03-21 22:29:19 UTC) #10
commit-bot: I haz the power
6 years, 9 months ago (2014-03-22 04:11:21 UTC) #11
Message was sent while issue was closed.
Change committed as 258773

Powered by Google App Engine
This is Rietveld 408576698