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

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

Issue 1159163005: Add a minimal Security panel to DevTools (behind a hidden experiment). (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Address dgozman's comments. Created 5 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 /* 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 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 { 105 {
106 if (this._connection.isClosed()) { 106 if (this._connection.isClosed()) {
107 callback(null); 107 callback(null);
108 return; 108 return;
109 } 109 }
110 110
111 /** @type {!WebInspector.ConsoleModel} */ 111 /** @type {!WebInspector.ConsoleModel} */
112 this.consoleModel = new WebInspector.ConsoleModel(this); 112 this.consoleModel = new WebInspector.ConsoleModel(this);
113 /** @type {!WebInspector.NetworkManager} */ 113 /** @type {!WebInspector.NetworkManager} */
114 this.networkManager = new WebInspector.NetworkManager(this); 114 this.networkManager = new WebInspector.NetworkManager(this);
115 /** @type {!WebInspector.SecurityManager} */
116 this.securityManager = new WebInspector.SecurityManager(this);
lgarron 2015/06/12 19:56:02 If I move SecurityManager.js to security/ instead
dgozman 2015/06/15 16:58:41 Just don't create it here. See WebInspector.Animat
115 /** @type {!WebInspector.ResourceTreeModel} */ 117 /** @type {!WebInspector.ResourceTreeModel} */
116 this.resourceTreeModel = new WebInspector.ResourceTreeModel(this); 118 this.resourceTreeModel = new WebInspector.ResourceTreeModel(this);
117 /** @type {!WebInspector.NetworkLog} */ 119 /** @type {!WebInspector.NetworkLog} */
118 this.networkLog = new WebInspector.NetworkLog(this); 120 this.networkLog = new WebInspector.NetworkLog(this);
119 121
120 if (this.hasJSContext()) 122 if (this.hasJSContext())
121 new WebInspector.DebuggerModel(this); 123 new WebInspector.DebuggerModel(this);
122 124
123 /** @type {!WebInspector.RuntimeModel} */ 125 /** @type {!WebInspector.RuntimeModel} */
124 this.runtimeModel = new WebInspector.RuntimeModel(this); 126 this.runtimeModel = new WebInspector.RuntimeModel(this);
(...skipping 480 matching lines...) Expand 10 before | Expand all | Expand 10 after
605 /** 607 /**
606 * @param {!WebInspector.Target} target 608 * @param {!WebInspector.Target} target
607 */ 609 */
608 targetRemoved: function(target) { }, 610 targetRemoved: function(target) { },
609 } 611 }
610 612
611 /** 613 /**
612 * @type {!WebInspector.TargetManager} 614 * @type {!WebInspector.TargetManager}
613 */ 615 */
614 WebInspector.targetManager = new WebInspector.TargetManager(); 616 WebInspector.targetManager = new WebInspector.TargetManager();
OLDNEW
« no previous file with comments | « Source/devtools/front_end/sdk/SecurityManager.js ('k') | Source/devtools/front_end/sdk/module.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698