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

Issue 837283002: Mojo JS Bindings: merge Application, Shell, ServiceProvider with Sky (Closed)

Created:
5 years, 11 months ago by hansmuller
Modified:
5 years, 11 months ago
CC:
abarth-chromium, Aaron Boodman, ben+mojo_chromium.org, darin (slow to review), esprehn, mojo-reviews_chromium.org, ojan, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org
Base URL:
https://github.com/domokit/mojo.git@master
Target Ref:
refs/heads/master
Project:
mojo
Visibility:
Public.

Description

Mojo JS Bindings: merge Application, Shell, ServiceProvider with Sky Enable Sky applications to be written in terms of the Application, Shell, ServiceProvider classes. Add a shellProxyHandle() method to the Sky Internals class. It returns a message pipe handle that the JS Shell class will assume ownership of. BUG= R=abarth@chromium.org Committed: https://chromium.googlesource.com/external/mojo/+/c433b69ba470c21417d20974b9f92588810f5fe8

Patch Set 1 #

Patch Set 2 : #

Total comments: 8

Patch Set 3 : Fixes per review feedback. #

Patch Set 4 : "Refactored JSProxyShell" #

Patch Set 5 : Merge #

Patch Set 6 : Commit missing file #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+73 lines, -31 lines) Patch
M examples/js/wget.js View 1 1 chunk +3 lines, -1 line 0 comments Download
M mojo/public/sky/convert_amd_modules_to_sky.py View 1 chunk +2 lines, -1 line 0 comments Download
M mojo/services/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M mojo/services/public/js/service_provider.js View 1 chunk +2 lines, -2 lines 0 comments Download
M mojo/services/public/js/shell.js View 1 chunk +3 lines, -8 lines 0 comments Download
M sky/tests/services/network.sky View 1 2 1 chunk +11 lines, -13 lines 0 comments Download
M sky/tools/skydb View 1 2 3 4 2 chunks +11 lines, -0 lines 2 comments Download
M sky/viewer/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M sky/viewer/internals.h View 1 2 3 4 3 chunks +10 lines, -1 line 0 comments Download
M sky/viewer/internals.cc View 1 2 3 4 4 chunks +26 lines, -5 lines 0 comments Download
A sky/viewer/script/threading.sky View 1 2 3 4 5 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (3 generated)
hansmuller1
This is the change we talked about yesterday. I updated one sky application to demonstrate ...
5 years, 11 months ago (2015-01-07 22:38:34 UTC) #3
abarth-chromium
https://codereview.chromium.org/837283002/diff/20001/sky/tests/services/network.sky File sky/tests/services/network.sky (right): https://codereview.chromium.org/837283002/diff/20001/sky/tests/services/network.sky#newcode27 sky/tests/services/network.sky:27: //var urlRequestPromise = urlLoaderConnection.remote.start(urlRequest); Can we delete this line ...
5 years, 11 months ago (2015-01-07 22:52:02 UTC) #4
hansmuller1
https://codereview.chromium.org/837283002/diff/20001/sky/tests/services/network.sky File sky/tests/services/network.sky (right): https://codereview.chromium.org/837283002/diff/20001/sky/tests/services/network.sky#newcode27 sky/tests/services/network.sky:27: //var urlRequestPromise = urlLoaderConnection.remote.start(urlRequest); On 2015/01/07 22:52:01, abarth wrote: ...
5 years, 11 months ago (2015-01-07 23:33:04 UTC) #5
abarth-chromium
LGTM I probably would have just make Internals inherit from Shell and put the Binding<Shell> ...
5 years, 11 months ago (2015-01-08 04:21:42 UTC) #6
hansmuller
Committed patchset #5 (id:80001) manually as c433b69ba470c21417d20974b9f92588810f5fe8 (presubmit successful).
5 years, 11 months ago (2015-01-08 17:24:41 UTC) #7
eseidel
https://codereview.chromium.org/837283002/diff/100001/sky/tools/skydb File sky/tools/skydb (right): https://codereview.chromium.org/837283002/diff/100001/sky/tools/skydb#newcode99 sky/tools/skydb:99: def shutdown(self): This code looks unused?
5 years, 11 months ago (2015-01-08 19:30:29 UTC) #9
hansmuller1
5 years, 11 months ago (2015-01-08 21:31:14 UTC) #10
Message was sent while issue was closed.
I'll post a fix in a moment.

https://codereview.chromium.org/837283002/diff/100001/sky/tools/skydb
File sky/tools/skydb (right):

https://codereview.chromium.org/837283002/diff/100001/sky/tools/skydb#newcode99
sky/tools/skydb:99: def shutdown(self):
On 2015/01/08 19:30:29, eseidel wrote:
> This code looks unused?

It looks the result of a bad merge (mine). You removed this method in
https://codereview.chromium.org/817573003; it should have stayed removed.

Powered by Google App Engine
This is Rietveld 408576698