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

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

Issue 1814743002: DevTools: fix closure compilation of WI.TargetManager (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/devtools/front_end/sdk/TargetManager.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2014 The Chromium Authors. All rights reserved. 2 * Copyright 2014 The Chromium Authors. All rights reserved.
3 * Use of this source code is governed by a BSD-style license that can be 3 * Use of this source code is governed by a BSD-style license that can be
4 * found in the LICENSE file. 4 * found in the LICENSE file.
5 */ 5 */
6 6
7 /** 7 /**
8 * @constructor 8 * @constructor
9 * @extends {Protocol.Agents} 9 * @extends {Protocol.Agents}
10 * @param {!WebInspector.TargetManager} targetManager 10 * @param {!WebInspector.TargetManager} targetManager
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
168 168
169 /** 169 /**
170 * @param {!Function} modelClass 170 * @param {!Function} modelClass
171 * @return {?WebInspector.SDKModel} 171 * @return {?WebInspector.SDKModel}
172 */ 172 */
173 model: function(modelClass) 173 model: function(modelClass)
174 { 174 {
175 return this._modelByConstructor.get(modelClass) || null; 175 return this._modelByConstructor.get(modelClass) || null;
176 }, 176 },
177 177
178 /**
179 * @return {!Array<!WebInspector.SDKModel>}
180 */
181 models: function()
182 {
183 return this._modelByConstructor.valuesArray();
184 },
185
178 __proto__: Protocol.Agents.prototype 186 __proto__: Protocol.Agents.prototype
179 } 187 }
180 188
181 /** 189 /**
182 * @constructor 190 * @constructor
183 * @extends {WebInspector.Object} 191 * @extends {WebInspector.Object}
184 * @param {!WebInspector.Target} target 192 * @param {!WebInspector.Target} target
185 */ 193 */
186 WebInspector.SDKObject = function(target) 194 WebInspector.SDKObject = function(target)
187 { 195 {
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
225 /** 233 /**
226 * @return {!Promise} 234 * @return {!Promise}
227 */ 235 */
228 resumeModel: function() 236 resumeModel: function()
229 { 237 {
230 return Promise.resolve(); 238 return Promise.resolve();
231 }, 239 },
232 240
233 __proto__: WebInspector.SDKObject.prototype 241 __proto__: WebInspector.SDKObject.prototype
234 } 242 }
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/devtools/front_end/sdk/TargetManager.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698