| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 define("mojo/public/js/connection", [ | 5 define("mojo/public/js/connection", [ |
| 6 "mojo/public/js/connector", | 6 "mojo/public/js/connector", |
| 7 "mojo/public/js/core", | 7 "mojo/public/js/core", |
| 8 "mojo/public/js/router", | 8 "mojo/public/js/router", |
| 9 ], function(connector, core, router) { | 9 ], function(connector, core, router) { |
| 10 | 10 |
| 11 // TODO(yzshen): This module should only be used by the JS bindings internally |
| 12 // and it will be removed soon. |
| 13 |
| 11 var Router = router.Router; | 14 var Router = router.Router; |
| 12 var TestConnector = connector.TestConnector; | 15 var TestConnector = connector.TestConnector; |
| 13 var TestRouter = router.TestRouter; | 16 var TestRouter = router.TestRouter; |
| 14 | 17 |
| 15 var kProxyProperties = Symbol("proxyProperties"); | 18 var kProxyProperties = Symbol("proxyProperties"); |
| 16 var kStubProperties = Symbol("stubProperties"); | 19 var kStubProperties = Symbol("stubProperties"); |
| 17 | 20 |
| 18 // Public proxy class properties that are managed at runtime by the JS | 21 // Public proxy class properties that are managed at runtime by the JS |
| 19 // bindings. See ProxyBindings below. | 22 // bindings. See ProxyBindings below. |
| 20 function ProxyProperties(receiver) { | 23 function ProxyProperties(receiver) { |
| (...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 285 exports.TestConnection = TestConnection; | 288 exports.TestConnection = TestConnection; |
| 286 | 289 |
| 287 exports.bindProxy = bindProxy; | 290 exports.bindProxy = bindProxy; |
| 288 exports.getProxy = getProxy; | 291 exports.getProxy = getProxy; |
| 289 exports.bindImpl = bindImpl; | 292 exports.bindImpl = bindImpl; |
| 290 exports.bindHandleToProxy = bindHandleToProxy; | 293 exports.bindHandleToProxy = bindHandleToProxy; |
| 291 exports.bindHandleToStub = bindHandleToStub; | 294 exports.bindHandleToStub = bindHandleToStub; |
| 292 exports.bindStubDerivedImpl = bindStubDerivedImpl; | 295 exports.bindStubDerivedImpl = bindStubDerivedImpl; |
| 293 return exports; | 296 return exports; |
| 294 }); | 297 }); |
| OLD | NEW |