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

Issue 1697008: New Pepper API implementation. (Closed)

Created:
10 years, 8 months ago by brettw
Modified:
9 years, 7 months ago
CC:
chromium-reviews, jam, darin-cc_chromium.org, tfarina
Visibility:
Public.

Description

Partially implement the new pepper API in Chrome. This is not actually hooked up, which will require some changes in render_view as well as the plugin list. TEST=none BUG=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=46760

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Total comments: 48

Patch Set 5 : '' #

Patch Set 6 : '' #

Total comments: 6

Patch Set 7 : '' #

Patch Set 8 : '' #

Patch Set 9 : '' #

Total comments: 32

Patch Set 10 : '' #

Patch Set 11 : '' #

Total comments: 46

Patch Set 12 : '' #

Patch Set 13 : '' #

Total comments: 3

Patch Set 14 : '' #

Patch Set 15 : '' #

Patch Set 16 : '' #

Total comments: 3

Patch Set 17 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1845 lines, -0 lines) Patch
M DEPS View 14 15 16 1 chunk +3 lines, -0 lines 0 comments Download
M build/all.gyp View 14 15 16 1 chunk +1 line, -0 lines 0 comments Download
A chrome/renderer/pepper_plugin_delegate_impl.h View 2 3 4 5 6 7 8 1 chunk +27 lines, -0 lines 0 comments Download
A chrome/renderer/pepper_plugin_delegate_impl.cc View 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +78 lines, -0 lines 0 comments Download
A webkit/glue/plugins/DEPS View 9 10 1 chunk +3 lines, -0 lines 0 comments Download
A webkit/glue/plugins/pepper_device_context_2d.h View 7 8 9 10 11 1 chunk +58 lines, -0 lines 0 comments Download
A webkit/glue/plugins/pepper_device_context_2d.cc View 7 8 9 10 11 1 chunk +200 lines, -0 lines 0 comments Download
A webkit/glue/plugins/pepper_image_data.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +61 lines, -0 lines 0 comments Download
A webkit/glue/plugins/pepper_image_data.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +148 lines, -0 lines 0 comments Download
A webkit/glue/plugins/pepper_plugin_delegate.h View 2 3 4 5 6 7 8 9 10 11 1 chunk +41 lines, -0 lines 0 comments Download
A webkit/glue/plugins/pepper_plugin_instance.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +80 lines, -0 lines 0 comments Download
A webkit/glue/plugins/pepper_plugin_instance.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +231 lines, -0 lines 0 comments Download
A webkit/glue/plugins/pepper_plugin_module.h View 2 3 4 5 6 7 8 9 10 11 1 chunk +74 lines, -0 lines 0 comments Download
A webkit/glue/plugins/pepper_plugin_module.cc View 2 3 4 5 6 7 8 9 10 11 1 chunk +206 lines, -0 lines 0 comments Download
A webkit/glue/plugins/pepper_resource.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +45 lines, -0 lines 0 comments Download
A webkit/glue/plugins/pepper_resource.cc View 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +31 lines, -0 lines 0 comments Download
A webkit/glue/plugins/pepper_resource_tracker.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +57 lines, -0 lines 0 comments Download
A webkit/glue/plugins/pepper_resource_tracker.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +50 lines, -0 lines 0 comments Download
A webkit/glue/plugins/pepper_string.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +30 lines, -0 lines 0 comments Download
A webkit/glue/plugins/pepper_var.h View 10 1 chunk +19 lines, -0 lines 0 comments Download
webkit/glue/plugins/pepper_var.cc View 10 11 1 chunk +138 lines, -0 lines 0 comments Download
A webkit/glue/plugins/pepper_webplugin_delegate_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +86 lines, -0 lines 0 comments Download
A webkit/glue/plugins/pepper_webplugin_delegate_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +160 lines, -0 lines 0 comments Download
M webkit/glue/webkit_glue.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 2 chunks +18 lines, -0 lines 0 comments Download

Messages

