| OLD | NEW |
| 1 <link rel="import" href="/mojo/public/sky/connection.sky" as="connection" /> | 1 <import src="/mojo/public/sky/connection.sky" as="connection" /> |
| 2 <link rel="import" href="/mojo/public/sky/core.sky" as="core" /> | 2 <import src="/mojo/public/sky/core.sky" as="core" /> |
| 3 <link rel="import" href="/mojo/public/sky/support.sky" as="support" /> | 3 <import src="/mojo/public/sky/support.sky" as="support" /> |
| 4 <link rel="import" href="/sky/services/inspector/inspector.mojom.sky" as="inspec
tor" /> | 4 <import src="/sky/services/inspector/inspector.mojom.sky" as="inspector" /> |
| 5 <link rel="import" href="console-agent.sky" as="ConsoleAgent" /> | 5 <import src="console-agent.sky" as="ConsoleAgent" /> |
| 6 <link rel="import" href="dom-agent.sky" as="DOMAgent" /> | 6 <import src="dom-agent.sky" as="DOMAgent" /> |
| 7 <link rel="import" href="page-agent.sky" as="PageAgent" /> | 7 <import src="page-agent.sky" as="PageAgent" /> |
| 8 <link rel="import" href="worker-agent.sky" as="WorkerAgent" /> | 8 <import src="worker-agent.sky" as="WorkerAgent" /> |
| 9 <link rel="import" href="runtime-agent.sky" as="RuntimeAgent" /> | 9 <import src="runtime-agent.sky" as="RuntimeAgent" /> |
| 10 <link rel="import" href="indexeddb-agent.sky" as="IndexedDBAgent" /> | 10 <import src="indexeddb-agent.sky" as="IndexedDBAgent" /> |
| 11 <link rel="import" href="css-agent.sky" as="CSSAgent" /> | 11 <import src="css-agent.sky" as="CSSAgent" /> |
| 12 <script> | 12 <script> |
| 13 function InspectorBackend(frontend) { | 13 function InspectorBackend(frontend) { |
| 14 this.frontend = frontend; | 14 this.frontend = frontend; |
| 15 var domAgent = new DOMAgent(this); | 15 var domAgent = new DOMAgent(this); |
| 16 this.agents = { | 16 this.agents = { |
| 17 Console: new ConsoleAgent(), | 17 Console: new ConsoleAgent(), |
| 18 DOM: domAgent, | 18 DOM: domAgent, |
| 19 Page: new PageAgent(), | 19 Page: new PageAgent(), |
| 20 Worker: new WorkerAgent(), | 20 Worker: new WorkerAgent(), |
| 21 Runtime: new RuntimeAgent(this), | 21 Runtime: new RuntimeAgent(this), |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 88 var frontendHandle = internals.connectToService( | 88 var frontendHandle = internals.connectToService( |
| 89 "mojo:sky_inspector_server", inspector.InspectorFrontend.name); | 89 "mojo:sky_inspector_server", inspector.InspectorFrontend.name); |
| 90 window.frontendConnection = new connection.Connection( | 90 window.frontendConnection = new connection.Connection( |
| 91 frontendHandle, | 91 frontendHandle, |
| 92 InspectorBackend, | 92 InspectorBackend, |
| 93 inspector.InspectorFrontend.proxyClass); | 93 inspector.InspectorFrontend.proxyClass); |
| 94 | 94 |
| 95 window.frontend = frontendConnection.remote; | 95 window.frontend = frontendConnection.remote; |
| 96 frontend.listen(9898); | 96 frontend.listen(9898); |
| 97 </script> | 97 </script> |
| OLD | NEW |