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

Issue 252023009: PPAPI: Add dev synchronous JS->Plugin messaging API (Closed)

Created:
6 years, 7 months ago by dmichael (off chromium)
Modified:
6 years, 5 months ago
CC:
chromium-reviews, yusukes+watch_chromium.org, tzik, binji+watch_chromium.org, raymes+watch_chromium.org, teravest+watch_chromium.org, yzshen+watch_chromium.org, nfullagar1, piman+watch_chromium.org, noelallen1, ihf+watch_chromium.org
Visibility:
Public.

Description

PPAPI: Add dev synchronous JS->Plugin messaging API BUG=367896 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=274349

Patch Set 1 : improve comments #

Total comments: 6

Patch Set 2 : review fixes #

Total comments: 9

Patch Set 3 : Getting ready for landing #

Total comments: 6

Patch Set 4 : Fixes for teravest@ review comments #

Patch Set 5 : Since I need to fix shims anyway, make PP_Var by-value again #

Patch Set 6 : use channel=dev instead of none #

Unified diffs Side-by-side diffs Delta from patch set Stats (+416 lines, -4 lines) Patch
M content/renderer/pepper/pepper_plugin_instance_impl.h View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M content/renderer/pepper/pepper_plugin_instance_impl.cc View 1 2 1 chunk +15 lines, -0 lines 0 comments Download
M mojo/examples/pepper_container_app/plugin_instance.h View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M mojo/examples/pepper_container_app/plugin_instance.cc View 1 2 1 chunk +13 lines, -0 lines 0 comments Download
M native_client_sdk/src/libraries/ppapi/library.dsc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M ppapi/api/ppb_messaging.idl View 1 2 3 4 5 2 chunks +61 lines, -1 line 0 comments Download
A ppapi/api/ppp_message_handler.idl View 1 2 3 4 1 chunk +70 lines, -0 lines 0 comments Download
M ppapi/c/ppb_messaging.h View 1 2 3 4 5 4 chunks +65 lines, -2 lines 0 comments Download
A ppapi/c/ppp_message_handler.h View 1 2 3 4 1 chunk +87 lines, -0 lines 0 comments Download
M ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c View 1 2 3 4 5 7 chunks +37 lines, -0 lines 0 comments Download
M ppapi/proxy/ppb_instance_proxy.h View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M ppapi/proxy/ppb_instance_proxy.cc View 1 2 1 chunk +12 lines, -0 lines 0 comments Download
M ppapi/tests/all_c_includes.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M ppapi/thunk/ppb_instance_api.h View 1 2 2 chunks +6 lines, -0 lines 0 comments Download
M ppapi/thunk/ppb_messaging_thunk.cc View 1 2 2 chunks +33 lines, -1 line 0 comments Download

Messages

