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 2020463002: Mojo JS: Attempt to simplify bindTo* related code. (Closed)

Created:
4 years, 7 months ago by dpapad
Modified:
4 years, 6 months ago
Reviewers:
yzshen1
CC:
Aaron Boodman, abarth-chromium, arv+watch_chromium.org, ben+mojo_chromium.org, chromium-reviews, darin (slow to review), qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Mojo JS: Attempt to simplify bindTo* related code. Introducing a new bindStubDerivedImpl() method, which hides unnecessary details from client code (no need to manually create a message pipe, no need to deal with an intermediate "stub" object). CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:closure_compilation Committed: https://crrev.com/2ee1c2e2053a4c186b94ecc70ca7026060b381ff Cr-Commit-Position: refs/heads/master@{#396600}

Patch Set 1 #

Total comments: 5

Patch Set 2 : More refinements. #

Total comments: 4

Patch Set 3 : Addressing comemnts. #

Patch Set 4 : Rename #

Unified diffs Side-by-side diffs Delta from patch set Stats (+35 lines, -26 lines) Patch
M chrome/browser/resources/plugins.js View 1 2 3 1 chunk +18 lines, -23 lines 0 comments Download
M chrome/test/data/webui/plugins_browsertest.js View 1 2 2 chunks +1 line, -3 lines 0 comments Download
M mojo/public/js/connection.js View 1 2 3 2 chunks +16 lines, -0 lines 0 comments Download

Messages

Total messages: 19 (10 generated)
yzshen1
https://codereview.chromium.org/2020463002/diff/1/chrome/browser/resources/plugins.js File chrome/browser/resources/plugins.js (right): https://codereview.chromium.org/2020463002/diff/1/chrome/browser/resources/plugins.js#newcode305 chrome/browser/resources/plugins.js:305: connection.bindHandleToObj(pipe.handle0, pageProxy); Does it make sense to name it ...
4 years, 6 months ago (2016-05-27 16:24:45 UTC) #3
dpapad
Thanks for all the suggestions on the discussion thread. I think these improvements simplify quite ...
4 years, 6 months ago (2016-05-27 17:55:37 UTC) #5
yzshen1
https://codereview.chromium.org/2020463002/diff/1/chrome/browser/resources/plugins.js File chrome/browser/resources/plugins.js (right): https://codereview.chromium.org/2020463002/diff/1/chrome/browser/resources/plugins.js#newcode305 chrome/browser/resources/plugins.js:305: connection.bindHandleToObj(pipe.handle0, pageProxy); On 2016/05/27 17:55:37, dpapad wrote: > On ...
4 years, 6 months ago (2016-05-27 18:32:46 UTC) #6
dpapad
https://codereview.chromium.org/2020463002/diff/1/chrome/browser/resources/plugins.js File chrome/browser/resources/plugins.js (right): https://codereview.chromium.org/2020463002/diff/1/chrome/browser/resources/plugins.js#newcode305 chrome/browser/resources/plugins.js:305: connection.bindHandleToObj(pipe.handle0, pageProxy); > Okay. I am fine with any ...
4 years, 6 months ago (2016-05-27 20:36:56 UTC) #7
yzshen1
LGTM https://codereview.chromium.org/2020463002/diff/20001/mojo/public/js/connection.js File mojo/public/js/connection.js (right): https://codereview.chromium.org/2020463002/diff/20001/mojo/public/js/connection.js#newcode158 mojo/public/js/connection.js:158: function createHandleForImpl(obj) { On 2016/05/27 20:36:56, dpapad wrote: ...
4 years, 6 months ago (2016-05-27 20:58:13 UTC) #8
dpapad
https://codereview.chromium.org/2020463002/diff/20001/mojo/public/js/connection.js File mojo/public/js/connection.js (right): https://codereview.chromium.org/2020463002/diff/20001/mojo/public/js/connection.js#newcode158 mojo/public/js/connection.js:158: function createHandleForImpl(obj) { > Ah, I didn't notice that ...
4 years, 6 months ago (2016-05-27 21:16:09 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2020463002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2020463002/60001
4 years, 6 months ago (2016-05-27 21:21:58 UTC) #16
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 6 months ago (2016-05-27 23:40:05 UTC) #17
commit-bot: I haz the power
4 years, 6 months ago (2016-05-27 23:41:00 UTC) #19
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/2ee1c2e2053a4c186b94ecc70ca7026060b381ff
Cr-Commit-Position: refs/heads/master@{#396600}

Powered by Google App Engine
This is Rietveld 408576698