OLD | NEW |
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 {string} name | 10 * @param {string} name |
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
132 this.workerManager = !this.isDedicatedWorker() ? new WebInspector.Worker
Manager(this) : null; | 132 this.workerManager = !this.isDedicatedWorker() ? new WebInspector.Worker
Manager(this) : null; |
133 /** @type {!WebInspector.CPUProfilerModel} */ | 133 /** @type {!WebInspector.CPUProfilerModel} */ |
134 this.cpuProfilerModel = new WebInspector.CPUProfilerModel(this); | 134 this.cpuProfilerModel = new WebInspector.CPUProfilerModel(this); |
135 /** @type {!WebInspector.HeapProfilerModel} */ | 135 /** @type {!WebInspector.HeapProfilerModel} */ |
136 this.heapProfilerModel = new WebInspector.HeapProfilerModel(this); | 136 this.heapProfilerModel = new WebInspector.HeapProfilerModel(this); |
137 /** @type {!WebInspector.LayerTreeModel} */ | 137 /** @type {!WebInspector.LayerTreeModel} */ |
138 this.layerTreeModel = new WebInspector.LayerTreeModel(this); | 138 this.layerTreeModel = new WebInspector.LayerTreeModel(this); |
139 | 139 |
140 this.tracingManager = new WebInspector.TracingManager(this); | 140 this.tracingManager = new WebInspector.TracingManager(this); |
141 | 141 |
142 if (this.isPage() && (Runtime.experiments.isEnabled("serviceWorkersInPag
eFrontend") || Runtime.experiments.isEnabled("serviceWorkersInResources"))) | 142 if (this.isPage()) |
143 this.serviceWorkerManager = new WebInspector.ServiceWorkerManager(th
is); | 143 this.serviceWorkerManager = new WebInspector.ServiceWorkerManager(th
is); |
144 | 144 |
145 if (callback) | 145 if (callback) |
146 callback(this); | 146 callback(this); |
147 }, | 147 }, |
148 | 148 |
149 /** | 149 /** |
150 * @override | 150 * @override |
151 * @param {string} domain | 151 * @param {string} domain |
152 * @param {!Object} dispatcher | 152 * @param {!Object} dispatcher |
(...skipping 452 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
605 /** | 605 /** |
606 * @param {!WebInspector.Target} target | 606 * @param {!WebInspector.Target} target |
607 */ | 607 */ |
608 targetRemoved: function(target) { }, | 608 targetRemoved: function(target) { }, |
609 } | 609 } |
610 | 610 |
611 /** | 611 /** |
612 * @type {!WebInspector.TargetManager} | 612 * @type {!WebInspector.TargetManager} |
613 */ | 613 */ |
614 WebInspector.targetManager = new WebInspector.TargetManager(); | 614 WebInspector.targetManager = new WebInspector.TargetManager(); |
OLD | NEW |