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

Side by Side Diff: third_party/WebKit/Source/devtools/front_end/sdk/InspectorBackendHostedMode.js

Issue 2035653005: DevTools: split protocol.json into files per domain. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 months 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
OLDNEW
1 // Copyright (c) 2015 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2015 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 // This should be executed immediately after InspectorBackend and InspectorBacke ndCommands 5 // This should be executed immediately after InspectorBackend and InspectorBacke ndCommands
6 6
7 WebInspector.InspectorBackendHostedMode = {}; 7 WebInspector.InspectorBackendHostedMode = {};
8 8
9 /** 9 /**
10 * @param {string} jsonUrl 10 * @param {string} jsonUrl
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 for (var k = 0; event.parameters && k < event.parameters.length; ++k ) { 115 for (var k = 0; event.parameters && k < event.parameters.length; ++k ) {
116 var parameter = event.parameters[k]; 116 var parameter = event.parameters[k];
117 paramsText.push("\"" + parameter.name + "\""); 117 paramsText.push("\"" + parameter.name + "\"");
118 } 118 }
119 result.push("InspectorBackend.registerEvent(\"" + domain.domain + ". " + event.name + "\", [" + paramsText.join(", ") + "]);"); 119 result.push("InspectorBackend.registerEvent(\"" + domain.domain + ". " + event.name + "\", [" + paramsText.join(", ") + "]);");
120 } 120 }
121 } 121 }
122 return result.join("\n"); 122 return result.join("\n");
123 } 123 }
124 124
125 WebInspector.InspectorBackendHostedMode.loadFromJSONIfNeeded("../protocol.json") ; 125 WebInspector.InspectorBackendHostedMode.loadFromJSONIfNeeded("../inspector.json" );
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/devtools/devtools.gyp ('k') | third_party/WebKit/Source/devtools/protocol.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698