Total messages: 25 (0 generated)
brettw
I think I need to stop working on this and get something checked in. 2D ...
10 years, 7 months ago (2010-05-03 19:43:17 UTC) #1
cpu_(ooo_6.6-7.5)
random bits, doing an actual review is too intimidating :) http://codereview.chromium.org/1697008/diff/45001/46040 File third_party/ppapi/bindings/ppp.h (right): http://codereview.chromium.org/1697008/diff/45001/46040#newcode20 ...
10 years, 7 months ago (2010-05-03 21:55:09 UTC) #2
brettw
> Also add explicit in some of the ctors I'll add explicit to Plugin, but ...
10 years, 7 months ago (2010-05-03 22:16:39 UTC) #3
sehr (please use chromium)
Sorry, I also found a full pass daunting at the moment. Here are some comments. ...
10 years, 7 months ago (2010-05-03 22:55:18 UTC) #4
brettw
New snap up. http://codereview.chromium.org/1697008/diff/45001/46017 File third_party/npapi/bindings/npapi_extensions.h (right): http://codereview.chromium.org/1697008/diff/45001/46017#newcode407 third_party/npapi/bindings/npapi_extensions.h:407: typedef void (*NPDeleteFilePath)(NPFilePath* filePath); Sorry, this ...
10 years, 7 months ago (2010-05-04 05:53:57 UTC) #5
David Springer
Can you please split this into at least 2 CLs? One being the C-layer Pepper ...
10 years, 7 months ago (2010-05-04 15:54:11 UTC) #6
brettw
On Tue, May 4, 2010 at 8:54 AM, <dspringer@google.com> wrote: > Can you please split ...
10 years, 7 months ago (2010-05-04 17:53:47 UTC) #7
brettw
http://codereview.chromium.org/1697008/diff/45001/46011 File webkit/glue/plugins/pepper_image_data.h (right): http://codereview.chromium.org/1697008/diff/45001/46011#newcode19 webkit/glue/plugins/pepper_image_data.h:19: class SkBitmap; I'm currently just trying to get something ...
10 years, 7 months ago (2010-05-04 18:02:44 UTC) #8
cpu_(ooo_6.6-7.5)
On 2010/05/03 22:16:39, brettw wrote: > > Also add explicit in some of the ctors ...
10 years, 7 months ago (2010-05-04 18:13:42 UTC) #9
brettw
On Tue, May 4, 2010 at 11:13 AM, <cpu@chromium.org> wrote: > On 2010/05/03 22:16:39, brettw ...
10 years, 7 months ago (2010-05-04 18:18:37 UTC) #10
cpu_(ooo_6.6-7.5)
mor random thoughts http://codereview.chromium.org/1697008/diff/113001/91019 File third_party/ppapi/cpp/image_data.cc (right): http://codereview.chromium.org/1697008/diff/113001/91019#newcode7 third_party/ppapi/cpp/image_data.cc:7: #include <string.h> seems unused http://codereview.chromium.org/1697008/diff/113001/91019#newcode26 third_party/ppapi/cpp/image_data.cc:26: ...
10 years, 7 months ago (2010-05-04 18:29:29 UTC) #11
brettw
http://codereview.chromium.org/1697008/diff/113001/91019 File third_party/ppapi/cpp/image_data.cc (right): http://codereview.chromium.org/1697008/diff/113001/91019#newcode31 third_party/ppapi/cpp/image_data.cc:31: desc_ = other.desc_; On 2010/05/04 18:29:29, cpu wrote: > ...
10 years, 7 months ago (2010-05-04 18:44:29 UTC) #12
brettw
I split the C++ bindings layer into issue 1945002 and added the people I thought ...
10 years, 7 months ago (2010-05-04 20:57:39 UTC) #13
darin (slow to review)
some comments on the C API http://codereview.chromium.org/1697008/diff/83005/133029 File third_party/ppapi/bindings/pp_event.h (right): http://codereview.chromium.org/1697008/diff/83005/133029#newcode74 third_party/ppapi/bindings/pp_event.h:74: /*typedef struct _pp_Event_Device ...
10 years, 7 months ago (2010-05-05 01:39:29 UTC) #14
David Springer
A few comments, I just started to dive into this. http://codereview.chromium.org/1697008/diff/83005/133021 File third_party/ppapi/bindings/ppb_device_context_2d.h (right): http://codereview.chromium.org/1697008/diff/83005/133021#newcode34 ...
10 years, 7 months ago (2010-05-05 14:42:37 UTC) #15
brettw
Response to David's comments. I didn't upload a new version yet (going to work on ...
10 years, 7 months ago (2010-05-05 16:31:57 UTC) #16
brettw
New snap up. Hopefully I got everything. http://codereview.chromium.org/1697008/diff/83005/133027 File third_party/ppapi/bindings/ppb_instance.h (right): http://codereview.chromium.org/1697008/diff/83005/133027#newcode29 third_party/ppapi/bindings/ppb_instance.h:29: bool (*BindGraphicsDeviceContext)(PP_Instance ...
10 years, 7 months ago (2010-05-05 17:42:16 UTC) #17
David Springer
http://codereview.chromium.org/1697008/diff/83005/133007 File webkit/glue/plugins/pepper_resource.h (right): http://codereview.chromium.org/1697008/diff/83005/133007#newcode21 webkit/glue/plugins/pepper_resource.h:21: Resource(PluginModule* module); Nit: I think style guide wants 'explicit' ...
10 years, 7 months ago (2010-05-05 20:17:20 UTC) #18
brettw
On Wed, May 5, 2010 at 1:17 PM, <dspringer@google.com> wrote: > > http://codereview.chromium.org/1697008/diff/83005/133007 > File ...
10 years, 7 months ago (2010-05-05 20:50:08 UTC) #19
jam
some minor comments, overall looks good http://codereview.chromium.org/1697008/diff/77052/137016 File chrome/renderer/pepper_plugin_delegate_impl.cc (right): http://codereview.chromium.org/1697008/diff/77052/137016#newcode41 chrome/renderer/pepper_plugin_delegate_impl.cc:41: nit: extra line ...
10 years, 7 months ago (2010-05-05 23:24:51 UTC) #20
darin (slow to review)
looks really great overall. just minor suggestions: http://codereview.chromium.org/1697008/diff/77052/137016 File chrome/renderer/pepper_plugin_delegate_impl.cc (right): http://codereview.chromium.org/1697008/diff/77052/137016#newcode41 chrome/renderer/pepper_plugin_delegate_impl.cc:41: nit: extra ...
10 years, 7 months ago (2010-05-05 23:43:07 UTC) #21
brettw
I think I addressed the rest of the comments. Thanks guys. http://codereview.chromium.org/1697008/diff/77052/137015 File chrome/renderer/pepper_plugin_delegate_impl.h (right): ...
10 years, 7 months ago (2010-05-06 17:08:08 UTC) #22
darin (slow to review)
On Thu, May 6, 2010 at 10:08 AM, <brettw@chromium.org> wrote: > I think I addressed ...
10 years, 7 months ago (2010-05-06 18:20:16 UTC) #23
darin (slow to review)
LGTM http://codereview.chromium.org/1697008/diff/184001/161003 File chrome/renderer/pepper_plugin_delegate_impl.cc (right): http://codereview.chromium.org/1697008/diff/184001/161003#newcode40 chrome/renderer/pepper_plugin_delegate_impl.cc:40: PepperPluginDelegateImpl::PepperPluginDelegateImpl(RenderView* render_view) { i guess you meant to ...
10 years, 7 months ago (2010-05-06 18:58:30 UTC) #24
tfarina (gmail-do not use)
10 years, 7 months ago (2010-05-07 20:36:05 UTC) #25
http://codereview.chromium.org/1697008/diff/211001/212009
File webkit/glue/plugins/pepper_image_data.h (right):

http://codereview.chromium.org/1697008/diff/211001/212009#newcode27
webkit/glue/plugins/pepper_image_data.h:27: ImageData(PluginModule* module);
nit: explicit

http://codereview.chromium.org/1697008/diff/211001/212014
File webkit/glue/plugins/pepper_plugin_module.h (right):

http://codereview.chromium.org/1697008/diff/211001/212014#newcode13
webkit/glue/plugins/pepper_plugin_module.h:13: #include <set>
nit: move above basictypes.h ?

http://codereview.chromium.org/1697008/diff/211001/212014#newcode53
webkit/glue/plugins/pepper_plugin_module.h:53: PluginModule(const FilePath&
filename);
nit: explicit

Powered by Google App Engine
This is Rietveld 408576698