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

Issue 7149026: Implement flash menu and net connector resources using the API/thunk model. (Closed)

Created:
9 years, 6 months ago by brettw
Modified:
9 years, 6 months ago
Reviewers:
yzshen1
CC:
chromium-reviews, darin-cc_chromium.org
Visibility:
Public.

Description

Implement flash menu and net connector resources using the API/thunk model. Write thunk for image data trusted. BUG=none TEST=ppapi ui tests Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=89204

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Total comments: 17

Patch Set 4 : '' #

Patch Set 5 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+598 lines, -417 lines) Patch
M ppapi/ppapi_shared.gypi View 1 2 3 4 1 chunk +5 lines, -0 lines 0 comments Download
M ppapi/proxy/ppb_buffer_proxy.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M ppapi/proxy/ppb_flash_menu_proxy.h View 1 2 3 4 1 chunk +2 lines, -3 lines 0 comments Download
M ppapi/proxy/ppb_flash_menu_proxy.cc View 1 2 3 4 7 chunks +81 lines, -73 lines 0 comments Download
M ppapi/proxy/ppb_flash_net_connector_proxy.h View 1 2 3 4 1 chunk +1 line, -4 lines 0 comments Download
M ppapi/proxy/ppb_flash_net_connector_proxy.cc View 1 2 3 4 8 chunks +156 lines, -151 lines 0 comments Download
M ppapi/proxy/ppb_image_data_proxy.h View 1 2 3 4 1 chunk +6 lines, -5 lines 0 comments Download
M ppapi/proxy/ppb_image_data_proxy.cc View 1 2 3 4 1 chunk +7 lines, -0 lines 0 comments Download
M ppapi/proxy/resource_creation_proxy.h View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M ppapi/proxy/resource_creation_proxy.cc View 1 2 3 4 2 chunks +13 lines, -0 lines 0 comments Download
M ppapi/shared_impl/resource_object_base.h View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M ppapi/thunk/enter.h View 1 2 3 4 1 chunk +0 lines, -2 lines 0 comments Download
A ppapi/thunk/ppb_flash_menu_api.h View 1 2 3 1 chunk +23 lines, -0 lines 0 comments Download
A ppapi/thunk/ppb_flash_menu_thunk.cc View 1 chunk +54 lines, -0 lines 0 comments Download
A ppapi/thunk/ppb_flash_net_connector_api.h View 1 chunk +31 lines, -0 lines 0 comments Download
A ppapi/thunk/ppb_flash_net_connector_thunk.cc View 1 chunk +72 lines, -0 lines 0 comments Download
M ppapi/thunk/ppb_image_data_api.h View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
A ppapi/thunk/ppb_image_data_trusted_thunk.cc View 1 chunk +35 lines, -0 lines 0 comments Download
M ppapi/thunk/resource_creation_api.h View 1 2 3 4 2 chunks +4 lines, -0 lines 0 comments Download
M ppapi/thunk/thunk.h View 1 2 3 4 2 chunks +6 lines, -0 lines 0 comments Download
M webkit/plugins/ppapi/plugin_module.cc View 1 2 3 4 6 chunks +6 lines, -10 lines 0 comments Download
M webkit/plugins/ppapi/ppb_flash_menu_impl.h View 1 2 3 4 2 chunks +7 lines, -4 lines 0 comments Download
M webkit/plugins/ppapi/ppb_flash_menu_impl.cc View 1 2 3 4 3 chunks +20 lines, -43 lines 0 comments Download
M webkit/plugins/ppapi/ppb_flash_net_connector_impl.h View 1 2 3 4 1 chunk +19 lines, -15 lines 0 comments Download
M webkit/plugins/ppapi/ppb_flash_net_connector_impl.cc View 1 2 3 4 2 chunks +12 lines, -60 lines 0 comments Download
M webkit/plugins/ppapi/ppb_image_data_impl.h View 1 2 3 4 1 chunk +6 lines, -13 lines 0 comments Download
M webkit/plugins/ppapi/ppb_image_data_impl.cc View 1 2 3 4 3 chunks +7 lines, -33 lines 0 comments Download
M webkit/plugins/ppapi/resource_creation_impl.h View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M webkit/plugins/ppapi/resource_creation_impl.cc View 1 2 3 4 2 chunks +13 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
brettw
9 years, 6 months ago (2011-06-14 21:55:48 UTC) #1
yzshen1
Hi, Brett. Only a few nits. Thanks! http://codereview.chromium.org/7149026/diff/34/ppapi/proxy/ppb_flash_menu_proxy.cc File ppapi/proxy/ppb_flash_menu_proxy.cc (right): http://codereview.chromium.org/7149026/diff/34/ppapi/proxy/ppb_flash_menu_proxy.cc#newcode32 ppapi/proxy/ppb_flash_menu_proxy.cc:32: virtual int32_t ...
9 years, 6 months ago (2011-06-15 01:12:44 UTC) #2
brettw
http://codereview.chromium.org/7149026/diff/34/ppapi/proxy/ppb_flash_menu_proxy.cc File ppapi/proxy/ppb_flash_menu_proxy.cc (right): http://codereview.chromium.org/7149026/diff/34/ppapi/proxy/ppb_flash_menu_proxy.cc#newcode149 ppapi/proxy/ppb_flash_menu_proxy.cc:149: if (enter.succeeded()) { This is automatically done by the ...
9 years, 6 months ago (2011-06-15 02:29:51 UTC) #3
yzshen1
Thanks Brett! http://codereview.chromium.org/7149026/diff/34/ppapi/proxy/ppb_flash_menu_proxy.cc File ppapi/proxy/ppb_flash_menu_proxy.cc (right): http://codereview.chromium.org/7149026/diff/34/ppapi/proxy/ppb_flash_menu_proxy.cc#newcode149 ppapi/proxy/ppb_flash_menu_proxy.cc:149: if (enter.succeeded()) { On 2011/06/15 02:29:51, brettw ...
9 years, 6 months ago (2011-06-15 06:49:51 UTC) #4
brettw
http://codereview.chromium.org/7149026/diff/34/ppapi/proxy/ppb_flash_menu_proxy.cc File ppapi/proxy/ppb_flash_menu_proxy.cc (right): http://codereview.chromium.org/7149026/diff/34/ppapi/proxy/ppb_flash_menu_proxy.cc#newcode149 ppapi/proxy/ppb_flash_menu_proxy.cc:149: if (enter.succeeded()) { That shouldn't happen. The host side ...
9 years, 6 months ago (2011-06-15 15:37:03 UTC) #5
yzshen1
9 years, 6 months ago (2011-06-15 16:40:30 UTC) #6
LGTM

http://codereview.chromium.org/7149026/diff/34/ppapi/proxy/ppb_flash_menu_pro...
File ppapi/proxy/ppb_flash_menu_proxy.cc (right):

http://codereview.chromium.org/7149026/diff/34/ppapi/proxy/ppb_flash_menu_pro...
ppapi/proxy/ppb_flash_menu_proxy.cc:149: if (enter.succeeded()) {
Thanks for explaining!

On 2011/06/15 15:37:03, brettw wrote:
> That shouldn't happen. The host side will constuct a default-constructed
> HostResource as part of the message processing. This is the version we're
> getting at this point, and it's getting copied back to the caller. For
"return"
> params, the IPC system doesn't copy the source from the caller at all.

Powered by Google App Engine
This is Rietveld 408576698