Chromium Code Reviews| Index: third_party/WebKit/Source/devtools/front_end/main/Connections.js |
| diff --git a/third_party/WebKit/Source/devtools/front_end/main/Connections.js b/third_party/WebKit/Source/devtools/front_end/main/Connections.js |
| index fbab8df5cadac50c903c31f034125fc5f9b89d76..dacd4f58c7f9ee7a31a40c34029a4b8391f4cc90 100644 |
| --- a/third_party/WebKit/Source/devtools/front_end/main/Connections.js |
| +++ b/third_party/WebKit/Source/devtools/front_end/main/Connections.js |
| @@ -141,3 +141,7 @@ WebInspector.StubConnection.prototype = { |
| __proto__: InspectorBackendClass.Connection.prototype |
| } |
| + |
| +WebInspector.sendOverProtocol = function(method, params, cb){ |
|
dgozman
2016/07/13 22:50:02
Let's move this to main.
|
| + WebInspector.targetManager.mainTarget().connection().sendUserMessage(domain, method, params, cb); |
| +} |