|
|
This CL does the following:
* When the main DOM isolate is created the VM service isolate is also initialized.
* Whenever isolates come up or go down they register with the VM service.
* Provides a mechanism for C++ code to query the VM service and have a callback called with the reply from the service.
* Adds a pane to Chrome DevTools which renders the Observatory which is hosted on a remote server.
* Adds messages to the devtools protocol for the observatory to communicate with.
Notes:
* There is one VM service isolate per renderer process.
* Whether or not the service is initialized can be controlled by the environment variable DARTIUM_VMSERVICE.
* Instead of an HTTP server the VM service running in a Dartium renderer process has a Dart_Port for submitting requests. The VM service responds to requests by posting to a native port.
* The VM service shares almost all Dart source code with the standalone VM service.
R=jacobr@google.com
Committed: https://src.chromium.org/viewvc/multivm/branches/1650/blink?view=rev&revision=1624
Total comments: 35
Total comments: 13
Total comments: 20
Total comments: 7
Total comments: 3
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+974 lines, -56 lines) |
Patch |
 |
M |
Source/bindings/dart/DartApplicationLoader.h
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/bindings/dart/DartController.h
|
View
|
1
2
3
4
|
2 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/bindings/dart/DartController.cpp
|
View
|
1
2
3
4
5
6
7
|
5 chunks |
+27 lines, -1 line |
1 comment
|
Download
|
 |
A |
Source/bindings/dart/DartService.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+68 lines, -0 lines |
1 comment
|
Download
|
 |
A |
Source/bindings/dart/DartService.cpp
|
View
|
1
2
3
4
5
6
|
1 chunk |
+498 lines, -0 lines |
0 comments
|
Download
|
 |
A |
Source/bindings/dart/DartServiceInternal.h
|
View
|
|
1 chunk |
+21 lines, -0 lines |
0 comments
|
Download
|
 |
A |
Source/bindings/dart/DartServiceInternal.cpp
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+87 lines, -0 lines |
1 comment
|
Download
|
 |
M |
Source/bindings/dart/gyp/dartium.gyp
|
View
|
|
2 chunks |
+32 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/bindings/dart/gyp/overrides.gypi
|
View
|
|
2 chunks |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
A |
Source/bindings/dart/gyp/resources_sources.gypi
|
View
|
1
2
3
4
5
6
|
1 chunk |
+20 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/core.gypi
|
View
|
1
2
3
4
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/inspector/InspectorController.h
|
View
|
1
2
3
4
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/inspector/InspectorController.cpp
|
View
|
1
2
3
4
|
2 chunks |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
A + |
Source/core/inspector/InspectorDartAgent.h
|
View
|
1
2
3
4
5
6
7
|
3 chunks |
+13 lines, -15 lines |
0 comments
|
Download
|
 |
A |
Source/core/inspector/InspectorDartAgent.cpp
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+101 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/devtools/devtools.gyp
|
View
|
1
2
3
4
5
6
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
A + |
Source/devtools/front_end/DartPanel.js
|
View
|
1
2
3
4
5
6
7
|
4 chunks |
+8 lines, -8 lines |
0 comments
|
Download
|
 |
A + |
Source/devtools/front_end/DartView.js
|
View
|
1
2
3
4
5
6
7
|
3 chunks |
+48 lines, -32 lines |
0 comments
|
Download
|
 |
M |
Source/devtools/front_end/inspector.html
|
View
|
1
2
3
4
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/devtools/front_end/inspector.js
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/devtools/protocol.json
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+22 lines, -0 lines |
0 comments
|
Download
|
Total messages: 13 (0 generated)
|