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

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

Issue 2149833002: DevTools: Add sendOverProtocol() method for protocol debugging (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: callback Created 4 years, 5 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 | « third_party/WebKit/Source/devtools/front_end/sdk/InspectorBackend.js ('k') | no next file » | 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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 /** 69 /**
70 * 70 *
71 * @return {!WebInspector.TargetManager} 71 * @return {!WebInspector.TargetManager}
72 */ 72 */
73 targetManager: function() 73 targetManager: function()
74 { 74 {
75 return this._targetManager; 75 return this._targetManager;
76 }, 76 },
77 77
78 /** 78 /**
79 *
80 * @return {!InspectorBackendClass.Connection}
81 */
82 connection: function()
83 {
84 return this._connection;
85 },
86
87 /**
79 * @param {string} label 88 * @param {string} label
80 * @return {string} 89 * @return {string}
81 */ 90 */
82 decorateLabel: function(label) 91 decorateLabel: function(label)
83 { 92 {
84 return this.isWorker() ? "\u2699 " + label : label; 93 return this.isWorker() ? "\u2699 " + label : label;
85 }, 94 },
86 95
87 /** 96 /**
88 * @override 97 * @override
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
261 { 270 {
262 var target = /** @type {!WebInspector.Target} */ (event.data); 271 var target = /** @type {!WebInspector.Target} */ (event.data);
263 if (target !== this._target) 272 if (target !== this._target)
264 return; 273 return;
265 this.dispose(); 274 this.dispose();
266 WebInspector.targetManager.removeEventListener(WebInspector.TargetManage r.Events.TargetDisposed, this._targetDisposed, this); 275 WebInspector.targetManager.removeEventListener(WebInspector.TargetManage r.Events.TargetDisposed, this._targetDisposed, this);
267 }, 276 },
268 277
269 __proto__: WebInspector.SDKObject.prototype 278 __proto__: WebInspector.SDKObject.prototype
270 } 279 }
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/devtools/front_end/sdk/InspectorBackend.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698