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

Side by Side Diff: sky/framework/inspector/inspector.sky

Issue 687673004: Move framework/inspector/server to services/inspector (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « sky/framework/inspector/BUILD.gn ('k') | sky/framework/inspector/server/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <link rel="import" href="/mojo/public/html/connection.html" as="connection" /> 1 <link rel="import" href="/mojo/public/html/connection.html" as="connection" />
2 <link rel="import" href="/mojo/public/html/core.html" as="core" /> 2 <link rel="import" href="/mojo/public/html/core.html" as="core" />
3 <link rel="import" href="/mojo/public/html/support.html" as="support" /> 3 <link rel="import" href="/mojo/public/html/support.html" as="support" />
4 <link rel="import" href="/sky/framework/inspector/server/inspector.mojom.html" a s="inspector" /> 4 <link rel="import" href="/sky/services/inspector/inspector.mojom.html" as="inspe ctor" />
5 <link rel="import" href="console-agent.sky" as="ConsoleAgent" /> 5 <link rel="import" href="console-agent.sky" as="ConsoleAgent" />
6 <link rel="import" href="dom-agent.sky" as="DOMAgent" /> 6 <link rel="import" href="dom-agent.sky" as="DOMAgent" />
7 <link rel="import" href="page-agent.sky" as="PageAgent" /> 7 <link rel="import" href="page-agent.sky" as="PageAgent" />
8 <link rel="import" href="worker-agent.sky" as="WorkerAgent" /> 8 <link rel="import" href="worker-agent.sky" as="WorkerAgent" />
9 <script> 9 <script>
10 function InspectorBackend(frontend) { 10 function InspectorBackend(frontend) {
11 this.frontend = frontend; 11 this.frontend = frontend;
12 this.agents = { 12 this.agents = {
13 Console: new ConsoleAgent(), 13 Console: new ConsoleAgent(),
14 DOM: new DOMAgent(this), 14 DOM: new DOMAgent(this),
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 var frontendHandle = internals.connectToService( 74 var frontendHandle = internals.connectToService(
75 "mojo:sky_inspector_server", inspector.InspectorFrontend.name); 75 "mojo:sky_inspector_server", inspector.InspectorFrontend.name);
76 window.frontendConnection = new connection.Connection( 76 window.frontendConnection = new connection.Connection(
77 frontendHandle, 77 frontendHandle,
78 InspectorBackend, 78 InspectorBackend,
79 inspector.InspectorFrontend.proxyClass); 79 inspector.InspectorFrontend.proxyClass);
80 80
81 window.frontend = frontendConnection.remote; 81 window.frontend = frontendConnection.remote;
82 frontend.listen(9898); 82 frontend.listen(9898);
83 </script> 83 </script>
OLDNEW
« no previous file with comments | « sky/framework/inspector/BUILD.gn ('k') | sky/framework/inspector/server/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698