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

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

Issue 1301813002: DevTools: propagate experiments that are enabled by default into default. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 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 | Annotate | Revision Log
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 {string} name 10 * @param {string} name
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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();
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698