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

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

Issue 2191183003: DevTools: extract model from DOMBreakpointsSidebarPane (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: minor style nits Created 4 years, 4 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 /* 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 {WebInspector.Object} 9 * @extends {WebInspector.Object}
10 */ 10 */
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after
187 187
188 if (networkManager) 188 if (networkManager)
189 new WebInspector.NetworkLog(target, networkManager); 189 new WebInspector.NetworkLog(target, networkManager);
190 190
191 if (target.hasJSCapability()) 191 if (target.hasJSCapability())
192 new WebInspector.DebuggerModel(target); 192 new WebInspector.DebuggerModel(target);
193 193
194 if (target.hasDOMCapability()) { 194 if (target.hasDOMCapability()) {
195 new WebInspector.DOMModel(target); 195 new WebInspector.DOMModel(target);
196 new WebInspector.CSSModel(target); 196 new WebInspector.CSSModel(target);
197 new WebInspector.DOMBreakpointsModel(target);
197 } 198 }
198 199
199 /** @type {?WebInspector.WorkerManager} */ 200 /** @type {?WebInspector.WorkerManager} */
200 target.workerManager = target.hasWorkerCapability() ? new WebInspector.W orkerManager(target) : null; 201 target.workerManager = target.hasWorkerCapability() ? new WebInspector.W orkerManager(target) : null;
201 /** @type {!WebInspector.CPUProfilerModel} */ 202 /** @type {!WebInspector.CPUProfilerModel} */
202 target.cpuProfilerModel = new WebInspector.CPUProfilerModel(target); 203 target.cpuProfilerModel = new WebInspector.CPUProfilerModel(target);
203 /** @type {!WebInspector.HeapProfilerModel} */ 204 /** @type {!WebInspector.HeapProfilerModel} */
204 target.heapProfilerModel = new WebInspector.HeapProfilerModel(target); 205 target.heapProfilerModel = new WebInspector.HeapProfilerModel(target);
205 206
206 target.tracingManager = new WebInspector.TracingManager(target); 207 target.tracingManager = new WebInspector.TracingManager(target);
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
325 /** 326 /**
326 * @param {!WebInspector.Target} target 327 * @param {!WebInspector.Target} target
327 */ 328 */
328 targetRemoved: function(target) { }, 329 targetRemoved: function(target) { },
329 } 330 }
330 331
331 /** 332 /**
332 * @type {!WebInspector.TargetManager} 333 * @type {!WebInspector.TargetManager}
333 */ 334 */
334 WebInspector.targetManager = new WebInspector.TargetManager(); 335 WebInspector.targetManager = new WebInspector.TargetManager();
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698