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

Issue 919883002: Allow sky apps to be consumers of mojo services (Closed)

Created:
5 years, 10 months ago by rafaelw
Modified:
5 years, 10 months ago
Reviewers:
zra, abarth-chromium
CC:
Aaron Boodman, abarth-chromium, 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/eseidel/skydart.git@master
Target Ref:
refs/heads/master
Project:
mojo
Visibility:
Public.

Description

Allow sky apps to be consumers of mojo services This patch binds into the sky dart snapshot the mojo libraries and bindings which allow communication over mojo and providing/consuming interfaces. When the first application isolate is started, a new, persistent "mojo handle watcher" isolate is spawned which services communication between all app isolates and mojo services. TBR=abarth BUG= Committed: https://chromium.googlesource.com/external/mojo/+/d166eca9c347edf1a61ddf1e618a73b5dedcf71f

Patch Set 1 #

Total comments: 23

Patch Set 2 : cr comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+187 lines, -37 lines) Patch
M mojo/public/dart/src/application.dart View 1 1 chunk +7 lines, -0 lines 0 comments Download
M sky/engine/bindings2/BUILD.gn View 1 5 chunks +26 lines, -0 lines 0 comments Download
M sky/engine/bindings2/builtin.h View 1 chunk +2 lines, -0 lines 0 comments Download
M sky/engine/bindings2/builtin.cc View 2 chunks +3 lines, -0 lines 0 comments Download
A + sky/engine/bindings2/mojo_natives.h View 2 chunks +5 lines, -7 lines 0 comments Download
A + sky/engine/bindings2/mojo_natives.cc View 2 chunks +8 lines, -5 lines 0 comments Download
M sky/engine/bindings2/snapshot.dart View 1 1 chunk +2 lines, -0 lines 0 comments Download
M sky/engine/core/script/dart_controller.cc View 1 7 chunks +91 lines, -5 lines 0 comments Download
M sky/engine/core/script/dart_loader.h View 1 chunk +5 lines, -3 lines 0 comments Download
M sky/engine/core/script/dart_loader.cc View 3 chunks +15 lines, -5 lines 0 comments Download
M sky/examples/dart.sky View 1 1 chunk +1 line, -0 lines 0 comments Download
A + sky/examples/dart-mojo.sky View 1 2 chunks +16 lines, -12 lines 0 comments Download
M sky/viewer/internals.cc View 1 2 chunks +6 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (1 generated)
rafaelw
https://codereview.chromium.org/919883002/diff/1/mojo/public/dart/src/application.dart File mojo/public/dart/src/application.dart (right): https://codereview.chromium.org/919883002/diff/1/mojo/public/dart/src/application.dart#newcode71 mojo/public/dart/src/application.dart:71: void initializeFromShellProxy(shell_mojom.ShellProxy shellProxy, List<String> args) { Zach: This was ...
5 years, 10 months ago (2015-02-12 00:58:00 UTC) #2
abarth-chromium
This looks great. My only real concern is duplicating the 800 LOC. Maybe we should ...
5 years, 10 months ago (2015-02-12 03:29:33 UTC) #3
zra
Initial comments. https://codereview.chromium.org/919883002/diff/1/mojo/public/dart/src/application.dart File mojo/public/dart/src/application.dart (right): https://codereview.chromium.org/919883002/diff/1/mojo/public/dart/src/application.dart#newcode71 mojo/public/dart/src/application.dart:71: void initializeFromShellProxy(shell_mojom.ShellProxy shellProxy, List<String> args) { Please ...
5 years, 10 months ago (2015-02-12 04:01:45 UTC) #4
rafaelw
Mostly done. Note that I'm leaving abstracting common code between sky and the dart mojo ...
5 years, 10 months ago (2015-02-12 18:54:55 UTC) #5
rafaelw
5 years, 10 months ago (2015-02-12 19:01:14 UTC) #6
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
d166eca9c347edf1a61ddf1e618a73b5dedcf71f (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698