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

Issue 291001: Moved Pepper delegate definition to chrome\renderer to allow it to use... (Closed)

Created:
11 years, 2 months ago by sehr (please use chromium)
Modified:
9 years, 7 months ago
Reviewers:
brettw, jam
CC:
chromium-reviews_googlegroups.com, brettw+cc_chromium.org, darin (slow to review), jam
Visibility:
Public.

Description

Moved Pepper delegate definition to chrome\renderer to allow it to use code from chrome\common. Also added canvas support and hooked up NPAPI interface functions. No tests have been added yet, so this is probably not fully ready. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=29380

Patch Set 1 #

Total comments: 10

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Total comments: 4

Patch Set 5 : '' #

Patch Set 6 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+170 lines, -677 lines) Patch
M chrome/chrome.gyp View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/renderer/DEPS View 4 5 1 chunk +1 line, -0 lines 0 comments Download
M chrome/renderer/render_view.cc View 1 2 3 4 5 3 chunks +2 lines, -2 lines 0 comments Download
A + chrome/renderer/webplugin_delegate_pepper.h View 4 5 chunks +21 lines, -14 lines 0 comments Download
A + chrome/renderer/webplugin_delegate_pepper.cc View 4 10 chunks +106 lines, -78 lines 0 comments Download
M third_party/npapi/bindings/npapi.h View 1 2 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
M webkit/glue/plugins/plugin_host.cc View 4 5 4 chunks +14 lines, -26 lines 0 comments Download
M webkit/glue/plugins/plugin_instance.h View 4 5 1 chunk +0 lines, -9 lines 0 comments Download
M webkit/glue/plugins/plugin_instance.cc View 1 2 3 4 5 3 chunks +1 line, -24 lines 0 comments Download
D webkit/glue/plugins/webplugin_delegate_pepper_impl.h View 1 2 3 4 5 1 chunk +0 lines, -127 lines 0 comments Download
D webkit/glue/plugins/webplugin_delegate_pepper_impl.cc View 1 2 3 4 5 1 chunk +0 lines, -395 lines 0 comments Download
M webkit/glue/webplugin.h View 1 2 3 4 5 2 chunks +6 lines, -0 lines 0 comments Download
M webkit/glue/webplugin_delegate.h View 1 2 3 4 5 1 chunk +11 lines, -0 lines 0 comments Download
M webkit/glue/webplugin_impl.h View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M webkit/webkit.gyp View 1 2 3 4 5 1 chunk +0 lines, -2 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
sehr (please use chromium)
I've uploaded the first version of hooking up the graphics apis. Please feel free to ...
11 years, 2 months ago (2009-10-16 19:03:06 UTC) #1
jam
nit: the description should be that this stuff is moving to the renderer to allow ...
11 years, 2 months ago (2009-10-16 19:21:05 UTC) #2
sehr (please use chromium)
Thanks. Next version ready. http://codereview.chromium.org/291001/diff/1/10 File chrome/renderer/webplugin_delegate_pepper_impl.cc (right): http://codereview.chromium.org/291001/diff/1/10#newcode125 Line 125: if (window_rect_ != window_rect) ...
11 years, 2 months ago (2009-10-16 23:13:25 UTC) #3
jam
lgtm http://codereview.chromium.org/291001/diff/8001/3027 File chrome/renderer/webplugin_delegate_pepper.cc (right): http://codereview.chromium.org/291001/diff/8001/3027#newcode126 Line 126: return; nit: no brace brackets needed for ...
11 years, 2 months ago (2009-10-16 23:21:59 UTC) #4
sehr (please use chromium)
11 years, 2 months ago (2009-10-17 15:55:53 UTC) #5
Fixed those issues.  Waiting for trybots for submission.

http://codereview.chromium.org/291001/diff/8001/3027
File chrome/renderer/webplugin_delegate_pepper.cc (right):

http://codereview.chromium.org/291001/diff/8001/3027#newcode126
Line 126: return;
On 2009/10/16 23:22:00, John Abd-El-Malek wrote:
> nit: no brace brackets needed for single line statements, also to be
consistent
> with line 137

Done.

http://codereview.chromium.org/291001/diff/8001/3026
File chrome/renderer/webplugin_delegate_pepper.h (right):

http://codereview.chromium.org/291001/diff/8001/3026#newcode5
Line 5: #ifndef WEBKIT_GLUE_PLUGIN_WEBPLUGIN_DELEGATE_PEPPER_H_
On 2009/10/16 23:22:00, John Abd-El-Malek wrote:
> nit: the header guard needs to get updated

Fixed the last half, forgot the directory... Fixed.

Powered by Google App Engine
This is Rietveld 408576698