Total messages: 28 (0 generated)
teravest
https://codereview.chromium.org/252023009/diff/40001/ppapi/api/ppp_message_handler.idl File ppapi/api/ppp_message_handler.idl (right): https://codereview.chromium.org/252023009/diff/40001/ppapi/api/ppp_message_handler.idl#newcode1 ppapi/api/ppp_message_handler.idl:1: /* Copyright (c) 2012 The Chromium Authors. All rights ...
6 years, 7 months ago (2014-05-01 19:20:38 UTC) #1
dmichael (off chromium)
Thanks for looking! https://codereview.chromium.org/252023009/diff/40001/ppapi/api/ppp_message_handler.idl File ppapi/api/ppp_message_handler.idl (right): https://codereview.chromium.org/252023009/diff/40001/ppapi/api/ppp_message_handler.idl#newcode1 ppapi/api/ppp_message_handler.idl:1: /* Copyright (c) 2012 The Chromium ...
6 years, 7 months ago (2014-05-01 19:55:00 UTC) #2
jvoung (off chromium)
https://codereview.chromium.org/252023009/diff/60001/ppapi/c/ppp_message_handler.h File ppapi/c/ppp_message_handler.h (right): https://codereview.chromium.org/252023009/diff/60001/ppapi/c/ppp_message_handler.h#newcode35 ppapi/c/ppp_message_handler.h:35: * This interface struct should not be returned by ...
6 years, 7 months ago (2014-05-01 21:29:06 UTC) #3
darin (slow to review)
https://codereview.chromium.org/252023009/diff/60001/ppapi/api/ppp_message_handler.idl File ppapi/api/ppp_message_handler.idl (right): https://codereview.chromium.org/252023009/diff/60001/ppapi/api/ppp_message_handler.idl#newcode26 ppapi/api/ppp_message_handler.idl:26: interface PPP_MessageHandler { Perhaps an alternative approach is to ...
6 years, 7 months ago (2014-05-02 08:02:15 UTC) #4
dmichael (off chromium)
https://codereview.chromium.org/252023009/diff/60001/ppapi/api/ppp_message_handler.idl File ppapi/api/ppp_message_handler.idl (right): https://codereview.chromium.org/252023009/diff/60001/ppapi/api/ppp_message_handler.idl#newcode26 ppapi/api/ppp_message_handler.idl:26: interface PPP_MessageHandler { On 2014/05/02 08:02:15, darin wrote: > ...
6 years, 7 months ago (2014-05-02 16:28:53 UTC) #5
dmichael (off chromium)
I talked over IM with jvoung about the PNaCl shim issues, but wanted to respond ...
6 years, 7 months ago (2014-05-02 18:03:41 UTC) #6
darin (slow to review)
On 2014/05/02 16:28:53, dmichael wrote: > https://codereview.chromium.org/252023009/diff/60001/ppapi/api/ppp_message_handler.idl > File ppapi/api/ppp_message_handler.idl (right): > > https://codereview.chromium.org/252023009/diff/60001/ppapi/api/ppp_message_handler.idl#newcode26 > ...
6 years, 7 months ago (2014-05-02 18:20:57 UTC) #7
jschuh
tsepez@ - Could you take a closer look at this for me?
6 years, 7 months ago (2014-05-07 21:25:23 UTC) #8
Tom Sepez
This doesn't seem to have any implementation of the JS side block yet, does it? ...
6 years, 7 months ago (2014-05-07 22:27:10 UTC) #9
dmichael (off chromium)
Right, sorry, this doesn't need security review yet. I'm working on the backing implementation, and ...
6 years, 7 months ago (2014-05-07 22:30:18 UTC) #10
dmichael (off chromium)
I think this is ready for re-review and landing. PTAL. I have a working implementation ...
6 years, 6 months ago (2014-05-30 20:30:45 UTC) #11
teravest
lgtm https://codereview.chromium.org/252023009/diff/100001/ppapi/api/ppb_messaging.idl File ppapi/api/ppb_messaging.idl (right): https://codereview.chromium.org/252023009/diff/100001/ppapi/api/ppb_messaging.idl#newcode89 ppapi/api/ppb_messaging.idl:89: * nit: you shouldn't need the extra newline ...
6 years, 6 months ago (2014-05-30 20:36:14 UTC) #12
jvoung (off chromium)
https://codereview.chromium.org/252023009/diff/100001/ppapi/api/ppb_messaging.idl File ppapi/api/ppb_messaging.idl (right): https://codereview.chromium.org/252023009/diff/100001/ppapi/api/ppb_messaging.idl#newcode112 ppapi/api/ppb_messaging.idl:112: * @param[in] user_data A pointer the plugin may choose ...
6 years, 6 months ago (2014-05-30 21:23:57 UTC) #13
dmichael (off chromium)
On Fri, May 30, 2014 at 3:23 PM, <jvoung@chromium.org> wrote: > > https://codereview.chromium.org/252023009/diff/100001/ > ppapi/api/ppb_messaging.idl ...
6 years, 6 months ago (2014-05-30 21:33:41 UTC) #14
jvoung (off chromium)
On 2014/05/30 21:33:41, dmichael wrote: > On Fri, May 30, 2014 at 3:23 PM, <mailto:jvoung@chromium.org> ...
6 years, 6 months ago (2014-05-30 21:50:07 UTC) #15
dmichael (off chromium)
The CQ bit was checked by dmichael@chromium.org
6 years, 6 months ago (2014-05-31 16:53:07 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dmichael@chromium.org/252023009/140001
6 years, 6 months ago (2014-05-31 16:53:59 UTC) #17
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: chromium_presubmit on tryserver.chromium ...
6 years, 6 months ago (2014-05-31 20:41:43 UTC) #18
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-05-31 20:44:32 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/chromium_presubmit/builds/70866)
6 years, 6 months ago (2014-05-31 20:44:32 UTC) #20
jvoung (off chromium)
https://codereview.chromium.org/252023009/diff/60001/ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c File ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c (right): https://codereview.chromium.org/252023009/diff/60001/ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c#newcode1139 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c:1139: static int32_t Pnacl_M36_PPB_Messaging_RegisterMessageHandler(PP_Instance instance, const void* user_data, const struct ...
6 years, 6 months ago (2014-06-02 15:58:48 UTC) #21
dmichael (off chromium)
I think we need an approach that doesn't use a global pointer for the functions. ...
6 years, 6 months ago (2014-06-02 16:04:17 UTC) #22
dmichael (off chromium)
The CQ bit was checked by dmichael@chromium.org
6 years, 6 months ago (2014-06-02 17:02:14 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dmichael@chromium.org/252023009/160001
6 years, 6 months ago (2014-06-02 17:03:19 UTC) #24
dmichael (off chromium)
+binji for native_cliend_sdk
6 years, 6 months ago (2014-06-02 17:12:30 UTC) #25
binji
native_client_sdk lgtm
6 years, 6 months ago (2014-06-02 17:21:01 UTC) #26
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_chromium_rel on tryserver.chromium ...
6 years, 6 months ago (2014-06-02 19:46:23 UTC) #27
commit-bot: I haz the power
6 years, 6 months ago (2014-06-02 22:16:46 UTC) #28
Message was sent while issue was closed.
Change committed as 274349

Powered by Google App Engine
This is Rietveld 408576698